20241217@163939.6359 73oc7qnc5hfjc6dpj5mqvg9p9p INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241217@163939.6358 73oc7qnc5hfjc6dpj5mqvg9p9p Query : use flama_phc
20241217@163939.6363 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241217@163939.6390 73oc7qnc5hfjc6dpj5mqvg9p9p 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.681.00.01'
20241217@163939.6567 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@163939.6585 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241217@163939.6613 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@163939.6629 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241217@163939.6638 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400696200a'
20241217@163939.6653 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@163939.6668 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20241217@163939.6677 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@163939.6693 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20241217@163939.6706 73oc7qnc5hfjc6dpj5mqvg9p9p Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761a504986761a94ba3',?,?,'20241217',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20241217@163939.7637 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@163939.7663 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@163939.7679 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241217@163939.7691 73oc7qnc5hfjc6dpj5mqvg9p9p Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6761a019126761a94bbb','aut6761a434196761a94b80',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 = 'aut6761a434196761a94b80'
20241217@163939.7841 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@163939.7860 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241217@163939.7877 73oc7qnc5hfjc6dpj5mqvg9p9p 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 'aut6761a019126761a94bbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1030, 1030*.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 ,18.82,18.82*200.48,18.82,18.82*200.48 ,0,0,'un ','' ,bo.marcada,1 ,18.82*1030,18.82*1030*200.48 ,22.729000,22.729000*200.48 ,22.729000,22.729000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,18.82,18.82*200.48,18.82*1030,18.82*1030*200.48,'cps24060663583,586000002 ',148.26,148.26*1030,148.26,148.26*1030,?,?,?,4 from bo bo where bo.bostamp = 'aut6761a434196761a94b80'
20241217@163951.6100 73oc7qnc5hfjc6dpj5mqvg9p9p Query : use flama_phc
20241217@163951.1194 73oc7qnc5hfjc6dpj5mqvg9p9p Query : declare @bostamp varchar(25) = 'aut6761a434196761a94b80' ,@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 
20241217@164003.5297 73oc7qnc5hfjc6dpj5mqvg9p9p Query : use flama_phc
20241217@164003.5348 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select 1 valor from bo where bo.bostamp = 'aut6761a434196761a94b80'
20241217@164003.6076 73oc7qnc5hfjc6dpj5mqvg9p9p 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) = 'aut6761a434196761a94b80' 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 
20241217@164006.2340 73oc7qnc5hfjc6dpj5mqvg9p9p Query : use flama_phc
20241217@164006.2380 73oc7qnc5hfjc6dpj5mqvg9p9p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241217@164006.2930 73oc7qnc5hfjc6dpj5mqvg9p9p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4061';
20241217@164006.3420 73oc7qnc5hfjc6dpj5mqvg9p9p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4061';

20241217@175620.4526 t4qj7fr09buv96qgbnhaht4bvn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4062';
20241217@175620.4592 t4qj7fr09buv96qgbnhaht4bvn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4062';
20241217@175620.4633 t4qj7fr09buv96qgbnhaht4bvn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4062';
20241217@175620.4687 t4qj7fr09buv96qgbnhaht4bvn Query : use flama_phc
20241217@175620.4690 t4qj7fr09buv96qgbnhaht4bvn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@175620.4762 t4qj7fr09buv96qgbnhaht4bvn Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1461.00.2'
20241217@175620.4905 t4qj7fr09buv96qgbnhaht4bvn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408686 and bi.ref ='324.1461.00.2' and bi.lordem =1
20241217@175620.5282 t4qj7fr09buv96qgbnhaht4bvn Query : use flama_phc
20241217@175620.5287 t4qj7fr09buv96qgbnhaht4bvn Query : select top 1 1 valor from ts where ts.ndos = 61
20241217@175620.5333 t4qj7fr09buv96qgbnhaht4bvn Query : use flama_phc
20241217@175620.5337 t4qj7fr09buv96qgbnhaht4bvn 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')
20241217@175620.5367 t4qj7fr09buv96qgbnhaht4bvn 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
20241217@175620.5414 t4qj7fr09buv96qgbnhaht4bvn Query : use flama_phc
20241217@175620.5417 t4qj7fr09buv96qgbnhaht4bvn Query : select top 1 ~inactivo valor from fl where no = '1626' and estab = 26 order by inactivo desc
20241217@175620.5531 t4qj7fr09buv96qgbnhaht4bvn Query : use flama_phc
20241217@175620.5534 t4qj7fr09buv96qgbnhaht4bvn Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20241217@175620.5737 t4qj7fr09buv96qgbnhaht4bvn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4062';
20241217@175620.5874 t4qj7fr09buv96qgbnhaht4bvn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4062';
20241217@180010.4314 0atl94g3pdppbptf4n1m294p2a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241217@180010.4389 0atl94g3pdppbptf4n1m294p2a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241217@180010.4481 0atl94g3pdppbptf4n1m294p2a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4063';
20241217@180010.4563 0atl94g3pdppbptf4n1m294p2a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4063';
20241217@180010.4639 0atl94g3pdppbptf4n1m294p2a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4063';
20241217@180010.4690 0atl94g3pdppbptf4n1m294p2a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4063';
20241217@180010.4821 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.4826 0atl94g3pdppbptf4n1m294p2a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@180010.4898 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.4904 0atl94g3pdppbptf4n1m294p2a Query : select no, estab,szadrsdesc from szadrs where u_coddest=2227
20241217@180010.5042 0atl94g3pdppbptf4n1m294p2a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241217@180010.5219 0atl94g3pdppbptf4n1m294p2a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408641 and bi.ref ='324.2222.00.1' and bi.lordem =1
20241217@180010.5577 0atl94g3pdppbptf4n1m294p2a 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'
20241217@180010.5723 0atl94g3pdppbptf4n1m294p2a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408641 and bi.ref ='304.4320.00.1' and bi.lordem =2
20241217@180010.6186 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.6195 0atl94g3pdppbptf4n1m294p2a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241217@180010.6283 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.6289 0atl94g3pdppbptf4n1m294p2a Query : select top 1 1 valor from td where td.ndoc = 39
20241217@180010.6329 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.6333 0atl94g3pdppbptf4n1m294p2a 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')
20241217@180010.6373 0atl94g3pdppbptf4n1m294p2a 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
20241217@180010.6429 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.6434 0atl94g3pdppbptf4n1m294p2a Query : select top 1 ~inactivo valor from cl where no = '101428' and estab = 0 order by inactivo desc
20241217@180010.6566 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.6571 0atl94g3pdppbptf4n1m294p2a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241217@180010.6610 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.6615 0atl94g3pdppbptf4n1m294p2a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241217@180010.6667 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.6672 0atl94g3pdppbptf4n1m294p2a Query : select szadrsstamp valor from szadrs where szadrsdesc='el corte inglês - alcochete'
20241217@180010.6731 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.6735 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from td where ndoc = 39
20241217@180010.6757 0atl94g3pdppbptf4n1m294p2a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241217@180010.6782 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.6804 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180010.6829 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.6853 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180010.6890 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.6911 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180010.6927 0atl94g3pdppbptf4n1m294p2a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180010.7025 0atl94g3pdppbptf4n1m294p2a Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180010.7074 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.7095 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180010.7115 0atl94g3pdppbptf4n1m294p2a Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6761b889976761bc2aa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241217@180010.7343 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.7365 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180010.7418 0atl94g3pdppbptf4n1m294p2a Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241217@180010.7433 0atl94g3pdppbptf4n1m294p2a Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241217@180010.7448 0atl94g3pdppbptf4n1m294p2a Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241217@180010.7463 0atl94g3pdppbptf4n1m294p2a Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241217@180010.7477 0atl94g3pdppbptf4n1m294p2a Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241217@180010.7492 0atl94g3pdppbptf4n1m294p2a Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241217@180010.7509 0atl94g3pdppbptf4n1m294p2a Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6761b889976761bc2aa9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241217@180010.7787 0atl94g3pdppbptf4n1m294p2a Query : select top 1 fno valor from wsftdata order by fno desc
20241217@180010.7838 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.7862 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180010.7893 0atl94g3pdppbptf4n1m294p2a Query : select 'normal' from dummy
20241217@180010.7930 0atl94g3pdppbptf4n1m294p2a Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6761b889976761bc2aa9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2526,101428,0,'2024-12-17',39,'euro',0,0,2024 ,?,?)
20241217@180010.8325 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.8335 0atl94g3pdppbptf4n1m294p2a Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241217@180010.8366 0atl94g3pdppbptf4n1m294p2a 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.2222.00.1'
20241217@180010.8615 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.8641 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180010.8681 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.8701 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180010.8715 0atl94g3pdppbptf4n1m294p2a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180010.8731 0atl94g3pdppbptf4n1m294p2a Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301280100a'
20241217@180010.8757 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.8778 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180010.8794 0atl94g3pdppbptf4n1m294p2a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b961596761bc2ad5','aut6761b889976761bc2aa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180010.8830 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180010.8861 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180010.8905 0atl94g3pdppbptf4n1m294p2a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b961596761bc2ad5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b889976761bc2aa9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241217@180010.9514 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180010.9558 0atl94g3pdppbptf4n1m294p2a Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241217@180010.9760 0atl94g3pdppbptf4n1m294p2a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241217@180011.1100 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.3600 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.7000 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.1060 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.1170 0atl94g3pdppbptf4n1m294p2a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180011.1340 0atl94g3pdppbptf4n1m294p2a Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241217@180011.2020 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.2320 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.2490 0atl94g3pdppbptf4n1m294p2a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b404306761bc2b04','aut6761b889976761bc2aa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180011.2540 0atl94g3pdppbptf4n1m294p2a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.2880 0atl94g3pdppbptf4n1m294p2a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.3290 0atl94g3pdppbptf4n1m294p2a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b404306761bc2b04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b889976761bc2aa9' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241217@180011.7460 0atl94g3pdppbptf4n1m294p2a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6761b889976761bc2aa9','2408641','wait',39,'adm09112754980.682000002')
20241217@180011.8700 0atl94g3pdppbptf4n1m294p2a Query : use flama_phc
20241217@180011.9220 0atl94g3pdppbptf4n1m294p2a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241217@180011.1040 0atl94g3pdppbptf4n1m294p2a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4063';
20241217@180011.1559 0atl94g3pdppbptf4n1m294p2a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4063';
20241217@180011.1654 0atl94g3pdppbptf4n1m294p2a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4063';
20241217@180011.1718 0atl94g3pdppbptf4n1m294p2a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4063';
20241217@180011.2374 qo825adhl132hu1o0q7fjqak5d Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241217@180011.2414 qo825adhl132hu1o0q7fjqak5d Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241217@180011.2522 qo825adhl132hu1o0q7fjqak5d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4064';
20241217@180011.2616 qo825adhl132hu1o0q7fjqak5d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4064';
20241217@180011.2690 qo825adhl132hu1o0q7fjqak5d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4064';
20241217@180011.2741 qo825adhl132hu1o0q7fjqak5d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4064';
20241217@180011.2841 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.2845 qo825adhl132hu1o0q7fjqak5d Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@180011.2927 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.2932 qo825adhl132hu1o0q7fjqak5d Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241217@180011.3037 qo825adhl132hu1o0q7fjqak5d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241217@180011.3188 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408689 and bi.ref ='324.966.00.01' and bi.lordem =1
20241217@180011.3697 qo825adhl132hu1o0q7fjqak5d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241217@180011.3737 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408689 and bi.ref ='324.966.00.01' and bi.lordem =1
20241217@180011.3756 qo825adhl132hu1o0q7fjqak5d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241217@180011.3777 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408689 and bi.ref ='324.966.00.01' and bi.lordem =1
20241217@180011.3795 qo825adhl132hu1o0q7fjqak5d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241217@180011.3847 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408689 and bi.ref ='324.966.00.01' and bi.lordem =1
20241217@180011.3867 qo825adhl132hu1o0q7fjqak5d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20241217@180011.4070 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408689 and bi.ref ='324.946.00.01' and bi.lordem =2
20241217@180011.4482 qo825adhl132hu1o0q7fjqak5d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20241217@180011.4505 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408689 and bi.ref ='324.946.00.01' and bi.lordem =2
20241217@180011.4523 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.4527 qo825adhl132hu1o0q7fjqak5d Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241217@180011.4563 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.4569 qo825adhl132hu1o0q7fjqak5d Query : select top 1 1 valor from td where td.ndoc = 39
20241217@180011.4604 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.4607 qo825adhl132hu1o0q7fjqak5d 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')
20241217@180011.4657 qo825adhl132hu1o0q7fjqak5d 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
20241217@180011.4695 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.4700 qo825adhl132hu1o0q7fjqak5d Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241217@180011.4743 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.4747 qo825adhl132hu1o0q7fjqak5d Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241217@180011.4781 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.4785 qo825adhl132hu1o0q7fjqak5d Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241217@180011.4827 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.4832 qo825adhl132hu1o0q7fjqak5d Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241217@180011.4901 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.4905 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from td where ndoc = 39
20241217@180011.4926 qo825adhl132hu1o0q7fjqak5d Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241217@180011.4944 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.4964 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180011.4988 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.5006 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180011.5038 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.5056 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180011.5070 qo825adhl132hu1o0q7fjqak5d Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180011.5133 qo825adhl132hu1o0q7fjqak5d Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180011.5151 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.5171 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180011.5191 qo825adhl132hu1o0q7fjqak5d Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6761b717606761bc2b7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241217@180011.5443 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.5480 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180011.5521 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241217@180011.5542 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241217@180011.5556 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241217@180011.5571 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241217@180011.5587 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241217@180011.5604 qo825adhl132hu1o0q7fjqak5d Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241217@180011.5618 qo825adhl132hu1o0q7fjqak5d Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6761b717606761bc2b7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241217@180011.5883 qo825adhl132hu1o0q7fjqak5d Query : select top 1 fno valor from wsftdata order by fno desc
20241217@180011.5933 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.5958 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180011.6006 qo825adhl132hu1o0q7fjqak5d Query : select 'normal' from dummy
20241217@180011.6024 qo825adhl132hu1o0q7fjqak5d Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6761b717606761bc2b7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2527,100810,0,'2024-12-17',39,'euro',0,0,2024 ,?,?)
20241217@180011.6429 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.6433 qo825adhl132hu1o0q7fjqak5d Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241217@180011.6463 qo825adhl132hu1o0q7fjqak5d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241217@180011.6661 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.6680 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.6710 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.6728 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.6737 qo825adhl132hu1o0q7fjqak5d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180011.6751 qo825adhl132hu1o0q7fjqak5d Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241217@180011.6766 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.6784 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.6805 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b257016761bc2ba5','aut6761b717606761bc2b7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180011.6812 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.6856 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.6888 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b257016761bc2ba5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut6761b717606761bc2b7b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241217@180011.7206 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.7211 qo825adhl132hu1o0q7fjqak5d Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241217@180011.7269 qo825adhl132hu1o0q7fjqak5d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241217@180011.7315 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.7336 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.7363 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.7379 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.7389 qo825adhl132hu1o0q7fjqak5d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180011.7405 qo825adhl132hu1o0q7fjqak5d Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241217@180011.7420 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.7436 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.7451 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b056946761bc2bb5','aut6761b717606761bc2b7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180011.7455 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.7474 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.7508 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b056946761bc2bb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6761b717606761bc2b7b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241217@180011.7811 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.7814 qo825adhl132hu1o0q7fjqak5d Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241217@180011.7841 qo825adhl132hu1o0q7fjqak5d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241217@180011.7859 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.7883 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.7920 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.7957 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.7968 qo825adhl132hu1o0q7fjqak5d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180011.7984 qo825adhl132hu1o0q7fjqak5d Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241217@180011.8004 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.8024 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.8041 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b611496761bc2bc3','aut6761b717606761bc2b7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180011.8049 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.8068 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.8107 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b611496761bc2bc3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6761b717606761bc2b7b' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241217@180011.8423 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.8427 qo825adhl132hu1o0q7fjqak5d Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241217@180011.8459 qo825adhl132hu1o0q7fjqak5d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241217@180011.8482 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.8504 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.8542 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.8579 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.8589 qo825adhl132hu1o0q7fjqak5d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180011.8603 qo825adhl132hu1o0q7fjqak5d Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241217@180011.8619 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.8638 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.8654 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b071226761bc2bd2','aut6761b717606761bc2b7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180011.8659 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.8675 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.8707 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b071226761bc2bd2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6761b717606761bc2b7b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241217@180011.8988 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.8992 qo825adhl132hu1o0q7fjqak5d Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20241217@180011.9019 qo825adhl132hu1o0q7fjqak5d 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.946.00.01'
20241217@180011.9205 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.9224 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.9251 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.9267 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.9280 qo825adhl132hu1o0q7fjqak5d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180011.9295 qo825adhl132hu1o0q7fjqak5d Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20241217@180011.9351 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.9380 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.9396 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b860436761bc2be4','aut6761b717606761bc2b7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180011.9403 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.9425 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.9464 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b860436761bc2be4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut6761b717606761bc2b7b' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241217@180011.9825 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180011.9829 qo825adhl132hu1o0q7fjqak5d Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20241217@180011.9853 qo825adhl132hu1o0q7fjqak5d 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.946.00.01'
20241217@180011.9871 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.9890 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180011.9927 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180011.9948 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180011.9959 qo825adhl132hu1o0q7fjqak5d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180011.9975 qo825adhl132hu1o0q7fjqak5d Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20241217@180011.9993 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180012.1100 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180012.2400 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b644556761bc2bf3','aut6761b717606761bc2b7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180012.2900 qo825adhl132hu1o0q7fjqak5d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180012.4700 qo825adhl132hu1o0q7fjqak5d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180012.8300 qo825adhl132hu1o0q7fjqak5d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b644556761bc2bf3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6761b717606761bc2b7b' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241217@180012.3490 qo825adhl132hu1o0q7fjqak5d Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6761b717606761bc2b7b','2408689','wait',39,'adm09112754980.682000002')
20241217@180012.4630 qo825adhl132hu1o0q7fjqak5d Query : use flama_phc
20241217@180012.4680 qo825adhl132hu1o0q7fjqak5d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241217@180012.5130 qo825adhl132hu1o0q7fjqak5d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4064';
20241217@180012.5880 qo825adhl132hu1o0q7fjqak5d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4064';
20241217@180012.6620 qo825adhl132hu1o0q7fjqak5d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4064';
20241217@180012.7140 qo825adhl132hu1o0q7fjqak5d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4064';
20241217@180012.1441 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241217@180012.1454 8a2432m91jg1fg0aitgn3n4hm5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241217@180012.1562 8a2432m91jg1fg0aitgn3n4hm5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4065';
20241217@180012.1653 8a2432m91jg1fg0aitgn3n4hm5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4065';
20241217@180012.1756 8a2432m91jg1fg0aitgn3n4hm5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4065';
20241217@180012.1858 8a2432m91jg1fg0aitgn3n4hm5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4065';
20241217@180012.1946 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180012.1950 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@180012.2036 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180012.2040 8a2432m91jg1fg0aitgn3n4hm5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6234
20241217@180012.2139 8a2432m91jg1fg0aitgn3n4hm5 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'
20241217@180012.2318 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.1832.00.2' and bi.lordem =1
20241217@180012.2687 8a2432m91jg1fg0aitgn3n4hm5 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'
20241217@180012.2787 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.1832.00.2' and bi.lordem =2
20241217@180012.3188 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241217@180012.3356 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.1833.00.2' and bi.lordem =3
20241217@180012.3762 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241217@180012.3789 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.1833.00.2' and bi.lordem =4
20241217@180012.4143 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20241217@180012.4301 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.1536.00.1' and bi.lordem =5
20241217@180012.5202 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241217@180012.5624 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.2330.00.1' and bi.lordem =6
20241217@180012.6580 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241217@180012.7210 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.2340.00.1' and bi.lordem =7
20241217@180012.7762 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20241217@180012.7991 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.1317.00.1' and bi.lordem =8
20241217@180012.8394 8a2432m91jg1fg0aitgn3n4hm5 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'
20241217@180012.8424 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='304.421.00.04' and bi.lordem =9
20241217@180012.8964 8a2432m91jg1fg0aitgn3n4hm5 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'
20241217@180012.9481 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.4961.00.1' and bi.lordem =10
20241217@180013.2500 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20241217@180013.2080 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.4962.00.1' and bi.lordem =12
20241217@180013.6420 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20241217@180013.8610 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.4963.00.1' and bi.lordem =14
20241217@180013.1348 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241217@180013.1382 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.4970.00.1' and bi.lordem =16
20241217@180013.1801 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241217@180013.1830 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.4970.00.1' and bi.lordem =16
20241217@180013.1851 8a2432m91jg1fg0aitgn3n4hm5 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'
20241217@180013.2062 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.4964.00.1' and bi.lordem =17
20241217@180013.2478 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20241217@180013.2647 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.969.00.01' and bi.lordem =19
20241217@180013.3114 8a2432m91jg1fg0aitgn3n4hm5 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'
20241217@180013.3263 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.648.00.01' and bi.lordem =20
20241217@180013.3666 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241217@180013.3895 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.645.00.01' and bi.lordem =21
20241217@180013.4257 8a2432m91jg1fg0aitgn3n4hm5 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'
20241217@180013.4401 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408713 and bi.ref ='324.1837.00.1' and bi.lordem =22
20241217@180013.4807 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.4811 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241217@180013.4855 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.4859 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 1 valor from td where td.ndoc = 39
20241217@180013.4893 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.4897 8a2432m91jg1fg0aitgn3n4hm5 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')
20241217@180013.4928 8a2432m91jg1fg0aitgn3n4hm5 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
20241217@180013.4966 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.4970 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 ~inactivo valor from cl where no = '102382' and estab = 0 order by inactivo desc
20241217@180013.5113 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.5117 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241217@180013.5166 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.5170 8a2432m91jg1fg0aitgn3n4hm5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241217@180013.5213 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.5216 8a2432m91jg1fg0aitgn3n4hm5 Query : select szadrsstamp valor from szadrs where szadrsdesc='ig-electrodomÉsticos, lda-loja euronics'
20241217@180013.5270 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.5275 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from td where ndoc = 39
20241217@180013.5365 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241217@180013.5387 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.5414 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180013.5440 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.5459 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180013.5566 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.5588 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180013.5603 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180013.5676 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180013.5711 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.5730 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180013.5747 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241217@180013.5942 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.5968 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180013.6038 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241217@180013.6054 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241217@180013.6069 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241217@180013.6085 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241217@180013.6102 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241217@180013.6117 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241217@180013.6132 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6761b966906761bc2d88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241217@180013.6426 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 fno valor from wsftdata order by fno desc
20241217@180013.6478 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.6498 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180013.6526 8a2432m91jg1fg0aitgn3n4hm5 Query : select 'normal' from dummy
20241217@180013.6566 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6761b966906761bc2d88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2528,102382,0,'2024-12-17',39,'euro',0,0,2024 ,?,?)
20241217@180013.6890 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.6894 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241217@180013.6922 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241217@180013.7485 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.7822 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180013.8134 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.8447 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180013.8463 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180013.8477 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241217@180013.8495 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.8514 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180013.8529 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b734026761bc2dcf','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180013.8534 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.8551 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180013.8584 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b734026761bc2dcf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241217@180013.8875 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.8898 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180013.8925 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.8942 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180013.8951 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180013.8963 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.8979 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180013.8995 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b968056761bc2dda','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180013.9000 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9016 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180013.9047 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6761b968056761bc2dda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,20000,?,?,?)
20241217@180013.9330 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180013.9333 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241217@180013.9353 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241217@180013.9367 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9383 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180013.9408 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9423 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180013.9434 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180013.9447 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241217@180013.9461 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9475 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180013.9486 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b049886761bc2de6','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180013.9491 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9507 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180013.9536 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b049886761bc2de6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241217@180013.9786 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9804 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180013.9831 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9847 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180013.9871 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180013.9883 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9899 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180013.9911 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b600386761bc2df1','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180013.9915 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180013.9930 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180013.9958 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6761b600386761bc2df1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,50000,?,?,?)
20241217@180014.2220 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.2250 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241217@180014.2490 8a2432m91jg1fg0aitgn3n4hm5 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.1833.00.2'
20241217@180014.3890 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.4070 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.4350 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.4500 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.4600 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.4720 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241217@180014.4870 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.5020 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.5150 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b007036761bc2e0b','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.5190 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.5350 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.5640 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b007036761bc2e0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241217@180014.8050 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.8080 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241217@180014.8430 8a2432m91jg1fg0aitgn3n4hm5 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.1833.00.2'
20241217@180014.8570 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.8740 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.9010 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.9170 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.9270 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.9400 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241217@180014.9590 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.9760 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.9890 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b086956761bc2e17','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.9940 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.1010 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.1039 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b086956761bc2e17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241217@180014.1431 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.1435 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20241217@180014.1457 8a2432m91jg1fg0aitgn3n4hm5 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.1536.00.1'
20241217@180014.1624 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.1663 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.1693 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.1710 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.1719 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.1733 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20241217@180014.1764 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.1779 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.1792 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b357916761bc2e2b','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.1796 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.1812 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.1842 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b357916761bc2e2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241217@180014.2121 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.2128 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241217@180014.2178 8a2432m91jg1fg0aitgn3n4hm5 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.2330.00.1'
20241217@180014.2211 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.2232 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.2262 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.2278 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.2287 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.2300 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241217@180014.2324 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.2360 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.2373 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b197826761bc2e38','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.2378 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.2395 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.2441 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b197826761bc2e38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241217@180014.2693 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.2696 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.2340.00.1'
20241217@180014.2718 8a2432m91jg1fg0aitgn3n4hm5 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.2340.00.1'
20241217@180014.2868 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.2908 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.2972 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.3045 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.3073 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.3118 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.2340.00.1' and lote = 'r2100584120a'
20241217@180014.3144 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.3163 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.3176 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b917256761bc2e4c','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.3181 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.3215 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.3250 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b917256761bc2e4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241217@180014.3589 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.3608 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241217@180014.3669 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1317.00.1'
20241217@180014.3879 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.3926 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.4011 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.4035 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.4045 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.4057 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400459200a'
20241217@180014.4071 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.4087 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.4098 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b741586761bc2e63','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.4103 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.4117 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.4187 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b741586761bc2e63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20241217@180014.4447 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.4454 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241217@180014.4516 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20241217@180014.4583 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.4618 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.4771 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.4879 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.4911 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.4922 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241670'
20241217@180014.4952 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.4986 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.5001 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b675636761bc2e78','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.5008 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.5351 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.5381 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b675636761bc2e78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241217@180014.5688 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.5765 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.5877 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.5950 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.6007 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.6040 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.6065 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.6080 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b325526761bc2e93','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.6086 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.6110 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.6219 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6761b325526761bc2e93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,140000,?,?,?)
20241217@180014.6531 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.6542 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241217@180014.6611 8a2432m91jg1fg0aitgn3n4hm5 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.4961.00.1'
20241217@180014.6818 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.6861 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.6893 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.6929 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.6940 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.6953 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241217@180014.6988 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.7011 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.7037 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b516476761bc2eaa','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.7042 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.7061 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.7095 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b516476761bc2eaa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241217@180014.7372 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.7378 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20241217@180014.7405 8a2432m91jg1fg0aitgn3n4hm5 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.4962.00.1'
20241217@180014.7579 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.7598 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.7628 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.7650 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.7662 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.7682 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20241217@180014.7778 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.7803 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.7819 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b176606761bc2ebd','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.7824 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.7846 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.7983 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b176606761bc2ebd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241217@180014.8424 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.8456 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20241217@180014.8590 8a2432m91jg1fg0aitgn3n4hm5 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.4963.00.1'
20241217@180014.8807 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.8912 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.8954 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.8991 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.9005 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.9039 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20241217@180014.9059 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.9100 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.9129 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b355556761bc2edd','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.9134 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.9171 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.9209 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b355556761bc2edd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20241217@180014.9529 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180014.9539 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241217@180014.9668 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241217@180014.9691 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.9721 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.9749 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.9767 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.9777 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180014.9791 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241217@180014.9804 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.9820 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180014.9845 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b342486761bc2eef','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180014.9850 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180014.9866 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180014.9921 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b342486761bc2eef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241217@180015.2500 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180015.2760 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241217@180015.3140 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241217@180015.3410 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3670 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.3990 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4240 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.4380 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180015.4530 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241217@180015.4690 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.5230 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.5380 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b826116761bc2f0b','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180015.5450 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.5620 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.6040 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b826116761bc2f0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241217@180015.8780 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180015.8830 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241217@180015.9120 8a2432m91jg1fg0aitgn3n4hm5 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.4964.00.1'
20241217@180015.1084 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.1104 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.1131 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.1150 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.1160 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180015.1173 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241217@180015.1189 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.1205 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.1218 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b208616761bc2f1d','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180015.1223 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.1240 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.1280 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b208616761bc2f1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241217@180015.1559 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180015.1563 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20241217@180015.1586 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20241217@180015.1732 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.1754 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.1785 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.1801 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.1810 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180015.1823 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20241217@180015.1847 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.1869 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.1889 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b751226761bc2f2d','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180015.1894 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.1910 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.1957 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b751226761bc2f2d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241217@180015.2228 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180015.2235 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.648.00.01'
20241217@180015.2262 8a2432m91jg1fg0aitgn3n4hm5 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.648.00.01'
20241217@180015.2405 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.2423 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.2449 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.2477 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.2486 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180015.2543 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.648.00.01' and lote = 'r2400750200a'
20241217@180015.2564 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.2588 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.2600 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b776516761bc2f3e','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180015.2606 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.2653 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.2700 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b776516761bc2f3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241217@180015.2997 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3019 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.3054 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3072 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.3084 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180015.3101 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3118 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.3133 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b244886761bc2f4b','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180015.3139 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3156 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.3191 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6761b244886761bc2f4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,240000,?,?,?)
20241217@180015.3434 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180015.3438 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241217@180015.3465 8a2432m91jg1fg0aitgn3n4hm5 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.645.00.01'
20241217@180015.3612 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3634 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.3664 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3685 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.3696 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180015.3711 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241217@180015.3736 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3755 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.3771 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b552646761bc2f5b','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180015.3776 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.3795 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.3827 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b552646761bc2f5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20241217@180015.4105 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4122 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.4150 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4171 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.4187 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180015.4208 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4226 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.4238 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b911196761bc2f66','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180015.4242 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4258 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.4285 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6761b911196761bc2f66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,270000,?,?,?)
20241217@180015.4544 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180015.4547 8a2432m91jg1fg0aitgn3n4hm5 Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241217@180015.4568 8a2432m91jg1fg0aitgn3n4hm5 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.1837.00.1'
20241217@180015.4756 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4778 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.4805 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4821 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.4834 8a2432m91jg1fg0aitgn3n4hm5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180015.4846 8a2432m91jg1fg0aitgn3n4hm5 Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2301207300a'
20241217@180015.4861 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4879 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180015.4891 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b385216761bc2f76','aut6761b966906761bc2d88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180015.4895 8a2432m91jg1fg0aitgn3n4hm5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.4909 8a2432m91jg1fg0aitgn3n4hm5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180015.4939 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b385216761bc2f76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6761b966906761bc2d88' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20241217@180015.5193 8a2432m91jg1fg0aitgn3n4hm5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6761b966906761bc2d88','2408713','wait',39,'adm09112754980.682000002')
20241217@180015.5269 8a2432m91jg1fg0aitgn3n4hm5 Query : use flama_phc
20241217@180015.5272 8a2432m91jg1fg0aitgn3n4hm5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241217@180015.5303 8a2432m91jg1fg0aitgn3n4hm5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4065';
20241217@180015.5348 8a2432m91jg1fg0aitgn3n4hm5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4065';
20241217@180015.5410 8a2432m91jg1fg0aitgn3n4hm5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4065';
20241217@180015.5464 8a2432m91jg1fg0aitgn3n4hm5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4065';
20241217@180015.6015 n458669stm0mcqt30s8fecf7tl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241217@180015.6028 n458669stm0mcqt30s8fecf7tl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241217@180015.6107 n458669stm0mcqt30s8fecf7tl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4066';
20241217@180015.6205 n458669stm0mcqt30s8fecf7tl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4066';
20241217@180015.6273 n458669stm0mcqt30s8fecf7tl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4066';
20241217@180015.6316 n458669stm0mcqt30s8fecf7tl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4066';
20241217@180015.6412 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.6415 n458669stm0mcqt30s8fecf7tl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@180015.6514 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.6518 n458669stm0mcqt30s8fecf7tl Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20241217@180015.6587 n458669stm0mcqt30s8fecf7tl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20241217@180015.6617 n458669stm0mcqt30s8fecf7tl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408716 and bi.ref ='324.2326.00.1' and bi.lordem =1
20241217@180015.6952 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.6956 n458669stm0mcqt30s8fecf7tl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241217@180015.6987 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.6990 n458669stm0mcqt30s8fecf7tl Query : select top 1 1 valor from td where td.ndoc = 39
20241217@180015.7022 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.7025 n458669stm0mcqt30s8fecf7tl 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')
20241217@180015.7054 n458669stm0mcqt30s8fecf7tl 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
20241217@180015.7089 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.7093 n458669stm0mcqt30s8fecf7tl Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20241217@180015.7127 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.7131 n458669stm0mcqt30s8fecf7tl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241217@180015.7635 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.7641 n458669stm0mcqt30s8fecf7tl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241217@180015.8275 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.8331 n458669stm0mcqt30s8fecf7tl Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20241217@180015.8662 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180015.8666 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from td where ndoc = 39
20241217@180015.8680 n458669stm0mcqt30s8fecf7tl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241217@180015.8696 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.8714 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180015.8733 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.8749 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180015.9111 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.9129 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180015.9144 n458669stm0mcqt30s8fecf7tl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180015.9200 n458669stm0mcqt30s8fecf7tl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180015.9214 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.9231 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180015.9248 n458669stm0mcqt30s8fecf7tl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6761b230156761bc2fdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241217@180015.9416 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.9436 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180015.9473 n458669stm0mcqt30s8fecf7tl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241217@180015.9486 n458669stm0mcqt30s8fecf7tl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241217@180015.9501 n458669stm0mcqt30s8fecf7tl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241217@180015.9514 n458669stm0mcqt30s8fecf7tl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241217@180015.9527 n458669stm0mcqt30s8fecf7tl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241217@180015.9541 n458669stm0mcqt30s8fecf7tl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241217@180015.9553 n458669stm0mcqt30s8fecf7tl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6761b230156761bc2fdf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241217@180015.9781 n458669stm0mcqt30s8fecf7tl Query : select top 1 fno valor from wsftdata order by fno desc
20241217@180015.9839 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180015.9860 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180015.9883 n458669stm0mcqt30s8fecf7tl Query : select 'normal' from dummy
20241217@180015.9905 n458669stm0mcqt30s8fecf7tl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6761b230156761bc2fdf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2529,101889,0,'2024-12-17',39,'euro',0,0,2024 ,?,?)
20241217@180016.2550 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180016.2590 n458669stm0mcqt30s8fecf7tl Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241217@180016.3190 n458669stm0mcqt30s8fecf7tl 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.2326.00.1'
20241217@180016.3440 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.3630 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180016.3900 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4070 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180016.4160 n458669stm0mcqt30s8fecf7tl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180016.4300 n458669stm0mcqt30s8fecf7tl Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2400475600a'
20241217@180016.4500 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4660 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180016.4800 n458669stm0mcqt30s8fecf7tl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b026866761bc300a','aut6761b230156761bc2fdf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180016.4850 n458669stm0mcqt30s8fecf7tl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.5040 n458669stm0mcqt30s8fecf7tl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180016.5360 n458669stm0mcqt30s8fecf7tl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b026866761bc300a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6761b230156761bc2fdf' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241217@180016.8620 n458669stm0mcqt30s8fecf7tl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6761b230156761bc2fdf','2408716','wait',39,'adm09112754980.682000002')
20241217@180016.9390 n458669stm0mcqt30s8fecf7tl Query : use flama_phc
20241217@180016.9420 n458669stm0mcqt30s8fecf7tl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241217@180016.9890 n458669stm0mcqt30s8fecf7tl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4066';
20241217@180016.1031 n458669stm0mcqt30s8fecf7tl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4066';
20241217@180016.1083 n458669stm0mcqt30s8fecf7tl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4066';
20241217@180016.1119 n458669stm0mcqt30s8fecf7tl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4066';
20241217@180016.1715 eaafvjk054fbd200s9sokf59jk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241217@180016.1727 eaafvjk054fbd200s9sokf59jk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241217@180016.1819 eaafvjk054fbd200s9sokf59jk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4067';
20241217@180016.1900 eaafvjk054fbd200s9sokf59jk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4067';
20241217@180016.1966 eaafvjk054fbd200s9sokf59jk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4067';
20241217@180016.2011 eaafvjk054fbd200s9sokf59jk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4067';
20241217@180016.2074 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.2077 eaafvjk054fbd200s9sokf59jk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@180016.2145 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.2148 eaafvjk054fbd200s9sokf59jk Query : select no, estab,szadrsdesc from szadrs where u_coddest=3145
20241217@180016.2305 eaafvjk054fbd200s9sokf59jk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241217@180016.2356 eaafvjk054fbd200s9sokf59jk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408722 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241217@180016.2720 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.2752 eaafvjk054fbd200s9sokf59jk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241217@180016.2790 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.2794 eaafvjk054fbd200s9sokf59jk Query : select top 1 1 valor from td where td.ndoc = 39
20241217@180016.2826 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.2829 eaafvjk054fbd200s9sokf59jk 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')
20241217@180016.2862 eaafvjk054fbd200s9sokf59jk 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
20241217@180016.2900 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.2903 eaafvjk054fbd200s9sokf59jk Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241217@180016.2940 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.2943 eaafvjk054fbd200s9sokf59jk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241217@180016.2977 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.2980 eaafvjk054fbd200s9sokf59jk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241217@180016.3022 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.3025 eaafvjk054fbd200s9sokf59jk Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - caldas da rainha'
20241217@180016.3073 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.3076 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from td where ndoc = 39
20241217@180016.3090 eaafvjk054fbd200s9sokf59jk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241217@180016.3106 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.3127 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180016.3149 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.3169 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180016.3205 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.3223 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180016.3237 eaafvjk054fbd200s9sokf59jk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180016.3302 eaafvjk054fbd200s9sokf59jk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180016.3329 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.3352 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180016.3371 eaafvjk054fbd200s9sokf59jk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6761b931456761bc304f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241217@180016.3561 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.3582 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180016.3644 eaafvjk054fbd200s9sokf59jk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241217@180016.3665 eaafvjk054fbd200s9sokf59jk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241217@180016.3682 eaafvjk054fbd200s9sokf59jk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241217@180016.3697 eaafvjk054fbd200s9sokf59jk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241217@180016.3714 eaafvjk054fbd200s9sokf59jk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241217@180016.3726 eaafvjk054fbd200s9sokf59jk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241217@180016.3742 eaafvjk054fbd200s9sokf59jk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6761b931456761bc304f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241217@180016.3994 eaafvjk054fbd200s9sokf59jk Query : select top 1 fno valor from wsftdata order by fno desc
20241217@180016.4027 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4044 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180016.4067 eaafvjk054fbd200s9sokf59jk Query : select 'normal' from dummy
20241217@180016.4081 eaafvjk054fbd200s9sokf59jk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6761b931456761bc304f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2530,101621,0,'2024-12-17',39,'euro',0,0,2024 ,?,?)
20241217@180016.4388 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.4391 eaafvjk054fbd200s9sokf59jk Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241217@180016.4429 eaafvjk054fbd200s9sokf59jk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241217@180016.4446 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4463 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180016.4489 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4505 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180016.4513 eaafvjk054fbd200s9sokf59jk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180016.4526 eaafvjk054fbd200s9sokf59jk Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20241217@180016.4541 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4556 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180016.4567 eaafvjk054fbd200s9sokf59jk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b480306761bc306e','aut6761b931456761bc304f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180016.4573 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4590 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180016.4649 eaafvjk054fbd200s9sokf59jk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b480306761bc306e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6761b931456761bc304f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241217@180016.4909 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4927 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180016.4953 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.4967 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180016.4977 eaafvjk054fbd200s9sokf59jk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180016.4991 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.5008 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180016.5031 eaafvjk054fbd200s9sokf59jk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b396896761bc3079','aut6761b931456761bc304f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180016.5037 eaafvjk054fbd200s9sokf59jk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180016.5054 eaafvjk054fbd200s9sokf59jk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180016.5086 eaafvjk054fbd200s9sokf59jk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6761b396896761bc3079',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6761b931456761bc304f' ,0,0 ,2,23.00,20000,?,?,?)
20241217@180016.5353 eaafvjk054fbd200s9sokf59jk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6761b931456761bc304f','2408722','wait',39,'adm09112754980.682000002')
20241217@180016.5433 eaafvjk054fbd200s9sokf59jk Query : use flama_phc
20241217@180016.5437 eaafvjk054fbd200s9sokf59jk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241217@180016.5707 eaafvjk054fbd200s9sokf59jk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4067';
20241217@180016.5781 eaafvjk054fbd200s9sokf59jk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4067';
20241217@180016.5904 eaafvjk054fbd200s9sokf59jk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4067';
20241217@180016.5951 eaafvjk054fbd200s9sokf59jk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4067';
20241217@180016.6468 tculh4vqujr01s1ijmbivdvnb7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241217@180016.6481 tculh4vqujr01s1ijmbivdvnb7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241217@180016.6548 tculh4vqujr01s1ijmbivdvnb7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4068';
20241217@180016.6629 tculh4vqujr01s1ijmbivdvnb7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4068';
20241217@180016.6695 tculh4vqujr01s1ijmbivdvnb7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4068';
20241217@180016.6744 tculh4vqujr01s1ijmbivdvnb7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4068';
20241217@180016.6808 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180016.6812 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@180016.6905 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180016.6909 tculh4vqujr01s1ijmbivdvnb7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20241217@180016.7013 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20241217@180016.7153 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408724 and bi.ref ='324.2031.00.1' and bi.lordem =1
20241217@180016.7539 tculh4vqujr01s1ijmbivdvnb7 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'
20241217@180016.7678 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408724 and bi.ref ='324.1462.00.1' and bi.lordem =2
20241217@180016.8002 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20241217@180016.8029 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408724 and bi.ref ='324.1406.00.1' and bi.lordem =3
20241217@180016.8427 tculh4vqujr01s1ijmbivdvnb7 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'
20241217@180016.8482 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408724 and bi.ref ='324.2232.00.1' and bi.lordem =4
20241217@180016.8837 tculh4vqujr01s1ijmbivdvnb7 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'
20241217@180016.8977 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408724 and bi.ref ='324.1716.00.1' and bi.lordem =5
20241217@180016.9361 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180016.9374 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241217@180016.9575 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180016.9618 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 1 valor from td where td.ndoc = 39
20241217@180017.5160 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.5760 tculh4vqujr01s1ijmbivdvnb7 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')
20241217@180017.9290 tculh4vqujr01s1ijmbivdvnb7 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
20241217@180017.9670 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.9710 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241217@180017.1002 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.1006 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241217@180017.1037 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.1040 tculh4vqujr01s1ijmbivdvnb7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241217@180017.1082 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.1085 tculh4vqujr01s1ijmbivdvnb7 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - ovar'
20241217@180017.1449 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.1453 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from td where ndoc = 39
20241217@180017.1479 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241217@180017.1494 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.1511 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180017.1531 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.1547 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180017.1576 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.1591 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180017.1604 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180017.1668 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180017.1698 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.1717 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180017.1738 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6761b256056761bc3127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241217@180017.1940 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.1966 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180017.2004 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241217@180017.2016 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241217@180017.2029 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241217@180017.2043 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241217@180017.2057 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241217@180017.2073 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241217@180017.2088 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6761b256056761bc3127',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241217@180017.2397 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 fno valor from wsftdata order by fno desc
20241217@180017.2455 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.2473 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180017.2500 tculh4vqujr01s1ijmbivdvnb7 Query : select 'normal' from dummy
20241217@180017.2516 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6761b256056761bc3127',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2531,101621,0,'2024-12-17',39,'euro',0,0,2024 ,?,?)
20241217@180017.2814 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.2819 tculh4vqujr01s1ijmbivdvnb7 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20241217@180017.2846 tculh4vqujr01s1ijmbivdvnb7 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.2031.00.1'
20241217@180017.3143 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.3179 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.3229 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.3255 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.3264 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180017.3296 tculh4vqujr01s1ijmbivdvnb7 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20241217@180017.3317 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.3337 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.3355 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b651286761bc3150','aut6761b256056761bc3127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180017.3360 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.3379 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.3411 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b651286761bc3150',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6761b256056761bc3127' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241217@180017.3669 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.3690 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.3716 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.3737 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.3745 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180017.3758 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.3773 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.3785 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b659956761bc315b','aut6761b256056761bc3127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180017.3790 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.3805 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.3834 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6761b659956761bc315b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6761b256056761bc3127' ,0,0 ,2,23.00,20000,?,?,?)
20241217@180017.4076 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.4079 tculh4vqujr01s1ijmbivdvnb7 Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20241217@180017.4103 tculh4vqujr01s1ijmbivdvnb7 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.1462.00.1'
20241217@180017.4263 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.4279 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.4308 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.4323 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.4332 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180017.4345 tculh4vqujr01s1ijmbivdvnb7 Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2100463100a'
20241217@180017.4367 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.4384 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.4396 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b511586761bc316a','aut6761b256056761bc3127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180017.4402 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.4464 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.4492 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b511586761bc316a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b256056761bc3127' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241217@180017.4758 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.4761 tculh4vqujr01s1ijmbivdvnb7 Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20241217@180017.4781 tculh4vqujr01s1ijmbivdvnb7 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.1406.00.1'
20241217@180017.4802 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.4820 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.4846 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.4861 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.4869 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180017.4881 tculh4vqujr01s1ijmbivdvnb7 Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = 'r2400744200a'
20241217@180017.4893 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.4909 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.4924 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b137206761bc3177','aut6761b256056761bc3127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180017.4929 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.4945 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.4972 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b137206761bc3177',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6761b256056761bc3127' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241217@180017.5222 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.5225 tculh4vqujr01s1ijmbivdvnb7 Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20241217@180017.5249 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2232.00.1'
20241217@180017.5272 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.5290 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.5322 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.5338 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.5347 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180017.5359 tculh4vqujr01s1ijmbivdvnb7 Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20241217@180017.5371 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.5388 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.5400 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b169026761bc3183','aut6761b256056761bc3127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180017.5405 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.5421 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.5456 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b169026761bc3183',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b256056761bc3127' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241217@180017.5705 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.5721 tculh4vqujr01s1ijmbivdvnb7 Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20241217@180017.5883 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1716.00.1'
20241217@180017.6046 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.6064 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.6091 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.6166 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.6196 tculh4vqujr01s1ijmbivdvnb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180017.6213 tculh4vqujr01s1ijmbivdvnb7 Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20241217@180017.6423 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.6442 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180017.6453 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b317556761bc319c','aut6761b256056761bc3127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180017.6457 tculh4vqujr01s1ijmbivdvnb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.6518 tculh4vqujr01s1ijmbivdvnb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180017.6549 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b317556761bc319c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6761b256056761bc3127' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241217@180017.6794 tculh4vqujr01s1ijmbivdvnb7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6761b256056761bc3127','2408724','wait',39,'adm09112754980.682000002')
20241217@180017.6867 tculh4vqujr01s1ijmbivdvnb7 Query : use flama_phc
20241217@180017.6871 tculh4vqujr01s1ijmbivdvnb7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241217@180017.6906 tculh4vqujr01s1ijmbivdvnb7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4068';
20241217@180017.6951 tculh4vqujr01s1ijmbivdvnb7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4068';
20241217@180017.7002 tculh4vqujr01s1ijmbivdvnb7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4068';
20241217@180017.7046 tculh4vqujr01s1ijmbivdvnb7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4068';
20241217@180017.7553 8o50m5dnskchu755d3pc8a9hvt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241217@180017.7564 8o50m5dnskchu755d3pc8a9hvt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241217@180017.7644 8o50m5dnskchu755d3pc8a9hvt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4069';
20241217@180017.7716 8o50m5dnskchu755d3pc8a9hvt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4069';
20241217@180017.7791 8o50m5dnskchu755d3pc8a9hvt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4069';
20241217@180017.7836 8o50m5dnskchu755d3pc8a9hvt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4069';
20241217@180017.7898 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.7902 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@180017.7966 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.7969 8o50m5dnskchu755d3pc8a9hvt Query : select no, estab,szadrsdesc from szadrs where u_coddest=3304
20241217@180017.8058 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241217@180017.8079 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408725 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241217@180017.8414 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.8419 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241217@180017.8468 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.8473 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 1 valor from td where td.ndoc = 39
20241217@180017.8510 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.8514 8o50m5dnskchu755d3pc8a9hvt 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')
20241217@180017.8548 8o50m5dnskchu755d3pc8a9hvt 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
20241217@180017.8590 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.8594 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241217@180017.8624 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.8627 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241217@180017.8661 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.8664 8o50m5dnskchu755d3pc8a9hvt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241217@180017.8721 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.8725 8o50m5dnskchu755d3pc8a9hvt Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - chaves'
20241217@180017.8778 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180017.8781 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from td where ndoc = 39
20241217@180017.8795 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241217@180017.8810 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.8827 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180017.8852 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.8867 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180017.8897 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.8914 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180017.8929 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180017.8994 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@180017.9009 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.9030 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@180017.9047 8o50m5dnskchu755d3pc8a9hvt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6761b931366761bc31da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241217@180017.9226 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.9264 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@180017.9343 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241217@180017.9355 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241217@180017.9367 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241217@180017.9400 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241217@180017.9412 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241217@180017.9425 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241217@180017.9451 8o50m5dnskchu755d3pc8a9hvt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6761b931366761bc31da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241217@180017.9823 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 fno valor from wsftdata order by fno desc
20241217@180017.9860 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180017.9880 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@180017.9910 8o50m5dnskchu755d3pc8a9hvt Query : select 'normal' from dummy
20241217@180017.9929 8o50m5dnskchu755d3pc8a9hvt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6761b931366761bc31da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2532,101621,0,'2024-12-17',39,'euro',0,0,2024 ,?,?)
20241217@180018.2280 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180018.2320 8o50m5dnskchu755d3pc8a9hvt Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241217@180018.2630 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241217@180018.2790 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180018.3050 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180018.3370 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180018.3560 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180018.3660 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180018.3830 8o50m5dnskchu755d3pc8a9hvt Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20241217@180018.4320 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180018.4500 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180018.4650 8o50m5dnskchu755d3pc8a9hvt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b242086761bc320a','aut6761b931366761bc31da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180018.4700 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180018.4880 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180018.5270 8o50m5dnskchu755d3pc8a9hvt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6761b242086761bc320a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6761b931366761bc31da' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241217@180018.8000 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180018.8200 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180018.8560 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180018.8750 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180018.8870 8o50m5dnskchu755d3pc8a9hvt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@180018.9030 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180018.9220 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@180018.9370 8o50m5dnskchu755d3pc8a9hvt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b896056761bc3216','aut6761b931366761bc31da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@180018.9420 8o50m5dnskchu755d3pc8a9hvt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@180018.9610 8o50m5dnskchu755d3pc8a9hvt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@180018.9950 8o50m5dnskchu755d3pc8a9hvt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6761b896056761bc3216',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6761b931366761bc31da' ,0,0 ,2,23.00,20000,?,?,?)
20241217@180018.1257 8o50m5dnskchu755d3pc8a9hvt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6761b931366761bc31da','2408725','wait',39,'adm09112754980.682000002')
20241217@180018.1341 8o50m5dnskchu755d3pc8a9hvt Query : use flama_phc
20241217@180018.1344 8o50m5dnskchu755d3pc8a9hvt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241217@180018.1374 8o50m5dnskchu755d3pc8a9hvt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4069';
20241217@180018.1417 8o50m5dnskchu755d3pc8a9hvt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4069';
20241217@180018.1472 8o50m5dnskchu755d3pc8a9hvt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4069';
20241217@180018.1507 8o50m5dnskchu755d3pc8a9hvt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4069';
20241217@181456.1422 lbeqcf0pdcvf8jdir2q4nhut6j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241217@181456.1433 lbeqcf0pdcvf8jdir2q4nhut6j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241217@181456.2733 lbeqcf0pdcvf8jdir2q4nhut6j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4070';
20241217@181456.2805 lbeqcf0pdcvf8jdir2q4nhut6j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4070';
20241217@181456.2869 lbeqcf0pdcvf8jdir2q4nhut6j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4070';
20241217@181456.2904 lbeqcf0pdcvf8jdir2q4nhut6j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4070';
20241217@181456.2959 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.2962 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241217@181456.3024 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.3027 lbeqcf0pdcvf8jdir2q4nhut6j Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241217@181456.3073 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.2'
20241217@181456.3204 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408686 and bi.ref ='324.1461.00.2' and bi.lordem =1
20241217@181456.3524 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.2'
20241217@181456.3545 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408686 and bi.ref ='324.1461.00.2' and bi.lordem =1
20241217@181456.3562 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.2'
20241217@181456.3582 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408686 and bi.ref ='324.1461.00.2' and bi.lordem =1
20241217@181456.3598 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.2'
20241217@181456.3617 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408686 and bi.ref ='324.1461.00.2' and bi.lordem =1
20241217@181456.3636 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.2'
20241217@181456.3656 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408686 and bi.ref ='324.1461.00.2' and bi.lordem =1
20241217@181456.3674 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.2'
20241217@181456.3695 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408686 and bi.ref ='324.1461.00.2' and bi.lordem =1
20241217@181456.3711 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.2'
20241217@181456.3731 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408686 and bi.ref ='324.1461.00.2' and bi.lordem =1
20241217@181456.3747 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.3750 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241217@181456.3784 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.3787 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 1 valor from td where td.ndoc = 39
20241217@181456.3819 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.3822 lbeqcf0pdcvf8jdir2q4nhut6j 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')
20241217@181456.3852 lbeqcf0pdcvf8jdir2q4nhut6j 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
20241217@181456.3889 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.3892 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241217@181456.3923 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.3926 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241217@181456.3957 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.3960 lbeqcf0pdcvf8jdir2q4nhut6j Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241217@181456.4001 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.4004 lbeqcf0pdcvf8jdir2q4nhut6j Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241217@181456.4050 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.4057 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from td where ndoc = 39
20241217@181456.4070 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241217@181456.4084 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.4101 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@181456.4121 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.4138 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@181456.4170 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.4186 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@181456.4202 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@181456.4274 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241217@181456.4288 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.4305 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241217@181456.4321 lbeqcf0pdcvf8jdir2q4nhut6j Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6761b337666761bfa066' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241217@181456.4492 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.4512 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241217@181456.4548 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241217@181456.4561 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241217@181456.4573 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241217@181456.4585 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241217@181456.4598 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241217@181456.4611 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241217@181456.4625 lbeqcf0pdcvf8jdir2q4nhut6j Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6761b337666761bfa066',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241217@181456.4867 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 fno valor from wsftdata order by fno desc
20241217@181456.4902 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.4919 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241217@181456.4942 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 'normal' from dummy
20241217@181456.4962 lbeqcf0pdcvf8jdir2q4nhut6j Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6761b337666761bfa066',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2533,100810,0,'2024-12-17',39,'euro',0,0,2024 ,?,?)
20241217@181456.5258 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.5261 lbeqcf0pdcvf8jdir2q4nhut6j Query : select st.usalote valor from st where st.ref = '324.1461.00.2'
20241217@181456.5285 lbeqcf0pdcvf8jdir2q4nhut6j 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.1461.00.2'
20241217@181456.5422 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.5463 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241217@181456.5492 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.5510 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@181456.5520 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241217@181456.5533 lbeqcf0pdcvf8jdir2q4nhut6j Query : select sestamp valor from se where ref ='324.1461.00.2' and lote = 'r25100463200a'
20241217@181456.5544 lbeqcf0pdcvf8jdir2q4nhut6j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241217@181456.5560 lbeqcf0pdcvf8jdir2q4nhut6j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241217@181456.5573 lbeqcf0pdcvf8jdir2q4nhut6j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6761b077266761bfa087','aut6761b337666761bfa066' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241217@181456.5598 lbeqcf0pdcvf8jdir2q4nhut6j Query : use flama_phc
20241217@181456.5601 lbeqcf0pdcvf8jdir2q4nhut6j Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241217@181456.5664 lbeqcf0pdcvf8jdir2q4nhut6j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4070';
20241217@181456.5708 lbeqcf0pdcvf8jdir2q4nhut6j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4070';

20241218@142750.4774 89iorl1fimn82q3au2gmb85tbs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4071';
20241218@142750.4849 89iorl1fimn82q3au2gmb85tbs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4071';
20241218@142750.4885 89iorl1fimn82q3au2gmb85tbs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4071';
20241218@142750.4963 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.4967 89iorl1fimn82q3au2gmb85tbs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@142750.5086 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.5089 89iorl1fimn82q3au2gmb85tbs Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241218@142750.5175 89iorl1fimn82q3au2gmb85tbs 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'
20241218@142750.5308 89iorl1fimn82q3au2gmb85tbs 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'
20241218@142750.5329 89iorl1fimn82q3au2gmb85tbs 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'
20241218@142750.6578 89iorl1fimn82q3au2gmb85tbs 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'
20241218@142750.6603 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.6607 89iorl1fimn82q3au2gmb85tbs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@142750.6803 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.6807 89iorl1fimn82q3au2gmb85tbs Query : select top 1 1 valor from td where td.ndoc = 39
20241218@142750.7043 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.7047 89iorl1fimn82q3au2gmb85tbs 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')
20241218@142750.7124 89iorl1fimn82q3au2gmb85tbs 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
20241218@142750.7245 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.7248 89iorl1fimn82q3au2gmb85tbs Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241218@142750.7358 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.7361 89iorl1fimn82q3au2gmb85tbs Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@142750.7438 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.7441 89iorl1fimn82q3au2gmb85tbs Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@142750.7511 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.7515 89iorl1fimn82q3au2gmb85tbs Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241218@142750.7566 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142750.7569 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from td where ndoc = 39
20241218@142750.7628 89iorl1fimn82q3au2gmb85tbs Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@142750.7684 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142750.8026 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@142750.8102 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142750.8118 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@142750.8150 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142750.8165 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@142750.8180 89iorl1fimn82q3au2gmb85tbs Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@142750.8359 89iorl1fimn82q3au2gmb85tbs Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@142750.8486 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142750.8517 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@142750.8561 89iorl1fimn82q3au2gmb85tbs Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762d885106762dbe6c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@142750.8792 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142750.8813 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@142750.8850 89iorl1fimn82q3au2gmb85tbs Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@142750.8925 89iorl1fimn82q3au2gmb85tbs Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@142750.8988 89iorl1fimn82q3au2gmb85tbs Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@142750.9048 89iorl1fimn82q3au2gmb85tbs Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@142750.9112 89iorl1fimn82q3au2gmb85tbs Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@142750.9188 89iorl1fimn82q3au2gmb85tbs Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@142750.9251 89iorl1fimn82q3au2gmb85tbs Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762d885106762dbe6c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@142750.9742 89iorl1fimn82q3au2gmb85tbs Query : select top 1 fno valor from wsftdata order by fno desc
20241218@142750.9833 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142750.9852 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@142750.9876 89iorl1fimn82q3au2gmb85tbs Query : select 'normal' from dummy
20241218@142750.9924 89iorl1fimn82q3au2gmb85tbs Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762d885106762dbe6c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2533,100810,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@142751.3480 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142751.3520 89iorl1fimn82q3au2gmb85tbs Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241218@142751.4570 89iorl1fimn82q3au2gmb85tbs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20241218@142751.6010 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.6180 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@142751.6460 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.6610 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@142751.6710 89iorl1fimn82q3au2gmb85tbs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@142751.7140 89iorl1fimn82q3au2gmb85tbs Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241218@142751.7940 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.8090 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@142751.8230 89iorl1fimn82q3au2gmb85tbs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762d121236762dbe713','aut6762d885106762dbe6c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@142751.8780 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.8950 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@142751.9270 89iorl1fimn82q3au2gmb85tbs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6762d121236762dbe713',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6762d885106762dbe6c7' ,0,0 ,2,23.00,10000,?,?,?,?)
20241218@142751.1492 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142751.1496 89iorl1fimn82q3au2gmb85tbs Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241218@142751.1519 89iorl1fimn82q3au2gmb85tbs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20241218@142751.1658 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.1924 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@142751.1953 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.1970 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@142751.1981 89iorl1fimn82q3au2gmb85tbs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@142751.1994 89iorl1fimn82q3au2gmb85tbs Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241218@142751.2007 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2022 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@142751.2034 89iorl1fimn82q3au2gmb85tbs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762d275266762dbe731','aut6762d885106762dbe6c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@142751.2039 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2056 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@142751.2085 89iorl1fimn82q3au2gmb85tbs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6762d275266762dbe731',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut6762d885106762dbe6c7' ,0,0 ,2,23.00,20000,?,?,?,?)
20241218@142751.2320 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142751.2324 89iorl1fimn82q3au2gmb85tbs Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241218@142751.2360 89iorl1fimn82q3au2gmb85tbs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20241218@142751.2375 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2392 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@142751.2419 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2434 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@142751.2444 89iorl1fimn82q3au2gmb85tbs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@142751.2461 89iorl1fimn82q3au2gmb85tbs Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241218@142751.2475 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2492 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@142751.2505 89iorl1fimn82q3au2gmb85tbs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762d683566762dbe73c','aut6762d885106762dbe6c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@142751.2510 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2539 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@142751.2571 89iorl1fimn82q3au2gmb85tbs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6762d683566762dbe73c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut6762d885106762dbe6c7' ,0,0 ,2,23.00,30000,?,?,?,?)
20241218@142751.2832 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142751.2836 89iorl1fimn82q3au2gmb85tbs Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241218@142751.2863 89iorl1fimn82q3au2gmb85tbs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20241218@142751.2876 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2893 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@142751.2919 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2934 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@142751.2943 89iorl1fimn82q3au2gmb85tbs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@142751.2955 89iorl1fimn82q3au2gmb85tbs Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241218@142751.2968 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.2985 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@142751.2997 89iorl1fimn82q3au2gmb85tbs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762d520476762dbe748','aut6762d885106762dbe6c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@142751.3001 89iorl1fimn82q3au2gmb85tbs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@142751.3015 89iorl1fimn82q3au2gmb85tbs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@142751.3050 89iorl1fimn82q3au2gmb85tbs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6762d520476762dbe748',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut6762d885106762dbe6c7' ,0,0 ,2,23.00,40000,?,?,?,?)
20241218@142751.3286 89iorl1fimn82q3au2gmb85tbs Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762d885106762dbe6c7','2408756','wait',39,'adm09112754980.682000002')
20241218@142751.3393 89iorl1fimn82q3au2gmb85tbs Query : use flama_phc
20241218@142751.3397 89iorl1fimn82q3au2gmb85tbs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@142751.3427 89iorl1fimn82q3au2gmb85tbs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4071';
20241218@142751.3469 89iorl1fimn82q3au2gmb85tbs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4071';
20241218@142751.3520 89iorl1fimn82q3au2gmb85tbs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4071';
20241218@142751.3557 89iorl1fimn82q3au2gmb85tbs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4071';

20241218@145759.5503 cdlvhp76vp7nmr1161tdl3ibsg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4072';
20241218@145759.5586 cdlvhp76vp7nmr1161tdl3ibsg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4072';
20241218@145759.5627 cdlvhp76vp7nmr1161tdl3ibsg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4072';
20241218@145759.5687 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.5691 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145759.5757 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.5760 cdlvhp76vp7nmr1161tdl3ibsg Query : select no, estab,szadrsdesc from szadrs where u_coddest=2227
20241218@145759.5861 cdlvhp76vp7nmr1161tdl3ibsg 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'
20241218@145759.6020 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408642 and bi.ref ='304.4320.00.1' and bi.lordem =2
20241218@145759.6359 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241218@145759.6492 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408642 and bi.ref ='324.2222.00.1' and bi.lordem =3
20241218@145759.6834 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.6838 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145759.6874 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.6878 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145759.6911 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.6915 cdlvhp76vp7nmr1161tdl3ibsg 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')
20241218@145759.6947 cdlvhp76vp7nmr1161tdl3ibsg 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
20241218@145759.6991 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.6994 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 ~inactivo valor from cl where no = '101428' and estab = 0 order by inactivo desc
20241218@145759.7124 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.7127 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145759.7158 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.7161 cdlvhp76vp7nmr1161tdl3ibsg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145759.7203 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.7206 cdlvhp76vp7nmr1161tdl3ibsg Query : select szadrsstamp valor from szadrs where szadrsdesc='el corte inglês - alcochete'
20241218@145759.7255 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.7258 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from td where ndoc = 39
20241218@145759.7272 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145759.7290 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.7310 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145759.7333 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.7350 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145759.7387 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.7409 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145759.7424 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145759.7490 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145759.7508 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.7524 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145759.7542 cdlvhp76vp7nmr1161tdl3ibsg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e181056762e2f7b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145759.7741 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.7763 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145759.7800 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145759.7813 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145759.7827 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145759.7839 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145759.7851 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145759.7864 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145759.7876 cdlvhp76vp7nmr1161tdl3ibsg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e181056762e2f7b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145759.8330 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145759.8373 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.8392 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145759.8417 cdlvhp76vp7nmr1161tdl3ibsg Query : select 'normal' from dummy
20241218@145759.8436 cdlvhp76vp7nmr1161tdl3ibsg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e181056762e2f7b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2534,101428,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145759.8787 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.8790 cdlvhp76vp7nmr1161tdl3ibsg Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241218@145759.8813 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241218@145759.8947 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.8963 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145759.8988 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.9004 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145759.9016 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145759.9034 cdlvhp76vp7nmr1161tdl3ibsg Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241218@145759.9066 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.9082 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145759.9097 cdlvhp76vp7nmr1161tdl3ibsg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e604226762e2f7dd','aut6762e181056762e2f7b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145759.9113 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.9129 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145759.9158 cdlvhp76vp7nmr1161tdl3ibsg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e604226762e2f7dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6762e181056762e2f7b5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145759.9417 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145759.9421 cdlvhp76vp7nmr1161tdl3ibsg Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241218@145759.9442 cdlvhp76vp7nmr1161tdl3ibsg 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.2222.00.1'
20241218@145759.9590 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.9610 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145759.9641 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.9656 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145759.9666 cdlvhp76vp7nmr1161tdl3ibsg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145759.9679 cdlvhp76vp7nmr1161tdl3ibsg Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301280100a'
20241218@145759.9702 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.9717 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145759.9730 cdlvhp76vp7nmr1161tdl3ibsg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e125766762e2f7ec','aut6762e181056762e2f7b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145759.9736 cdlvhp76vp7nmr1161tdl3ibsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145759.9752 cdlvhp76vp7nmr1161tdl3ibsg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145759.9783 cdlvhp76vp7nmr1161tdl3ibsg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e125766762e2f7ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6762e181056762e2f7b5' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241218@145800.1050 cdlvhp76vp7nmr1161tdl3ibsg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e181056762e2f7b5','2408642','wait',39,'adm09112754980.682000002')
20241218@145800.1780 cdlvhp76vp7nmr1161tdl3ibsg Query : use flama_phc
20241218@145800.1820 cdlvhp76vp7nmr1161tdl3ibsg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145800.2480 cdlvhp76vp7nmr1161tdl3ibsg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4072';
20241218@145800.3950 cdlvhp76vp7nmr1161tdl3ibsg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4072';
20241218@145800.5530 cdlvhp76vp7nmr1161tdl3ibsg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4072';
20241218@145800.6600 cdlvhp76vp7nmr1161tdl3ibsg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4072';
20241218@145800.1393 tqcedg7parh9arpfvipq7437pe Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145800.1411 tqcedg7parh9arpfvipq7437pe Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145800.1517 tqcedg7parh9arpfvipq7437pe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4073';
20241218@145800.1637 tqcedg7parh9arpfvipq7437pe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4073';
20241218@145800.1743 tqcedg7parh9arpfvipq7437pe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4073';
20241218@145800.1810 tqcedg7parh9arpfvipq7437pe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4073';
20241218@145800.2081 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.2143 tqcedg7parh9arpfvipq7437pe Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145800.2287 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.2294 tqcedg7parh9arpfvipq7437pe Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241218@145800.2476 tqcedg7parh9arpfvipq7437pe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241218@145800.2692 tqcedg7parh9arpfvipq7437pe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408643 and bi.ref ='324.2301.00.3' and bi.lordem =1
20241218@145800.3349 tqcedg7parh9arpfvipq7437pe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241218@145800.3388 tqcedg7parh9arpfvipq7437pe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408643 and bi.ref ='324.2301.00.3' and bi.lordem =1
20241218@145800.3407 tqcedg7parh9arpfvipq7437pe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20241218@145800.3585 tqcedg7parh9arpfvipq7437pe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408643 and bi.ref ='324.2317.00.1' and bi.lordem =2
20241218@145800.4141 tqcedg7parh9arpfvipq7437pe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241218@145800.4323 tqcedg7parh9arpfvipq7437pe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408643 and bi.ref ='324.2330.00.1' and bi.lordem =3
20241218@145800.5084 tqcedg7parh9arpfvipq7437pe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241218@145800.5125 tqcedg7parh9arpfvipq7437pe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408643 and bi.ref ='324.2330.00.1' and bi.lordem =4
20241218@145800.5704 tqcedg7parh9arpfvipq7437pe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241218@145800.5768 tqcedg7parh9arpfvipq7437pe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408643 and bi.ref ='324.2330.00.1' and bi.lordem =4
20241218@145800.5852 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.5898 tqcedg7parh9arpfvipq7437pe Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145800.6159 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.6164 tqcedg7parh9arpfvipq7437pe Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145800.6196 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.6201 tqcedg7parh9arpfvipq7437pe 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')
20241218@145800.6231 tqcedg7parh9arpfvipq7437pe 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
20241218@145800.6274 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.6278 tqcedg7parh9arpfvipq7437pe Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241218@145800.6397 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.6400 tqcedg7parh9arpfvipq7437pe Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145800.6432 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.6436 tqcedg7parh9arpfvipq7437pe Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145800.6478 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.6482 tqcedg7parh9arpfvipq7437pe Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241218@145800.6557 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.6580 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from td where ndoc = 39
20241218@145800.6595 tqcedg7parh9arpfvipq7437pe Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145800.6610 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145800.6629 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145800.6704 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145800.6727 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145800.6877 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145800.6904 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145800.6961 tqcedg7parh9arpfvipq7437pe Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145800.7028 tqcedg7parh9arpfvipq7437pe Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145800.7072 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145800.7092 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145800.7151 tqcedg7parh9arpfvipq7437pe Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e034756762e2f8a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145800.7337 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145800.7401 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145800.7448 tqcedg7parh9arpfvipq7437pe Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145800.7465 tqcedg7parh9arpfvipq7437pe Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145800.7478 tqcedg7parh9arpfvipq7437pe Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145800.7490 tqcedg7parh9arpfvipq7437pe Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145800.7504 tqcedg7parh9arpfvipq7437pe Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145800.7516 tqcedg7parh9arpfvipq7437pe Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145800.7562 tqcedg7parh9arpfvipq7437pe Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e034756762e2f8a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145800.7808 tqcedg7parh9arpfvipq7437pe Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145800.7851 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145800.7867 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145800.7893 tqcedg7parh9arpfvipq7437pe Query : select 'normal' from dummy
20241218@145800.7930 tqcedg7parh9arpfvipq7437pe Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e034756762e2f8a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2535,102943,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145800.8233 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145800.8246 tqcedg7parh9arpfvipq7437pe Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241218@145800.8296 tqcedg7parh9arpfvipq7437pe 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.2301.00.3'
20241218@145800.8613 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145800.8644 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145800.9808 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.9000 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.2000 tqcedg7parh9arpfvipq7437pe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145801.3300 tqcedg7parh9arpfvipq7437pe Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241218@145801.5200 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6900 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.8200 tqcedg7parh9arpfvipq7437pe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e928446762e2f901','aut6762e034756762e2f8a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145801.9600 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.1760 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.2690 tqcedg7parh9arpfvipq7437pe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e928446762e2f901',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6762e034756762e2f8a9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145801.5600 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145801.5650 tqcedg7parh9arpfvipq7437pe Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241218@145801.5960 tqcedg7parh9arpfvipq7437pe 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.2301.00.3'
20241218@145801.6430 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6790 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.7140 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.7320 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.7420 tqcedg7parh9arpfvipq7437pe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145801.7560 tqcedg7parh9arpfvipq7437pe Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241218@145801.7710 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.7870 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.8130 tqcedg7parh9arpfvipq7437pe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e172586762e2f912','aut6762e034756762e2f8a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145801.8180 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.8340 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.8940 tqcedg7parh9arpfvipq7437pe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e172586762e2f912',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6762e034756762e2f8a9' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241218@145801.1170 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145801.1175 tqcedg7parh9arpfvipq7437pe Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20241218@145801.1252 tqcedg7parh9arpfvipq7437pe 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.2317.00.1'
20241218@145801.1402 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.1420 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.1489 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.1510 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.1527 tqcedg7parh9arpfvipq7437pe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145801.1566 tqcedg7parh9arpfvipq7437pe Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2400475100a'
20241218@145801.1630 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.1713 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.1764 tqcedg7parh9arpfvipq7437pe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e742966762e2f927','aut6762e034756762e2f8a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145801.1769 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.1803 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.1907 tqcedg7parh9arpfvipq7437pe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e742966762e2f927',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',126.000 ,'aut6762e034756762e2f8a9' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241218@145801.2469 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.2649 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.2983 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.3277 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.3323 tqcedg7parh9arpfvipq7437pe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145801.3376 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.3408 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.3420 tqcedg7parh9arpfvipq7437pe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e830396762e2f952','aut6762e034756762e2f8a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145801.3425 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.3458 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.3608 tqcedg7parh9arpfvipq7437pe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6762e830396762e2f952',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6762e034756762e2f8a9' ,0,0 ,2,23.00,40000,?,?,?)
20241218@145801.4387 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145801.4393 tqcedg7parh9arpfvipq7437pe Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241218@145801.4444 tqcedg7parh9arpfvipq7437pe 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.2330.00.1'
20241218@145801.4649 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.4705 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.4790 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.4912 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.4961 tqcedg7parh9arpfvipq7437pe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145801.4989 tqcedg7parh9arpfvipq7437pe Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241218@145801.5034 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.5057 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.5071 tqcedg7parh9arpfvipq7437pe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e546116762e2f97a','aut6762e034756762e2f8a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145801.5076 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.5380 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.5488 tqcedg7parh9arpfvipq7437pe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e546116762e2f97a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6762e034756762e2f8a9' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241218@145801.5872 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145801.5876 tqcedg7parh9arpfvipq7437pe Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241218@145801.5907 tqcedg7parh9arpfvipq7437pe 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.2330.00.1'
20241218@145801.5926 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.5949 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.5981 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6002 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.6011 tqcedg7parh9arpfvipq7437pe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145801.6024 tqcedg7parh9arpfvipq7437pe Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241218@145801.6070 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6093 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.6114 tqcedg7parh9arpfvipq7437pe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e059216762e2f994','aut6762e034756762e2f8a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145801.6119 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6136 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.6173 tqcedg7parh9arpfvipq7437pe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e059216762e2f994',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6762e034756762e2f8a9' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241218@145801.6423 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145801.6426 tqcedg7parh9arpfvipq7437pe Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241218@145801.6449 tqcedg7parh9arpfvipq7437pe 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.2330.00.1'
20241218@145801.6465 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6483 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.6512 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6530 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.6540 tqcedg7parh9arpfvipq7437pe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145801.6555 tqcedg7parh9arpfvipq7437pe Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241218@145801.6591 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6619 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145801.6632 tqcedg7parh9arpfvipq7437pe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e752246762e2f9a0','aut6762e034756762e2f8a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145801.6638 tqcedg7parh9arpfvipq7437pe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145801.6658 tqcedg7parh9arpfvipq7437pe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145801.6696 tqcedg7parh9arpfvipq7437pe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e752246762e2f9a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6762e034756762e2f8a9' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241218@145801.7118 tqcedg7parh9arpfvipq7437pe Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e034756762e2f8a9','2408643','wait',39,'adm09112754980.682000002')
20241218@145801.7388 tqcedg7parh9arpfvipq7437pe Query : use flama_phc
20241218@145801.7393 tqcedg7parh9arpfvipq7437pe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145801.7442 tqcedg7parh9arpfvipq7437pe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4073';
20241218@145801.7500 tqcedg7parh9arpfvipq7437pe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4073';
20241218@145801.7574 tqcedg7parh9arpfvipq7437pe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4073';
20241218@145801.7641 tqcedg7parh9arpfvipq7437pe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4073';
20241218@145801.8254 a91khgapf9vltjm0kmfq89su2t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145801.8269 a91khgapf9vltjm0kmfq89su2t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145801.8351 a91khgapf9vltjm0kmfq89su2t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4074';
20241218@145801.8432 a91khgapf9vltjm0kmfq89su2t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4074';
20241218@145801.8523 a91khgapf9vltjm0kmfq89su2t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4074';
20241218@145801.8573 a91khgapf9vltjm0kmfq89su2t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4074';
20241218@145801.8786 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145801.8790 a91khgapf9vltjm0kmfq89su2t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145801.8875 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145801.8879 a91khgapf9vltjm0kmfq89su2t Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241218@145801.8932 a91khgapf9vltjm0kmfq89su2t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241218@145802.3100 a91khgapf9vltjm0kmfq89su2t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408672 and bi.ref ='324.1332.00.1' and bi.lordem =1
20241218@145802.3580 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.3620 a91khgapf9vltjm0kmfq89su2t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145802.4090 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.4140 a91khgapf9vltjm0kmfq89su2t Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145802.4490 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.4530 a91khgapf9vltjm0kmfq89su2t 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')
20241218@145802.5040 a91khgapf9vltjm0kmfq89su2t 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
20241218@145802.5570 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.5630 a91khgapf9vltjm0kmfq89su2t Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241218@145802.5980 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.6010 a91khgapf9vltjm0kmfq89su2t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145802.6380 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.6420 a91khgapf9vltjm0kmfq89su2t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145802.6970 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.7010 a91khgapf9vltjm0kmfq89su2t Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241218@145802.7530 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.7570 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from td where ndoc = 39
20241218@145802.7710 a91khgapf9vltjm0kmfq89su2t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145802.7880 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.8080 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145802.8350 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.8530 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145802.8880 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.9050 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145802.9180 a91khgapf9vltjm0kmfq89su2t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145802.9730 a91khgapf9vltjm0kmfq89su2t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145802.9920 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.1013 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145802.1031 a91khgapf9vltjm0kmfq89su2t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e953076762e2fa16' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145802.1308 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.1327 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145802.1364 a91khgapf9vltjm0kmfq89su2t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145802.1377 a91khgapf9vltjm0kmfq89su2t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145802.1389 a91khgapf9vltjm0kmfq89su2t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145802.1415 a91khgapf9vltjm0kmfq89su2t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145802.1427 a91khgapf9vltjm0kmfq89su2t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145802.1439 a91khgapf9vltjm0kmfq89su2t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145802.1450 a91khgapf9vltjm0kmfq89su2t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e953076762e2fa16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145802.1685 a91khgapf9vltjm0kmfq89su2t Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145802.1719 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.1739 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145802.1765 a91khgapf9vltjm0kmfq89su2t Query : select 'normal' from dummy
20241218@145802.1782 a91khgapf9vltjm0kmfq89su2t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e953076762e2fa16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2536,102943,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145802.2303 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.2307 a91khgapf9vltjm0kmfq89su2t Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241218@145802.2334 a91khgapf9vltjm0kmfq89su2t 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.1332.00.1'
20241218@145802.2477 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.2496 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145802.2523 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.2538 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145802.2547 a91khgapf9vltjm0kmfq89su2t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145802.2559 a91khgapf9vltjm0kmfq89su2t Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241218@145802.2574 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.2592 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145802.2604 a91khgapf9vltjm0kmfq89su2t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e684116762e2fa3e','aut6762e953076762e2fa16' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145802.2609 a91khgapf9vltjm0kmfq89su2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.2625 a91khgapf9vltjm0kmfq89su2t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145802.2654 a91khgapf9vltjm0kmfq89su2t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e684116762e2fa3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6762e953076762e2fa16' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145802.2909 a91khgapf9vltjm0kmfq89su2t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e953076762e2fa16','2408672','wait',39,'adm09112754980.682000002')
20241218@145802.2982 a91khgapf9vltjm0kmfq89su2t Query : use flama_phc
20241218@145802.2985 a91khgapf9vltjm0kmfq89su2t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145802.3018 a91khgapf9vltjm0kmfq89su2t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4074';
20241218@145802.3062 a91khgapf9vltjm0kmfq89su2t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4074';
20241218@145802.3117 a91khgapf9vltjm0kmfq89su2t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4074';
20241218@145802.3151 a91khgapf9vltjm0kmfq89su2t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4074';
20241218@145802.3693 tautb99ldhvo41gvimlvj9jomf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145802.3704 tautb99ldhvo41gvimlvj9jomf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145802.3773 tautb99ldhvo41gvimlvj9jomf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4075';
20241218@145802.3870 tautb99ldhvo41gvimlvj9jomf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4075';
20241218@145802.3961 tautb99ldhvo41gvimlvj9jomf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4075';
20241218@145802.4009 tautb99ldhvo41gvimlvj9jomf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4075';
20241218@145802.4151 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.4157 tautb99ldhvo41gvimlvj9jomf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145802.4437 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.4442 tautb99ldhvo41gvimlvj9jomf Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241218@145802.4491 tautb99ldhvo41gvimlvj9jomf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9005.00.1'
20241218@145802.4636 tautb99ldhvo41gvimlvj9jomf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408693 and bi.ref ='328.9005.00.1' and bi.lordem =1
20241218@145802.4978 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.4983 tautb99ldhvo41gvimlvj9jomf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145802.5015 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.5018 tautb99ldhvo41gvimlvj9jomf Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145802.5054 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.5057 tautb99ldhvo41gvimlvj9jomf 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')
20241218@145802.5088 tautb99ldhvo41gvimlvj9jomf 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
20241218@145802.5125 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.5128 tautb99ldhvo41gvimlvj9jomf Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241218@145802.5160 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.5163 tautb99ldhvo41gvimlvj9jomf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145802.5193 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.5196 tautb99ldhvo41gvimlvj9jomf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145802.5263 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.5268 tautb99ldhvo41gvimlvj9jomf Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241218@145802.5366 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.5370 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from td where ndoc = 39
20241218@145802.5392 tautb99ldhvo41gvimlvj9jomf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145802.5413 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.5454 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145802.5479 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.5499 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145802.5569 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.5589 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145802.5610 tautb99ldhvo41gvimlvj9jomf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145802.5709 tautb99ldhvo41gvimlvj9jomf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145802.5742 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.5761 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145802.5784 tautb99ldhvo41gvimlvj9jomf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e689016762e2fa88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145802.5967 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.5997 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145802.6040 tautb99ldhvo41gvimlvj9jomf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145802.6055 tautb99ldhvo41gvimlvj9jomf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145802.6069 tautb99ldhvo41gvimlvj9jomf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145802.6084 tautb99ldhvo41gvimlvj9jomf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145802.6107 tautb99ldhvo41gvimlvj9jomf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145802.6122 tautb99ldhvo41gvimlvj9jomf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145802.6136 tautb99ldhvo41gvimlvj9jomf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e689016762e2fa88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145802.6448 tautb99ldhvo41gvimlvj9jomf Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145802.6483 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.6501 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145802.6532 tautb99ldhvo41gvimlvj9jomf Query : select 'normal' from dummy
20241218@145802.6549 tautb99ldhvo41gvimlvj9jomf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e689016762e2fa88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2537,102943,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145802.6865 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.6869 tautb99ldhvo41gvimlvj9jomf Query : select st.usalote valor from st where st.ref = '328.9005.00.1'
20241218@145802.6895 tautb99ldhvo41gvimlvj9jomf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9005.00.1'
20241218@145802.7048 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.7064 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145802.7092 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.7107 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145802.7116 tautb99ldhvo41gvimlvj9jomf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145802.7127 tautb99ldhvo41gvimlvj9jomf Query : select sestamp valor from se where ref ='328.9005.00.1' and lote = 'r2100770200a'
20241218@145802.7151 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.7165 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145802.7350 tautb99ldhvo41gvimlvj9jomf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e605256762e2faae','aut6762e689016762e2fa88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145802.7377 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.7397 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145802.7457 tautb99ldhvo41gvimlvj9jomf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e605256762e2faae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6762e689016762e2fa88' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145802.7736 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.7910 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145802.7936 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.7952 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145802.7961 tautb99ldhvo41gvimlvj9jomf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145802.7975 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.8063 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145802.8074 tautb99ldhvo41gvimlvj9jomf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e696536762e2fac2','aut6762e689016762e2fa88' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145802.8080 tautb99ldhvo41gvimlvj9jomf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145802.8140 tautb99ldhvo41gvimlvj9jomf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145802.8192 tautb99ldhvo41gvimlvj9jomf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6762e696536762e2fac2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6762e689016762e2fa88' ,0,0 ,2,23.00,20000,?,?,?)
20241218@145802.8453 tautb99ldhvo41gvimlvj9jomf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e689016762e2fa88','2408693','wait',39,'adm09112754980.682000002')
20241218@145802.8538 tautb99ldhvo41gvimlvj9jomf Query : use flama_phc
20241218@145802.8542 tautb99ldhvo41gvimlvj9jomf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145802.8572 tautb99ldhvo41gvimlvj9jomf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4075';
20241218@145802.8618 tautb99ldhvo41gvimlvj9jomf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4075';
20241218@145802.8707 tautb99ldhvo41gvimlvj9jomf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4075';
20241218@145802.8749 tautb99ldhvo41gvimlvj9jomf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4075';
20241218@145802.9412 60gp04m85hcltkh8imlk9omovc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145802.9423 60gp04m85hcltkh8imlk9omovc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145802.9494 60gp04m85hcltkh8imlk9omovc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4076';
20241218@145802.9561 60gp04m85hcltkh8imlk9omovc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4076';
20241218@145802.9621 60gp04m85hcltkh8imlk9omovc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4076';
20241218@145802.9658 60gp04m85hcltkh8imlk9omovc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4076';
20241218@145802.9717 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145802.9720 60gp04m85hcltkh8imlk9omovc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145802.9783 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145802.9786 60gp04m85hcltkh8imlk9omovc Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241218@145802.9876 60gp04m85hcltkh8imlk9omovc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241218@145803.1300 60gp04m85hcltkh8imlk9omovc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408721 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241218@145803.3380 60gp04m85hcltkh8imlk9omovc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241218@145803.3590 60gp04m85hcltkh8imlk9omovc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408721 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241218@145803.3760 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.3790 60gp04m85hcltkh8imlk9omovc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145803.4110 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.4140 60gp04m85hcltkh8imlk9omovc Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145803.4470 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.4500 60gp04m85hcltkh8imlk9omovc 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')
20241218@145803.7860 60gp04m85hcltkh8imlk9omovc 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
20241218@145803.8210 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.8240 60gp04m85hcltkh8imlk9omovc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241218@145803.8560 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.8580 60gp04m85hcltkh8imlk9omovc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145803.8880 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.8920 60gp04m85hcltkh8imlk9omovc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145803.1403 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.1408 60gp04m85hcltkh8imlk9omovc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241218@145803.2284 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.2287 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from td where ndoc = 39
20241218@145803.2302 60gp04m85hcltkh8imlk9omovc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145803.2316 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.2333 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145803.2352 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.2370 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145803.2400 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.2414 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145803.2429 60gp04m85hcltkh8imlk9omovc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145803.2484 60gp04m85hcltkh8imlk9omovc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145803.2497 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.2513 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145803.2529 60gp04m85hcltkh8imlk9omovc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e765496762e2fb3b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145803.2691 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.2714 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145803.2752 60gp04m85hcltkh8imlk9omovc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145803.2767 60gp04m85hcltkh8imlk9omovc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145803.2783 60gp04m85hcltkh8imlk9omovc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145803.2798 60gp04m85hcltkh8imlk9omovc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145803.2820 60gp04m85hcltkh8imlk9omovc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145803.2835 60gp04m85hcltkh8imlk9omovc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145803.2849 60gp04m85hcltkh8imlk9omovc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e765496762e2fb3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145803.3110 60gp04m85hcltkh8imlk9omovc Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145803.3147 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.3165 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145803.3193 60gp04m85hcltkh8imlk9omovc Query : select 'normal' from dummy
20241218@145803.3212 60gp04m85hcltkh8imlk9omovc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e765496762e2fb3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2538,100810,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145803.3574 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.3577 60gp04m85hcltkh8imlk9omovc Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241218@145803.3610 60gp04m85hcltkh8imlk9omovc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241218@145803.3761 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.3785 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145803.3828 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.3847 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145803.3858 60gp04m85hcltkh8imlk9omovc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145803.3874 60gp04m85hcltkh8imlk9omovc Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20241218@145803.3892 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.3914 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145803.3928 60gp04m85hcltkh8imlk9omovc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e281776762e2fb5f','aut6762e765496762e2fb3b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145803.3934 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.3953 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145803.3998 60gp04m85hcltkh8imlk9omovc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e281776762e2fb5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6762e765496762e2fb3b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145803.4297 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.4322 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145803.4360 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.4379 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145803.4388 60gp04m85hcltkh8imlk9omovc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145803.4403 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.4420 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145803.4433 60gp04m85hcltkh8imlk9omovc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e073946762e2fb6b','aut6762e765496762e2fb3b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145803.4438 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.4456 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145803.4491 60gp04m85hcltkh8imlk9omovc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6762e073946762e2fb6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6762e765496762e2fb3b' ,0,0 ,2,23.00,20000,?,?,?)
20241218@145803.4852 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.4858 60gp04m85hcltkh8imlk9omovc Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241218@145803.4881 60gp04m85hcltkh8imlk9omovc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241218@145803.4899 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.4917 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145803.4956 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.4982 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145803.4992 60gp04m85hcltkh8imlk9omovc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145803.5007 60gp04m85hcltkh8imlk9omovc Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20241218@145803.5021 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.5043 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145803.5056 60gp04m85hcltkh8imlk9omovc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e958926762e2fb7a','aut6762e765496762e2fb3b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145803.5061 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.5077 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145803.5110 60gp04m85hcltkh8imlk9omovc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e958926762e2fb7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6762e765496762e2fb3b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241218@145803.5454 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.5475 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145803.5511 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.5529 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145803.5541 60gp04m85hcltkh8imlk9omovc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145803.5556 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.5572 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145803.5585 60gp04m85hcltkh8imlk9omovc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e045456762e2fb87','aut6762e765496762e2fb3b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145803.5591 60gp04m85hcltkh8imlk9omovc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.5606 60gp04m85hcltkh8imlk9omovc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145803.5634 60gp04m85hcltkh8imlk9omovc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6762e045456762e2fb87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6762e765496762e2fb3b' ,0,0 ,2,23.00,50000,?,?,?)
20241218@145803.5990 60gp04m85hcltkh8imlk9omovc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e765496762e2fb3b','2408721','wait',39,'adm09112754980.682000002')
20241218@145803.6068 60gp04m85hcltkh8imlk9omovc Query : use flama_phc
20241218@145803.6072 60gp04m85hcltkh8imlk9omovc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145803.6108 60gp04m85hcltkh8imlk9omovc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4076';
20241218@145803.6173 60gp04m85hcltkh8imlk9omovc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4076';
20241218@145803.6236 60gp04m85hcltkh8imlk9omovc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4076';
20241218@145803.6294 60gp04m85hcltkh8imlk9omovc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4076';
20241218@145803.6991 cn95p2c0dq884j945l9dq6nb04 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145803.7002 cn95p2c0dq884j945l9dq6nb04 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145803.7081 cn95p2c0dq884j945l9dq6nb04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4077';
20241218@145803.7174 cn95p2c0dq884j945l9dq6nb04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4077';
20241218@145803.7263 cn95p2c0dq884j945l9dq6nb04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4077';
20241218@145803.7308 cn95p2c0dq884j945l9dq6nb04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4077';
20241218@145803.7370 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.7374 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145803.7435 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.7439 cn95p2c0dq884j945l9dq6nb04 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6975
20241218@145803.7541 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241218@145803.7562 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408736 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241218@145803.7934 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.7938 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145803.8001 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.8006 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145803.8063 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.8068 cn95p2c0dq884j945l9dq6nb04 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')
20241218@145803.8121 cn95p2c0dq884j945l9dq6nb04 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
20241218@145803.8158 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.8161 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241218@145803.8425 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.8431 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145803.8469 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.8472 cn95p2c0dq884j945l9dq6nb04 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145803.8519 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.8522 cn95p2c0dq884j945l9dq6nb04 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - tarragona'
20241218@145803.8623 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145803.8654 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from td where ndoc = 39
20241218@145803.8679 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145803.8849 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.8867 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145803.9023 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.9182 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145803.9216 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.9232 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145803.9247 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145803.9321 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145803.9335 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.9359 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145803.9374 cn95p2c0dq884j945l9dq6nb04 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e115846762e2fbe1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145803.9605 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145803.9797 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145803.9839 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145803.9856 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145803.9870 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145803.9883 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145803.9897 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145803.9950 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145804.3700 cn95p2c0dq884j945l9dq6nb04 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e115846762e2fbe1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145804.3220 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145804.3540 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.3880 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145804.4130 cn95p2c0dq884j945l9dq6nb04 Query : select 'normal' from dummy
20241218@145804.4450 cn95p2c0dq884j945l9dq6nb04 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e115846762e2fbe1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2539,200500,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145804.8440 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145804.8480 cn95p2c0dq884j945l9dq6nb04 Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241218@145804.8820 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241218@145804.8970 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.9360 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.9920 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.1012 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.1021 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145804.1032 cn95p2c0dq884j945l9dq6nb04 Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20241218@145804.1050 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.1067 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.1100 cn95p2c0dq884j945l9dq6nb04 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e581396762e2fc19','aut6762e115846762e2fbe1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145804.1110 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.1128 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.1169 cn95p2c0dq884j945l9dq6nb04 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e581396762e2fc19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6762e115846762e2fbe1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145804.1424 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.1445 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.1478 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.1496 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.1505 cn95p2c0dq884j945l9dq6nb04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145804.1518 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.1557 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.1570 cn95p2c0dq884j945l9dq6nb04 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e121746762e2fc25','aut6762e115846762e2fbe1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145804.1574 cn95p2c0dq884j945l9dq6nb04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.1590 cn95p2c0dq884j945l9dq6nb04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.1620 cn95p2c0dq884j945l9dq6nb04 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6762e121746762e2fc25',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6762e115846762e2fbe1' ,0,0 ,2,23.00,20000,?,?,?)
20241218@145804.1880 cn95p2c0dq884j945l9dq6nb04 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e115846762e2fbe1','2408736','wait',39,'adm09112754980.682000002')
20241218@145804.1953 cn95p2c0dq884j945l9dq6nb04 Query : use flama_phc
20241218@145804.1956 cn95p2c0dq884j945l9dq6nb04 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145804.1993 cn95p2c0dq884j945l9dq6nb04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4077';
20241218@145804.2035 cn95p2c0dq884j945l9dq6nb04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4077';
20241218@145804.2085 cn95p2c0dq884j945l9dq6nb04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4077';
20241218@145804.2123 cn95p2c0dq884j945l9dq6nb04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4077';
20241218@145804.3355 g1u132bfr82ke9f9n98et10m7q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145804.3441 g1u132bfr82ke9f9n98et10m7q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145804.4617 g1u132bfr82ke9f9n98et10m7q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4078';
20241218@145804.4688 g1u132bfr82ke9f9n98et10m7q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4078';
20241218@145804.4753 g1u132bfr82ke9f9n98et10m7q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4078';
20241218@145804.4793 g1u132bfr82ke9f9n98et10m7q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4078';
20241218@145804.4853 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.4859 g1u132bfr82ke9f9n98et10m7q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145804.4920 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.4923 g1u132bfr82ke9f9n98et10m7q Query : select no, estab,szadrsdesc from szadrs where u_coddest=5187
20241218@145804.5027 g1u132bfr82ke9f9n98et10m7q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241218@145804.5057 g1u132bfr82ke9f9n98et10m7q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408738 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241218@145804.5936 g1u132bfr82ke9f9n98et10m7q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241218@145804.5962 g1u132bfr82ke9f9n98et10m7q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408738 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241218@145804.5979 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.5983 g1u132bfr82ke9f9n98et10m7q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145804.6014 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.6017 g1u132bfr82ke9f9n98et10m7q Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145804.6049 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.6052 g1u132bfr82ke9f9n98et10m7q 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')
20241218@145804.6080 g1u132bfr82ke9f9n98et10m7q 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
20241218@145804.6117 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.6121 g1u132bfr82ke9f9n98et10m7q Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241218@145804.6153 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.6158 g1u132bfr82ke9f9n98et10m7q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145804.6201 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.6205 g1u132bfr82ke9f9n98et10m7q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145804.6250 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.6253 g1u132bfr82ke9f9n98et10m7q Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - grucoga'
20241218@145804.6305 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.6308 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from td where ndoc = 39
20241218@145804.6339 g1u132bfr82ke9f9n98et10m7q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145804.6352 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.6418 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145804.6443 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.6500 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145804.6732 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.6749 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145804.6796 g1u132bfr82ke9f9n98et10m7q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145804.6856 g1u132bfr82ke9f9n98et10m7q Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145804.6869 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.6931 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145804.6951 g1u132bfr82ke9f9n98et10m7q Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e876056762e2fca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145804.7129 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.7153 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145804.7194 g1u132bfr82ke9f9n98et10m7q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145804.7208 g1u132bfr82ke9f9n98et10m7q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145804.7221 g1u132bfr82ke9f9n98et10m7q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145804.7233 g1u132bfr82ke9f9n98et10m7q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145804.7245 g1u132bfr82ke9f9n98et10m7q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145804.7256 g1u132bfr82ke9f9n98et10m7q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145804.7268 g1u132bfr82ke9f9n98et10m7q Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e876056762e2fca5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145804.7515 g1u132bfr82ke9f9n98et10m7q Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145804.7549 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.7601 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145804.7633 g1u132bfr82ke9f9n98et10m7q Query : select 'normal' from dummy
20241218@145804.7650 g1u132bfr82ke9f9n98et10m7q Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e876056762e2fca5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2540,200500,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145804.7971 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.7975 g1u132bfr82ke9f9n98et10m7q Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241218@145804.7999 g1u132bfr82ke9f9n98et10m7q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241218@145804.8022 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.8041 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.8071 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.8089 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.8099 g1u132bfr82ke9f9n98et10m7q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145804.8121 g1u132bfr82ke9f9n98et10m7q Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20241218@145804.8136 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.8158 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.8172 g1u132bfr82ke9f9n98et10m7q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e371216762e2fcc6','aut6762e876056762e2fca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145804.8177 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.8195 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.8227 g1u132bfr82ke9f9n98et10m7q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e371216762e2fcc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6762e876056762e2fca5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145804.8491 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.8510 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.8542 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.8559 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.8569 g1u132bfr82ke9f9n98et10m7q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145804.8583 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.8618 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.8658 g1u132bfr82ke9f9n98et10m7q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e905866762e2fcd1','aut6762e876056762e2fca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145804.8663 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.8680 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.8733 g1u132bfr82ke9f9n98et10m7q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6762e905866762e2fcd1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6762e876056762e2fca5' ,0,0 ,2,23.00,20000,?,?,?)
20241218@145804.8980 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145804.8983 g1u132bfr82ke9f9n98et10m7q Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241218@145804.9003 g1u132bfr82ke9f9n98et10m7q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241218@145804.9018 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.9034 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.9059 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.9074 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.9091 g1u132bfr82ke9f9n98et10m7q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145804.9103 g1u132bfr82ke9f9n98et10m7q Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20241218@145804.9115 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.9131 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145804.9143 g1u132bfr82ke9f9n98et10m7q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e461896762e2fcde','aut6762e876056762e2fca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145804.9147 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.9161 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.9202 g1u132bfr82ke9f9n98et10m7q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e461896762e2fcde',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6762e876056762e2fca5' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241218@145804.9607 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145804.9793 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145804.9908 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.4000 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145805.5000 g1u132bfr82ke9f9n98et10m7q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145805.6400 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.8100 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145805.1050 g1u132bfr82ke9f9n98et10m7q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e931446762e2fd01','aut6762e876056762e2fca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145805.1100 g1u132bfr82ke9f9n98et10m7q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.1260 g1u132bfr82ke9f9n98et10m7q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145805.1570 g1u132bfr82ke9f9n98et10m7q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6762e931446762e2fd01',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6762e876056762e2fca5' ,0,0 ,2,23.00,50000,?,?,?)
20241218@145805.3940 g1u132bfr82ke9f9n98et10m7q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e876056762e2fca5','2408738','wait',39,'adm09112754980.682000002')
20241218@145805.4630 g1u132bfr82ke9f9n98et10m7q Query : use flama_phc
20241218@145805.4670 g1u132bfr82ke9f9n98et10m7q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145805.4980 g1u132bfr82ke9f9n98et10m7q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4078';
20241218@145805.5370 g1u132bfr82ke9f9n98et10m7q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4078';
20241218@145805.5920 g1u132bfr82ke9f9n98et10m7q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4078';
20241218@145805.6280 g1u132bfr82ke9f9n98et10m7q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4078';
20241218@145805.1201 9i1v7rqgk8e8aegd1048uea7ir Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145805.1212 9i1v7rqgk8e8aegd1048uea7ir Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145805.1281 9i1v7rqgk8e8aegd1048uea7ir Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4079';
20241218@145805.1351 9i1v7rqgk8e8aegd1048uea7ir Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4079';
20241218@145805.1431 9i1v7rqgk8e8aegd1048uea7ir Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4079';
20241218@145805.2050 9i1v7rqgk8e8aegd1048uea7ir Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4079';
20241218@145805.2120 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.2124 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145805.2318 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.2322 9i1v7rqgk8e8aegd1048uea7ir Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20241218@145805.2429 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241218@145805.2453 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408742 and bi.ref ='327.8261.00.1' and bi.lordem =1
20241218@145805.2807 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.2811 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145805.2862 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.2866 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145805.2897 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.2900 9i1v7rqgk8e8aegd1048uea7ir 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')
20241218@145805.2932 9i1v7rqgk8e8aegd1048uea7ir 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
20241218@145805.3083 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.3087 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241218@145805.3301 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.3307 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145805.3366 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.3371 9i1v7rqgk8e8aegd1048uea7ir Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145805.3444 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.3448 9i1v7rqgk8e8aegd1048uea7ir Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20241218@145805.3624 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.3628 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from td where ndoc = 39
20241218@145805.3673 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145805.3690 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.3708 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145805.3726 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.3741 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145805.3769 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.3784 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145805.3797 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145805.3920 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145805.3933 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.3951 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145805.3968 9i1v7rqgk8e8aegd1048uea7ir Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e290746762e2fd5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145805.4139 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.4160 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145805.4201 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145805.4216 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145805.4230 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145805.4246 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145805.4260 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145805.4274 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145805.4289 9i1v7rqgk8e8aegd1048uea7ir Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e290746762e2fd5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145805.4514 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145805.4565 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.4584 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145805.4610 9i1v7rqgk8e8aegd1048uea7ir Query : select 'normal' from dummy
20241218@145805.4627 9i1v7rqgk8e8aegd1048uea7ir Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e290746762e2fd5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2541,101621,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145805.5184 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.5195 9i1v7rqgk8e8aegd1048uea7ir Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241218@145805.5223 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20241218@145805.5238 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.5256 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145805.6217 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.6590 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145805.6604 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145805.6618 9i1v7rqgk8e8aegd1048uea7ir Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20241218@145805.6632 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.6649 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145805.6661 9i1v7rqgk8e8aegd1048uea7ir Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e367206762e2fda1','aut6762e290746762e2fd5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145805.6666 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.6719 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145805.6749 9i1v7rqgk8e8aegd1048uea7ir Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e367206762e2fda1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6762e290746762e2fd5c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145805.6975 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.6992 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145805.7017 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.7032 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145805.7061 9i1v7rqgk8e8aegd1048uea7ir Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145805.7074 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.7091 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145805.7103 9i1v7rqgk8e8aegd1048uea7ir Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e449126762e2fdac','aut6762e290746762e2fd5c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145805.7108 9i1v7rqgk8e8aegd1048uea7ir Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.7122 9i1v7rqgk8e8aegd1048uea7ir Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145805.7151 9i1v7rqgk8e8aegd1048uea7ir Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6762e449126762e2fdac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6762e290746762e2fd5c' ,0,0 ,2,23.00,20000,?,?,?)
20241218@145805.7383 9i1v7rqgk8e8aegd1048uea7ir Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e290746762e2fd5c','2408742','wait',39,'adm09112754980.682000002')
20241218@145805.7452 9i1v7rqgk8e8aegd1048uea7ir Query : use flama_phc
20241218@145805.7455 9i1v7rqgk8e8aegd1048uea7ir Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145805.7484 9i1v7rqgk8e8aegd1048uea7ir Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4079';
20241218@145805.7524 9i1v7rqgk8e8aegd1048uea7ir Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4079';
20241218@145805.7573 9i1v7rqgk8e8aegd1048uea7ir Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4079';
20241218@145805.7603 9i1v7rqgk8e8aegd1048uea7ir Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4079';
20241218@145805.8248 0pet99s9ucpc33kb1o7naea7nf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145805.8259 0pet99s9ucpc33kb1o7naea7nf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145805.8326 0pet99s9ucpc33kb1o7naea7nf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4080';
20241218@145805.8385 0pet99s9ucpc33kb1o7naea7nf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4080';
20241218@145805.8447 0pet99s9ucpc33kb1o7naea7nf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4080';
20241218@145805.8480 0pet99s9ucpc33kb1o7naea7nf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4080';
20241218@145805.8538 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.8542 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145805.8609 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.8612 0pet99s9ucpc33kb1o7naea7nf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241218@145805.8661 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241218@145805.8682 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408747 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241218@145805.9015 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241218@145805.9037 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408747 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241218@145805.9056 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.9060 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145805.9095 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.9099 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145805.9130 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.9134 0pet99s9ucpc33kb1o7naea7nf 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')
20241218@145805.9164 0pet99s9ucpc33kb1o7naea7nf 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
20241218@145805.9201 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.9204 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241218@145805.9236 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.9239 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145805.9271 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.9274 0pet99s9ucpc33kb1o7naea7nf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145805.9328 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.9331 0pet99s9ucpc33kb1o7naea7nf Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241218@145805.9381 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145805.9384 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from td where ndoc = 39
20241218@145805.9399 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145805.9416 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.9436 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145805.9457 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.9472 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145805.9501 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.9516 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145805.9529 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145805.9585 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145805.9600 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.9618 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145805.9635 0pet99s9ucpc33kb1o7naea7nf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e265726762e2fde8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145805.9803 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145805.9823 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145805.9861 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145805.9874 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145805.9886 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145805.9899 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145805.9911 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145805.9923 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145805.9935 0pet99s9ucpc33kb1o7naea7nf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e265726762e2fde8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145806.1780 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145806.2130 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.2300 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145806.2550 0pet99s9ucpc33kb1o7naea7nf Query : select 'normal' from dummy
20241218@145806.2710 0pet99s9ucpc33kb1o7naea7nf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e265726762e2fde8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2542,100810,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145806.5550 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145806.5590 0pet99s9ucpc33kb1o7naea7nf Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241218@145806.5820 0pet99s9ucpc33kb1o7naea7nf 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.2330.00.1'
20241218@145806.5970 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.6140 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145806.6420 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.6570 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145806.6770 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145806.6900 0pet99s9ucpc33kb1o7naea7nf Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2300509200a'
20241218@145806.7100 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.7250 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145806.7370 0pet99s9ucpc33kb1o7naea7nf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e790076762e2fe11','aut6762e265726762e2fde8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145806.7420 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.7570 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145806.7860 0pet99s9ucpc33kb1o7naea7nf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e790076762e2fe11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6762e265726762e2fde8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145806.1088 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145806.1092 0pet99s9ucpc33kb1o7naea7nf Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241218@145806.1117 0pet99s9ucpc33kb1o7naea7nf 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.2330.00.1'
20241218@145806.1134 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.1154 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145806.1181 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.1196 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145806.1206 0pet99s9ucpc33kb1o7naea7nf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145806.1220 0pet99s9ucpc33kb1o7naea7nf Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241218@145806.1234 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.1250 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145806.1263 0pet99s9ucpc33kb1o7naea7nf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e128816762e2fe1e','aut6762e265726762e2fde8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145806.1267 0pet99s9ucpc33kb1o7naea7nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.1282 0pet99s9ucpc33kb1o7naea7nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145806.1312 0pet99s9ucpc33kb1o7naea7nf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e128816762e2fe1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6762e265726762e2fde8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241218@145806.1602 0pet99s9ucpc33kb1o7naea7nf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e265726762e2fde8','2408747','wait',39,'adm09112754980.682000002')
20241218@145806.1671 0pet99s9ucpc33kb1o7naea7nf Query : use flama_phc
20241218@145806.1675 0pet99s9ucpc33kb1o7naea7nf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145806.1706 0pet99s9ucpc33kb1o7naea7nf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4080';
20241218@145806.1748 0pet99s9ucpc33kb1o7naea7nf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4080';
20241218@145806.1800 0pet99s9ucpc33kb1o7naea7nf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4080';
20241218@145806.1832 0pet99s9ucpc33kb1o7naea7nf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4080';
20241218@145806.2400 110mkjnpahkvp116meta01dd09 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145806.2410 110mkjnpahkvp116meta01dd09 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145806.2482 110mkjnpahkvp116meta01dd09 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4081';
20241218@145806.2554 110mkjnpahkvp116meta01dd09 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4081';
20241218@145806.2619 110mkjnpahkvp116meta01dd09 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4081';
20241218@145806.2655 110mkjnpahkvp116meta01dd09 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4081';
20241218@145806.2714 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.2720 110mkjnpahkvp116meta01dd09 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145806.2789 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.2793 110mkjnpahkvp116meta01dd09 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241218@145806.2845 110mkjnpahkvp116meta01dd09 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241218@145806.2869 110mkjnpahkvp116meta01dd09 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408748 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241218@145806.3202 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.3206 110mkjnpahkvp116meta01dd09 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145806.3240 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.3243 110mkjnpahkvp116meta01dd09 Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145806.3686 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.3690 110mkjnpahkvp116meta01dd09 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')
20241218@145806.3722 110mkjnpahkvp116meta01dd09 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
20241218@145806.3815 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.3819 110mkjnpahkvp116meta01dd09 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241218@145806.3897 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.3942 110mkjnpahkvp116meta01dd09 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145806.3981 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.3984 110mkjnpahkvp116meta01dd09 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145806.4098 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.4103 110mkjnpahkvp116meta01dd09 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241218@145806.4264 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.4275 110mkjnpahkvp116meta01dd09 Query : select 1 valor from td where ndoc = 39
20241218@145806.4290 110mkjnpahkvp116meta01dd09 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145806.4308 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.4328 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145806.4349 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.4364 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145806.4394 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.4412 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145806.4425 110mkjnpahkvp116meta01dd09 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145806.4480 110mkjnpahkvp116meta01dd09 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145806.4494 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.4509 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145806.4525 110mkjnpahkvp116meta01dd09 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e035686762e2fe6c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145806.4686 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.4705 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145806.4741 110mkjnpahkvp116meta01dd09 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145806.4753 110mkjnpahkvp116meta01dd09 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145806.4765 110mkjnpahkvp116meta01dd09 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145806.4778 110mkjnpahkvp116meta01dd09 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145806.4794 110mkjnpahkvp116meta01dd09 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145806.4805 110mkjnpahkvp116meta01dd09 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145806.4817 110mkjnpahkvp116meta01dd09 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e035686762e2fe6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145806.5099 110mkjnpahkvp116meta01dd09 Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145806.5134 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.5264 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145806.5366 110mkjnpahkvp116meta01dd09 Query : select 'normal' from dummy
20241218@145806.5382 110mkjnpahkvp116meta01dd09 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e035686762e2fe6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2543,100810,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145806.5814 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.5817 110mkjnpahkvp116meta01dd09 Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241218@145806.5839 110mkjnpahkvp116meta01dd09 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.2330.00.1'
20241218@145806.5853 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.5871 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145806.5899 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.5916 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145806.5925 110mkjnpahkvp116meta01dd09 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145806.5938 110mkjnpahkvp116meta01dd09 Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241218@145806.5953 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.5969 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145806.5982 110mkjnpahkvp116meta01dd09 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e424996762e2fe91','aut6762e035686762e2fe6c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145806.5987 110mkjnpahkvp116meta01dd09 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.6004 110mkjnpahkvp116meta01dd09 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145806.6032 110mkjnpahkvp116meta01dd09 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e424996762e2fe91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6762e035686762e2fe6c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145806.6415 110mkjnpahkvp116meta01dd09 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e035686762e2fe6c','2408748','wait',39,'adm09112754980.682000002')
20241218@145806.6498 110mkjnpahkvp116meta01dd09 Query : use flama_phc
20241218@145806.6501 110mkjnpahkvp116meta01dd09 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145806.6533 110mkjnpahkvp116meta01dd09 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4081';
20241218@145806.6585 110mkjnpahkvp116meta01dd09 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4081';
20241218@145806.6643 110mkjnpahkvp116meta01dd09 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4081';
20241218@145806.6693 110mkjnpahkvp116meta01dd09 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4081';
20241218@145806.7332 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241218@145806.7343 dmdfa9sgv9t7blu0hpfsd0st10 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241218@145806.7420 dmdfa9sgv9t7blu0hpfsd0st10 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4082';
20241218@145806.7765 dmdfa9sgv9t7blu0hpfsd0st10 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4082';
20241218@145806.7942 dmdfa9sgv9t7blu0hpfsd0st10 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4082';
20241218@145806.7987 dmdfa9sgv9t7blu0hpfsd0st10 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4082';
20241218@145806.8058 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.8061 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241218@145806.8127 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.8130 dmdfa9sgv9t7blu0hpfsd0st10 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241218@145806.8189 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241218@145806.8328 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408749 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241218@145806.8651 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241218@145806.8676 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408749 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241218@145806.8695 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241218@145806.8717 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408749 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241218@145806.8744 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.8748 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241218@145806.8783 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.8787 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 1 valor from td where td.ndoc = 39
20241218@145806.8820 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.8823 dmdfa9sgv9t7blu0hpfsd0st10 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')
20241218@145806.8859 dmdfa9sgv9t7blu0hpfsd0st10 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
20241218@145806.8898 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.8901 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241218@145806.8933 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.8936 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241218@145806.8968 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.8971 dmdfa9sgv9t7blu0hpfsd0st10 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241218@145806.9013 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.9016 dmdfa9sgv9t7blu0hpfsd0st10 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241218@145806.9065 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145806.9068 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from td where ndoc = 39
20241218@145806.9080 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241218@145806.9094 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.9111 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145806.9129 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.9146 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145806.9176 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.9194 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145806.9207 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145806.9269 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241218@145806.9284 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.9302 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241218@145806.9318 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6762e239916762e2fee0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241218@145806.9494 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145806.9517 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241218@145806.9553 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241218@145806.9565 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241218@145806.9578 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241218@145806.9592 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241218@145806.9605 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241218@145806.9617 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241218@145806.9631 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6762e239916762e2fee0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241218@145806.9956 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 fno valor from wsftdata order by fno desc
20241218@145807.7200 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.9300 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241218@145807.1180 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 'normal' from dummy
20241218@145807.1350 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6762e239916762e2fee0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2544,100810,0,'2024-12-18',39,'euro',0,0,2024 ,?,?)
20241218@145807.4230 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145807.4270 dmdfa9sgv9t7blu0hpfsd0st10 Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241218@145807.4530 dmdfa9sgv9t7blu0hpfsd0st10 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.2362.00.1'
20241218@145807.5850 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.6020 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145807.6290 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.6460 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145807.6560 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145807.6680 dmdfa9sgv9t7blu0hpfsd0st10 Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20241218@145807.6830 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.6990 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145807.7130 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e281476762e2ff10','aut6762e239916762e2fee0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145807.7180 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.7490 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145807.7800 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e281476762e2ff10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6762e239916762e2fee0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241218@145807.1042 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145807.1046 dmdfa9sgv9t7blu0hpfsd0st10 Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241218@145807.1069 dmdfa9sgv9t7blu0hpfsd0st10 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.2362.00.1'
20241218@145807.1093 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.1115 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145807.1142 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.1159 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145807.1170 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145807.1184 dmdfa9sgv9t7blu0hpfsd0st10 Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20241218@145807.1199 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.1216 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145807.1230 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e816926762e2ff1d','aut6762e239916762e2fee0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145807.1235 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.1253 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145807.1284 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e816926762e2ff1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6762e239916762e2fee0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241218@145807.1543 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145807.1547 dmdfa9sgv9t7blu0hpfsd0st10 Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241218@145807.1569 dmdfa9sgv9t7blu0hpfsd0st10 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.2362.00.1'
20241218@145807.1584 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.1602 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145807.1628 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.1644 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145807.1654 dmdfa9sgv9t7blu0hpfsd0st10 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241218@145807.1667 dmdfa9sgv9t7blu0hpfsd0st10 Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20241218@145807.1680 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.1698 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241218@145807.1750 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6762e447366762e2ff29','aut6762e239916762e2fee0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241218@145807.1782 dmdfa9sgv9t7blu0hpfsd0st10 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241218@145807.1802 dmdfa9sgv9t7blu0hpfsd0st10 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241218@145807.1832 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6762e447366762e2ff29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut6762e239916762e2fee0' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241218@145807.2074 dmdfa9sgv9t7blu0hpfsd0st10 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6762e239916762e2fee0','2408749','wait',39,'adm09112754980.682000002')
20241218@145807.2147 dmdfa9sgv9t7blu0hpfsd0st10 Query : use flama_phc
20241218@145807.2176 dmdfa9sgv9t7blu0hpfsd0st10 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241218@145807.2207 dmdfa9sgv9t7blu0hpfsd0st10 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4082';
20241218@145807.2250 dmdfa9sgv9t7blu0hpfsd0st10 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4082';
20241218@145807.2309 dmdfa9sgv9t7blu0hpfsd0st10 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4082';
