20241203@145614.2208 cqilf4skdb4hq2g4np0klc494h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@145614.2266 cqilf4skdb4hq2g4np0klc494h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241203@145614.2282 cqilf4skdb4hq2g4np0klc494h 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 'aut674f178619674f1c0e2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1686, 1686*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,10.78,10.78*200.48,10.78,10.78*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,10.78*1686,10.78*1686*200.48 ,12.479000,12.479000*200.48 ,12.479000,12.479000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,10.78,10.78*200.48,10.78*1686,10.78*1686*200.48,'cps24071950930,047000002 ',11.6,11.6*1686,11.6,11.6*1686,?,?,?,4 from bo bo where bo.bostamp = 'aut674f167029674f1bfaca'
20241203@145615.4023 cqilf4skdb4hq2g4np0klc494h Query : use flama_phc
20241203@145615.4027 cqilf4skdb4hq2g4np0klc494h Query : declare @bostamp varchar(25) = 'aut674f167029674f1bfaca' ,@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 
20241203@145622.4725 cqilf4skdb4hq2g4np0klc494h Query : use flama_phc
20241203@145622.4728 cqilf4skdb4hq2g4np0klc494h Query : select 1 valor from bo where bo.bostamp = 'aut674f167029674f1bfaca'
20241203@145622.4871 cqilf4skdb4hq2g4np0klc494h 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) = 'aut674f167029674f1bfaca' 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 
20241203@145624.7449 cqilf4skdb4hq2g4np0klc494h Query : use flama_phc
20241203@145624.7452 cqilf4skdb4hq2g4np0klc494h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@145624.7506 cqilf4skdb4hq2g4np0klc494h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3628';
20241203@145624.7546 cqilf4skdb4hq2g4np0klc494h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3628';
20241203@151143.8294 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151143.8439 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151143.9382 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3629';
20241203@151143.9765 ul3qb11rjv3pu7utrhdnlt4bk4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3629';
20241203@151144.1290 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3629';
20241203@151144.2520 ul3qb11rjv3pu7utrhdnlt4bk4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3629';
20241203@151144.1180 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151144.1188 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151144.1521 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151144.1536 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20241203@151144.2126 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4005.00.2'
20241203@151144.2512 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='304.4005.00.2' and bi.lordem =1
20241203@151144.3056 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4005.00.2'
20241203@151144.3096 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='304.4005.00.2' and bi.lordem =1
20241203@151144.3147 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151144.3552 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.1716.00.1' and bi.lordem =2
20241203@151144.4354 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151144.4760 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4964.00.1' and bi.lordem =3
20241203@151144.5710 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151144.6020 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4963.00.1' and bi.lordem =4
20241203@151144.6659 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241203@151144.6851 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.2221.00.1' and bi.lordem =5
20241203@151144.7465 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151144.7845 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4961.00.1' and bi.lordem =6
20241203@151144.8375 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151144.8423 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4961.00.1' and bi.lordem =6
20241203@151144.8447 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151144.8765 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.2222.00.1' and bi.lordem =7
20241203@151144.9206 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241203@151144.9437 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.2224.00.1' and bi.lordem =8
20241203@151144.9805 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20241203@151144.9989 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4585.00.1' and bi.lordem =9
20241203@151145.3770 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20241203@151145.5600 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4840.00.1' and bi.lordem =10
20241203@151145.9300 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20241203@151145.9540 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4840.00.1' and bi.lordem =10
20241203@151145.9740 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20241203@151145.1157 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.1417.00.1' and bi.lordem =11
20241203@151145.1522 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20241203@151145.1543 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.1417.00.1' and bi.lordem =11
20241203@151145.1581 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2160.00.1'
20241203@151145.1759 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.2160.00.1' and bi.lordem =12
20241203@151145.2119 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2160.00.1'
20241203@151145.2145 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.2160.00.1' and bi.lordem =12
20241203@151145.2163 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151145.2329 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4962.00.1' and bi.lordem =13
20241203@151145.2693 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151145.2714 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4962.00.1' and bi.lordem =14
20241203@151145.4092 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151145.4116 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408054 and bi.ref ='324.4962.00.1' and bi.lordem =14
20241203@151145.4136 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.4139 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151145.4338 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.4341 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151145.4445 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.4448 ul3qb11rjv3pu7utrhdnlt4bk4 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')
20241203@151145.4477 ul3qb11rjv3pu7utrhdnlt4bk4 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
20241203@151145.4621 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.4624 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20241203@151145.4743 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.4746 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151145.4842 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.4845 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151145.4916 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.4921 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20241203@151145.4977 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.4980 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from td where ndoc = 39
20241203@151145.5062 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151145.5155 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.5176 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151145.5201 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.5219 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151145.5249 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.5264 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151145.5278 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151145.5469 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151145.5574 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.5590 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151145.5607 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151145.5887 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.5906 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151145.5946 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151145.6056 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151145.6148 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151145.6240 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151145.6343 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151145.6438 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151145.6528 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f155524674f1fb180',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151145.7075 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151145.7187 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.7213 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151145.7284 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 'normal' from dummy
20241203@151145.7364 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f155524674f1fb180',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2151,199510,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151145.7878 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.7881 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '304.4005.00.2'
20241203@151145.7904 ul3qb11rjv3pu7utrhdnlt4bk4 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.4005.00.2'
20241203@151145.8056 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.8079 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151145.8115 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.8137 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151145.8149 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151145.8163 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='304.4005.00.2' and lote = '211257'
20241203@151145.8196 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.8218 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151145.8239 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f104796674f1fb1c8','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151145.8463 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.8643 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151145.8820 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f104796674f1fb1c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151145.9705 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151145.9710 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '304.4005.00.2'
20241203@151145.9735 ul3qb11rjv3pu7utrhdnlt4bk4 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.4005.00.2'
20241203@151145.9757 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.9782 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151145.9813 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.9831 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151145.9840 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151145.9853 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='304.4005.00.2' and lote = '211257'
20241203@151145.9871 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.9888 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151145.9901 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f193066674f1fb1f1','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151145.9906 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151145.9925 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151145.9954 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f193066674f1fb1f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151146.2160 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.2190 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20241203@151146.2450 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151146.4000 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.4160 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.4430 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.4670 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.4830 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.5060 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20241203@151146.5230 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.5400 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.5520 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f102876674f1fb20c','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.5570 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.5760 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.6140 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f102876674f1fb20c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241203@151146.9080 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.9110 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241203@151146.9370 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151146.1114 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.1134 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.1164 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.1182 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.1193 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.1214 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241203@151146.1242 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.1260 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.1275 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f153209674f1fb21e','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.1280 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.1298 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.1359 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f153209674f1fb21e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241203@151146.1636 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.1639 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20241203@151146.1664 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151146.1821 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.1847 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.1880 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.1900 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.1911 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.1928 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20241203@151146.1947 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.1965 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.1983 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f102022674f1fb22f','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.1988 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.2006 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.2054 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f102022674f1fb22f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241203@151146.2338 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.2342 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241203@151146.2373 ul3qb11rjv3pu7utrhdnlt4bk4 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.2221.00.1'
20241203@151146.2535 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.2556 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.2609 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.2628 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.2641 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.2660 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241203@151146.2693 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.2713 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.2728 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f106330674f1fb241','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.2733 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.2771 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.2811 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f106330674f1fb241',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241203@151146.3103 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.3108 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241203@151146.3139 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151146.3481 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.3508 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.3562 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.3616 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.3628 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.3678 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241203@151146.3955 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.3978 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.4117 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f198099674f1fb260','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.4140 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.4307 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.4365 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f198099674f1fb260',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241203@151146.4872 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.4935 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241203@151146.4979 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151146.4995 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.5014 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.5045 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.5069 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.5080 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.5094 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241203@151146.5111 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.5130 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.5144 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f151512674f1fb27c','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.5154 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.5175 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.5213 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f151512674f1fb27c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241203@151146.5831 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.6566 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241203@151146.6598 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151146.6773 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.6796 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.6831 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.6854 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.6871 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.6893 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301280100a'
20241203@151146.6956 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.7018 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.7035 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f164258674f1fb2a9','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.7040 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.7076 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.7138 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f164258674f1fb2a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241203@151146.7442 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.7446 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241203@151146.7482 ul3qb11rjv3pu7utrhdnlt4bk4 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.2224.00.1'
20241203@151146.7644 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.7665 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.7703 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.7723 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.7736 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.7754 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241203@151146.7780 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.7799 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.7824 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f159274674f1fb2bd','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.7831 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.7852 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.7889 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f159274674f1fb2bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241203@151146.8163 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.8167 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4585.00.1'
20241203@151146.8194 ul3qb11rjv3pu7utrhdnlt4bk4 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.4585.00.1'
20241203@151146.8358 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.8386 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.8429 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.8459 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.8473 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.8496 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4585.00.1' and lote = 'r2300381200a'
20241203@151146.8522 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.8540 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.8556 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f181122674f1fb2d0','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151146.8561 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.8581 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.8618 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f181122674f1fb2d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',25.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241203@151146.8929 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151146.8933 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241203@151146.9007 ul3qb11rjv3pu7utrhdnlt4bk4 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.4840.00.1'
20241203@151146.9463 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.9484 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151146.9533 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151146.9550 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151146.9561 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151146.9578 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241203@151146.9855 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.1500 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.6200 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f177088674f1fb2f0','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.7000 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.2000 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.3180 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f177088674f1fb2f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20241203@151147.5910 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.5950 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241203@151147.6550 ul3qb11rjv3pu7utrhdnlt4bk4 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.4840.00.1'
20241203@151147.6740 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.7000 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.7400 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.7600 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.7700 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.7880 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241203@151147.8040 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.8300 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.8440 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f180139674f1fb313','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.8490 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.8710 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.9120 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f180139674f1fb313',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241203@151147.1208 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.1213 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.1417.00.1'
20241203@151147.1249 ul3qb11rjv3pu7utrhdnlt4bk4 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.1417.00.1'
20241203@151147.1421 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.1443 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.1481 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.1501 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.1512 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.1529 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.1417.00.1' and lote = 'r2101088200a'
20241203@151147.1556 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.1574 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.1597 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f147029674f1fb325','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.1602 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.1627 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.1666 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f147029674f1fb325',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241203@151147.1959 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.1982 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.2028 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.2056 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.2068 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.2083 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.2102 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.2122 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f163946674f1fb332','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.2128 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.2145 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.2179 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f163946674f1fb332',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,150000,?,?,?)
20241203@151147.2569 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.2611 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.1417.00.1'
20241203@151147.2893 ul3qb11rjv3pu7utrhdnlt4bk4 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.1417.00.1'
20241203@151147.2916 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.3052 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.3165 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.3301 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.3317 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.3341 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.1417.00.1' and lote = 'r2101088200a'
20241203@151147.3510 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.3720 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.3736 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f172993674f1fb355','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.3759 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.3780 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.3846 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f172993674f1fb355',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241203@151147.4163 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.4187 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.4222 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.4241 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.4252 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.4270 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.4289 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.4304 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f149155674f1fb368','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.4309 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.4333 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.4369 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f149155674f1fb368',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,180000,?,?,?)
20241203@151147.4657 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.4660 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.2160.00.1'
20241203@151147.4687 ul3qb11rjv3pu7utrhdnlt4bk4 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.2160.00.1'
20241203@151147.4848 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.4868 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.4913 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.4933 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.4947 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.4963 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.2160.00.1' and lote = 'r2300936200a'
20241203@151147.4979 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.4996 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.5012 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f173141674f1fb379','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.5017 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.5042 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.5087 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f173141674f1fb379',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241203@151147.5370 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.5374 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.2160.00.1'
20241203@151147.5400 ul3qb11rjv3pu7utrhdnlt4bk4 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.2160.00.1'
20241203@151147.5417 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.5437 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.5471 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.5492 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.5510 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.5525 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.2160.00.1' and lote = 'r2300936200a'
20241203@151147.5540 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.5556 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.5572 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f135185674f1fb387','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.5577 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.5594 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.5638 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f135185674f1fb387',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241203@151147.5914 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.5917 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20241203@151147.5955 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151147.6459 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.6527 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.6566 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.6596 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.6626 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.6644 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20241203@151147.6671 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.6692 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.6720 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f107053674f1fb3a2','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.6725 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.6744 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.6935 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f107053674f1fb3a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241203@151147.7446 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.7450 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20241203@151147.7490 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151147.7517 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.7542 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.7580 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.7600 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.7611 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.7643 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20241203@151147.7670 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.7697 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.7712 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f175670674f1fb3bb','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.7731 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.7752 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.7789 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f175670674f1fb3bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241203@151147.8085 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.8090 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20241203@151147.8119 ul3qb11rjv3pu7utrhdnlt4bk4 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'
20241203@151147.8139 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.8164 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.8201 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.8220 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.8232 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151147.8251 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20241203@151147.8277 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.8296 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151147.8311 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f133402674f1fb3ca','aut674f155524674f1fb180' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151147.8317 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151147.8336 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151147.8378 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f133402674f1fb3ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut674f155524674f1fb180' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241203@151147.8677 ul3qb11rjv3pu7utrhdnlt4bk4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f155524674f1fb180','2408054','wait',39,'adm09112754980.682000002')
20241203@151147.8785 ul3qb11rjv3pu7utrhdnlt4bk4 Query : use flama_phc
20241203@151147.8789 ul3qb11rjv3pu7utrhdnlt4bk4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151147.8826 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3629';
20241203@151147.8885 ul3qb11rjv3pu7utrhdnlt4bk4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3629';
20241203@151147.8935 ul3qb11rjv3pu7utrhdnlt4bk4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3629';
20241203@151147.8968 ul3qb11rjv3pu7utrhdnlt4bk4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3629';
20241203@151147.9514 12qds762h5bcoj2s7vg2ai364n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151147.9525 12qds762h5bcoj2s7vg2ai364n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151147.9593 12qds762h5bcoj2s7vg2ai364n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3630';
20241203@151147.9659 12qds762h5bcoj2s7vg2ai364n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3630';
20241203@151147.9738 12qds762h5bcoj2s7vg2ai364n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3630';
20241203@151147.9774 12qds762h5bcoj2s7vg2ai364n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3630';
20241203@151147.9834 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151147.9837 12qds762h5bcoj2s7vg2ai364n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151147.9905 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151147.9910 12qds762h5bcoj2s7vg2ai364n Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20241203@151147.9954 12qds762h5bcoj2s7vg2ai364n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20241203@151148.1260 12qds762h5bcoj2s7vg2ai364n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408055 and bi.ref ='324.5540.00.1' and bi.lordem =1
20241203@151148.6490 12qds762h5bcoj2s7vg2ai364n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20241203@151148.7820 12qds762h5bcoj2s7vg2ai364n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408055 and bi.ref ='324.5540.00.1' and bi.lordem =1
20241203@151148.8080 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.8150 12qds762h5bcoj2s7vg2ai364n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151148.8530 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.8590 12qds762h5bcoj2s7vg2ai364n Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151148.2120 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.2124 12qds762h5bcoj2s7vg2ai364n 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')
20241203@151148.2162 12qds762h5bcoj2s7vg2ai364n 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
20241203@151148.2209 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.2236 12qds762h5bcoj2s7vg2ai364n Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20241203@151148.2417 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.2423 12qds762h5bcoj2s7vg2ai364n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151148.2457 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.2466 12qds762h5bcoj2s7vg2ai364n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151148.2520 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.2523 12qds762h5bcoj2s7vg2ai364n Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20241203@151148.2580 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.2583 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from td where ndoc = 39
20241203@151148.2598 12qds762h5bcoj2s7vg2ai364n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151148.2614 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.2631 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151148.2652 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.2668 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151148.2702 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.2719 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151148.2735 12qds762h5bcoj2s7vg2ai364n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151148.2841 12qds762h5bcoj2s7vg2ai364n Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151148.2859 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.2873 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151148.2898 12qds762h5bcoj2s7vg2ai364n Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f165142674f1fb442' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151148.3100 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.3140 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151148.3180 12qds762h5bcoj2s7vg2ai364n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151148.3210 12qds762h5bcoj2s7vg2ai364n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151148.3223 12qds762h5bcoj2s7vg2ai364n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151148.3236 12qds762h5bcoj2s7vg2ai364n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151148.3250 12qds762h5bcoj2s7vg2ai364n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151148.3280 12qds762h5bcoj2s7vg2ai364n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151148.3301 12qds762h5bcoj2s7vg2ai364n Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f165142674f1fb442',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151148.3565 12qds762h5bcoj2s7vg2ai364n Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151148.3594 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.3618 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151148.3643 12qds762h5bcoj2s7vg2ai364n Query : select 'normal' from dummy
20241203@151148.3667 12qds762h5bcoj2s7vg2ai364n Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f165142674f1fb442',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2152,199510,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151148.3986 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.3989 12qds762h5bcoj2s7vg2ai364n Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20241203@151148.4015 12qds762h5bcoj2s7vg2ai364n 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.5540.00.1'
20241203@151148.4247 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.4263 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151148.4295 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.4318 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151148.4326 12qds762h5bcoj2s7vg2ai364n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151148.4341 12qds762h5bcoj2s7vg2ai364n Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20241203@151148.4357 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.4373 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151148.4386 12qds762h5bcoj2s7vg2ai364n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f172587674f1fb46a','aut674f165142674f1fb442' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151148.4390 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.4408 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151148.4449 12qds762h5bcoj2s7vg2ai364n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f172587674f1fb46a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut674f165142674f1fb442' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151148.4707 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.4710 12qds762h5bcoj2s7vg2ai364n Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20241203@151148.4737 12qds762h5bcoj2s7vg2ai364n 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.5540.00.1'
20241203@151148.4756 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.4776 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151148.4807 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.4831 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151148.4841 12qds762h5bcoj2s7vg2ai364n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151148.4854 12qds762h5bcoj2s7vg2ai364n Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20241203@151148.4869 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.4905 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151148.4922 12qds762h5bcoj2s7vg2ai364n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f190563674f1fb476','aut674f165142674f1fb442' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151148.4926 12qds762h5bcoj2s7vg2ai364n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151148.4950 12qds762h5bcoj2s7vg2ai364n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151148.4987 12qds762h5bcoj2s7vg2ai364n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f190563674f1fb476',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut674f165142674f1fb442' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151148.5257 12qds762h5bcoj2s7vg2ai364n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f165142674f1fb442','2408055','wait',39,'adm09112754980.682000002')
20241203@151148.5340 12qds762h5bcoj2s7vg2ai364n Query : use flama_phc
20241203@151148.5344 12qds762h5bcoj2s7vg2ai364n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151148.5377 12qds762h5bcoj2s7vg2ai364n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3630';
20241203@151148.5418 12qds762h5bcoj2s7vg2ai364n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3630';
20241203@151148.5474 12qds762h5bcoj2s7vg2ai364n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3630';
20241203@151148.5510 12qds762h5bcoj2s7vg2ai364n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3630';
20241203@151148.6087 k950arvd546ftdpf3c14dvrd83 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151148.6098 k950arvd546ftdpf3c14dvrd83 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151148.6169 k950arvd546ftdpf3c14dvrd83 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3631';
20241203@151148.6230 k950arvd546ftdpf3c14dvrd83 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3631';
20241203@151148.6293 k950arvd546ftdpf3c14dvrd83 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3631';
20241203@151148.6328 k950arvd546ftdpf3c14dvrd83 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3631';
20241203@151148.6392 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151148.6395 k950arvd546ftdpf3c14dvrd83 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151148.6464 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151148.6467 k950arvd546ftdpf3c14dvrd83 Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20241203@151148.6591 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20241203@151148.6754 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.5500.00.1' and bi.lordem =1
20241203@151148.7086 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20241203@151148.7250 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.4743.00.1' and bi.lordem =2
20241203@151148.7619 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20241203@151148.7781 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.1884.00.1' and bi.lordem =3
20241203@151148.8205 k950arvd546ftdpf3c14dvrd83 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'
20241203@151148.8374 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.1837.00.1' and bi.lordem =4
20241203@151148.8895 k950arvd546ftdpf3c14dvrd83 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'
20241203@151148.9198 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.4970.00.1' and bi.lordem =5
20241203@151148.9778 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20241203@151148.9953 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.958.00.01' and bi.lordem =6
20241203@151149.2860 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20241203@151149.4690 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.1670.00.1' and bi.lordem =7
20241203@151149.8140 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.16901.001'
20241203@151149.9750 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='325.16901.001' and bi.lordem =8
20241203@151149.1310 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9106.00.1'
20241203@151149.1478 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='328.9106.00.1' and bi.lordem =9
20241203@151149.1842 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9006.00.1'
20241203@151149.2024 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='328.9006.00.1' and bi.lordem =10
20241203@151149.2397 k950arvd546ftdpf3c14dvrd83 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'
20241203@151149.2562 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='328.9005.00.1' and bi.lordem =11
20241203@151149.2938 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241203@151149.3103 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='328.9902.00.1' and bi.lordem =12
20241203@151149.3929 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241203@151149.4858 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='328.9902.00.1' and bi.lordem =12
20241203@151149.4911 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241203@151149.4940 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='328.9902.00.1' and bi.lordem =12
20241203@151149.4962 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241203@151149.5056 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='328.9902.00.1' and bi.lordem =12
20241203@151149.5081 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241203@151149.5106 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='328.9902.00.1' and bi.lordem =12
20241203@151149.5125 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5361.00.1'
20241203@151149.5539 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.5361.00.1' and bi.lordem =13
20241203@151149.5917 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5365.00.1'
20241203@151149.6118 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.5365.00.1' and bi.lordem =14
20241203@151149.6572 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.551.00.15'
20241203@151149.6768 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='325.551.00.15' and bi.lordem =15
20241203@151149.7130 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241203@151149.7337 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='327.8253.00.1' and bi.lordem =16
20241203@151149.7688 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241203@151149.7715 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='327.8253.00.1' and bi.lordem =16
20241203@151149.7733 k950arvd546ftdpf3c14dvrd83 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'
20241203@151149.7909 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.645.00.01' and bi.lordem =17
20241203@151149.8261 k950arvd546ftdpf3c14dvrd83 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'
20241203@151149.8284 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.645.00.01' and bi.lordem =17
20241203@151149.8303 k950arvd546ftdpf3c14dvrd83 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'
20241203@151149.8326 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.645.00.01' and bi.lordem =17
20241203@151149.8347 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20241203@151149.8519 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.646.00.01' and bi.lordem =18
20241203@151149.8857 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20241203@151149.9009 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.698.00.01' and bi.lordem =19
20241203@151149.9344 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20241203@151149.9364 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.5540.00.1' and bi.lordem =20
20241203@151149.9726 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '322.227.26.01'
20241203@151150.3500 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='322.227.26.01' and bi.lordem =21
20241203@151150.4600 k950arvd546ftdpf3c14dvrd83 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'
20241203@151150.4830 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.2222.00.1' and bi.lordem =22
20241203@151150.8130 k950arvd546ftdpf3c14dvrd83 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'
20241203@151150.9840 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.2232.00.1' and bi.lordem =23
20241203@151150.1310 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241203@151150.1484 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.1816.00.1' and bi.lordem =24
20241203@151150.2089 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241203@151150.2112 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.1816.00.1' and bi.lordem =24
20241203@151150.2132 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241203@151150.2181 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.1816.00.1' and bi.lordem =24
20241203@151150.2199 k950arvd546ftdpf3c14dvrd83 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'
20241203@151150.2368 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='324.1832.00.2' and bi.lordem =25
20241203@151150.2699 k950arvd546ftdpf3c14dvrd83 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '322.222.04.01'
20241203@151150.2883 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408056 and bi.ref ='322.222.04.01' and bi.lordem =26
20241203@151150.3215 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.3219 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151150.3257 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.3286 k950arvd546ftdpf3c14dvrd83 Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151150.3320 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.3323 k950arvd546ftdpf3c14dvrd83 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')
20241203@151150.3354 k950arvd546ftdpf3c14dvrd83 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
20241203@151150.3394 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.3399 k950arvd546ftdpf3c14dvrd83 Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20241203@151150.3533 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.3536 k950arvd546ftdpf3c14dvrd83 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151150.3571 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.3574 k950arvd546ftdpf3c14dvrd83 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151150.3620 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.3624 k950arvd546ftdpf3c14dvrd83 Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20241203@151150.3677 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.3680 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from td where ndoc = 39
20241203@151150.3696 k950arvd546ftdpf3c14dvrd83 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151150.3712 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.3731 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151150.3753 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.3773 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151150.3832 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.3850 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151150.3864 k950arvd546ftdpf3c14dvrd83 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151150.3922 k950arvd546ftdpf3c14dvrd83 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151150.3936 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.3954 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151150.3971 k950arvd546ftdpf3c14dvrd83 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151150.4155 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.4174 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151150.4213 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151150.4227 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151150.4240 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151150.4253 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151150.4271 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151150.4285 k950arvd546ftdpf3c14dvrd83 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151150.4299 k950arvd546ftdpf3c14dvrd83 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f113881674f1fb65e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151150.4540 k950arvd546ftdpf3c14dvrd83 Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151150.4566 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.4584 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151150.4608 k950arvd546ftdpf3c14dvrd83 Query : select 'normal' from dummy
20241203@151150.4624 k950arvd546ftdpf3c14dvrd83 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f113881674f1fb65e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2153,100080,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151150.4963 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.4966 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20241203@151150.4989 k950arvd546ftdpf3c14dvrd83 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.5500.00.1'
20241203@151150.5288 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.5305 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.5332 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.5348 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.5357 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151150.5370 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2400095600a'
20241203@151150.5384 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.5399 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.5411 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f135032674f1fb683','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151150.5416 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.5431 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.5461 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f135032674f1fb683',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151150.6843 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.6848 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20241203@151150.6872 k950arvd546ftdpf3c14dvrd83 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.4743.00.1'
20241203@151150.7034 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.7053 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.7082 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.7100 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.7110 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151150.7124 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20241203@151150.7146 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.7162 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.7174 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f110341674f1fb6ae','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151150.7178 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.7196 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.7230 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f110341674f1fb6ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151150.7506 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.7509 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20241203@151150.7535 k950arvd546ftdpf3c14dvrd83 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.1884.00.1'
20241203@151150.7678 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.7708 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.7740 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.7759 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.7770 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151150.7810 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20241203@151150.7834 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.7850 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.7864 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f189818674f1fb6bf','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151150.7869 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.7887 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.7920 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f189818674f1fb6bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241203@151150.8205 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.8225 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.8253 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.8273 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.8284 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151150.8297 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.8314 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.8327 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f152333674f1fb6ca','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151150.8331 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.8347 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.8379 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f152333674f1fb6ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,40000,?,?,?)
20241203@151150.8651 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.8654 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241203@151150.8680 k950arvd546ftdpf3c14dvrd83 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'
20241203@151150.8855 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.8877 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.8909 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.8925 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.8936 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151150.8948 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2300658200a'
20241203@151150.8970 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.8986 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.9002 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f138991674f1fb6db','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151150.9007 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.9025 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.9057 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f138991674f1fb6db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241203@151150.9318 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151150.9321 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241203@151150.9345 k950arvd546ftdpf3c14dvrd83 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'
20241203@151150.9775 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.9796 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.9825 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.9841 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.9853 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151150.9871 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241203@151150.9886 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.9901 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151150.9913 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f189520674f1fb6f1','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151150.9918 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151150.9932 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151150.9964 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f189520674f1fb6f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241203@151151.2740 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151151.2780 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20241203@151151.3240 k950arvd546ftdpf3c14dvrd83 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.958.00.01'
20241203@151151.4890 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.5070 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.5380 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.5590 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.5700 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.5880 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20241203@151151.6040 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.6230 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.6380 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f131449674f1fb70e','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.6430 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.6620 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.6960 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f131449674f1fb70e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241203@151151.1011 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151151.1025 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241203@151151.1052 k950arvd546ftdpf3c14dvrd83 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.1670.00.1'
20241203@151151.1226 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.1252 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.1293 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.1312 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.1326 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.1344 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241203@151151.1364 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.1385 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.1469 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f179186674f1fb721','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.1476 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.1498 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.1538 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f179186674f1fb721',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241203@151151.1846 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151151.1850 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '325.16901.001'
20241203@151151.1878 k950arvd546ftdpf3c14dvrd83 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 = '325.16901.001'
20241203@151151.2058 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.2077 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.2118 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.2135 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.2148 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.2164 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='325.16901.001' and lote = '25/11'
20241203@151151.2180 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.2196 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.2220 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f130903674f1fb735','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.2225 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.2244 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.2281 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f130903674f1fb735',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241203@151151.2588 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151151.2603 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '328.9106.00.1'
20241203@151151.2636 k950arvd546ftdpf3c14dvrd83 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.9106.00.1'
20241203@151151.2797 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.2824 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.2866 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.2889 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.2901 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.2918 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='328.9106.00.1' and lote = 'r2100770200a'
20241203@151151.2944 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.2964 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.2981 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f156104674f1fb747','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.2987 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.3009 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.3057 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f156104674f1fb747',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241203@151151.3409 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.3433 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.3482 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.3507 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.3518 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.3546 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.3574 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.3592 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f143572674f1fb756','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.3598 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.3626 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.3669 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f143572674f1fb756',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,120000,?,?,?)
20241203@151151.3979 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151151.3982 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '328.9006.00.1'
20241203@151151.4007 k950arvd546ftdpf3c14dvrd83 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.9006.00.1'
20241203@151151.4178 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.4200 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.4237 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.4258 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.4269 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.4290 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='328.9006.00.1' and lote = 'r2300691200a'
20241203@151151.4316 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.4335 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.4349 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f173739674f1fb769','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.4360 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.4381 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.4423 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f173739674f1fb769',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241203@151151.4734 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.4761 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.4801 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.4820 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.4835 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.4858 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.4880 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.4897 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f183432674f1fb776','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.4903 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.4931 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.4973 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f183432674f1fb776',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,150000,?,?,?)
20241203@151151.5268 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151151.5272 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '328.9005.00.1'
20241203@151151.5303 k950arvd546ftdpf3c14dvrd83 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'
20241203@151151.5474 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.5509 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.5556 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.5578 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.5596 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.5625 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='328.9005.00.1' and lote = 'r2400092600a'
20241203@151151.5642 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.5669 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.5682 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f194890674f1fb789','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.5687 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.5713 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.5758 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f194890674f1fb789',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241203@151151.6063 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.6879 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.7523 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.7542 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.7553 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.7580 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.7599 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.7614 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f185322674f1fb7b9','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.7620 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.7639 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.7684 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f185322674f1fb7b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,180000,?,?,?)
20241203@151151.7979 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151151.7984 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241203@151151.8048 k950arvd546ftdpf3c14dvrd83 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20241203@151151.8221 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.8252 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.8304 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.8358 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.8379 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.8395 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20241203@151151.8432 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.8457 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.8481 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f189888674f1fb7cd','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.8489 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.8516 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.8588 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f189888674f1fb7cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241203@151151.8937 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.9207 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.9256 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.9288 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.9301 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151151.9356 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.9384 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151151.9401 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f179613674f1fb7e4','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151151.9410 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.9438 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.9490 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f179613674f1fb7e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,210000,?,?,?)
20241203@151151.9772 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151151.9777 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241203@151151.9849 k950arvd546ftdpf3c14dvrd83 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20241203@151151.9874 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151151.9903 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151151.9946 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.9000 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.2600 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.5300 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20241203@151152.7600 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.1100 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.1470 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f192458674f1fb801','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.1540 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.1940 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.2680 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f192458674f1fb801',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241203@151152.5860 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.6080 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.6650 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.6900 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.7010 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.7170 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.7620 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.7770 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f180679674f1fb811','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.7820 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.8080 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.8420 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f180679674f1fb811',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,240000,?,?,?)
20241203@151152.1137 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151152.1141 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241203@151152.1164 k950arvd546ftdpf3c14dvrd83 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20241203@151152.1206 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.1236 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.1289 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.1310 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.1323 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.1338 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20241203@151152.1352 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.1387 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.1427 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f147874674f1fb821','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.1438 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.1487 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.1522 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f147874674f1fb821',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20241203@151152.1827 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.1852 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.1916 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.1945 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.1956 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.1976 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.2000 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.2014 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f181303674f1fb830','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.2027 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.2051 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.2115 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f181303674f1fb830',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,270000,?,?,?)
20241203@151152.2410 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151152.2414 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241203@151152.2437 k950arvd546ftdpf3c14dvrd83 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20241203@151152.2469 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.2503 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.2602 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.2625 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.2639 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.2669 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20241203@151152.2697 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.2723 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.2741 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f132825674f1fb841','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.2747 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.2765 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.2808 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f132825674f1fb841',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20241203@151152.3127 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.3167 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.3243 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.3268 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.3281 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.3300 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.3334 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.3360 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f146374674f1fb850','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.3367 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.3389 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.3460 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f146374674f1fb850',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,300000,?,?,?)
20241203@151152.3731 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151152.3735 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241203@151152.3763 k950arvd546ftdpf3c14dvrd83 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20241203@151152.3798 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.3828 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.3892 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.3923 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.3973 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.3992 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20241203@151152.4006 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.4047 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.4069 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f126567674f1fb861','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.4074 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.4103 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.4145 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f126567674f1fb861',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,320000,?,?,?,?,?)
20241203@151152.4415 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.4438 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.4495 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.4524 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.4536 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.4555 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.4579 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.4633 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f168373674f1fb86f','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.4639 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.4666 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.4706 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f168373674f1fb86f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,330000,?,?,?)
20241203@151152.4995 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151152.5005 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.5361.00.1'
20241203@151152.5033 k950arvd546ftdpf3c14dvrd83 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.5361.00.1'
20241203@151152.5195 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.5221 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.5260 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.5310 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.5323 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.5349 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.5361.00.1' and lote = 'r2300840200a'
20241203@151152.5376 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.5396 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.5413 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f153385674f1fb883','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.5418 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.5449 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.5512 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f153385674f1fb883',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,350000,?,?,?,?,?)
20241203@151152.5802 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.5825 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.5875 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.5895 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.5904 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.5952 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.5999 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.6038 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f177310674f1fb891','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.6044 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.6070 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.6133 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f177310674f1fb891',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,360000,?,?,?)
20241203@151152.6426 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151152.6430 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.5365.00.1'
20241203@151152.6465 k950arvd546ftdpf3c14dvrd83 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.5365.00.1'
20241203@151152.6645 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.6670 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.6725 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.6744 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.6767 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.6784 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.5365.00.1' and lote = 'r2300840100a'
20241203@151152.6801 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.6819 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.6842 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f174511674f1fb8a6','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.6846 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.6873 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.6935 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f174511674f1fb8a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,380000,?,?,?,?,?)
20241203@151152.7237 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.7275 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.7311 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.7343 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.7361 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.7396 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.7432 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.7461 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f171592674f1fb8b4','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.7479 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.7500 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.7595 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f171592674f1fb8b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,390000,?,?,?)
20241203@151152.7871 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151152.7875 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '325.551.00.15'
20241203@151152.7902 k950arvd546ftdpf3c14dvrd83 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 = '325.551.00.15'
20241203@151152.8071 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.8093 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.8135 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.8154 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.8166 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.8318 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='325.551.00.15' and lote = 'r210109070'
20241203@151152.8360 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.8386 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.8410 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f116945674f1fb8cc','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.8416 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.8440 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.8482 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f116945674f1fb8cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,410000,?,?,?,?,?)
20241203@151152.8810 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.8844 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.8885 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.8905 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.8931 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.8951 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.8972 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.8990 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f108179674f1fb8da','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.8995 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.9012 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.9113 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f108179674f1fb8da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,420000,?,?,?)
20241203@151152.9393 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151152.9401 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241203@151152.9429 k950arvd546ftdpf3c14dvrd83 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.8253.00.1'
20241203@151152.9600 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.9621 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151152.9698 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.9723 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.9737 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151152.9752 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241203@151152.9771 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151152.9916 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151152.9974 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f158672674f1fb8ee','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151152.9981 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.6000 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.5400 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f158672674f1fb8ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,440000,?,?,?,?,?)
20241203@151153.3660 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.3890 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.4370 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.4590 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.4750 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.5010 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5260 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.5440 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f110851674f1fb90c','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.5510 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5770 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.6370 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f110851674f1fb90c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,450000,?,?,?)
20241203@151153.9680 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151153.9730 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241203@151153.1002 k950arvd546ftdpf3c14dvrd83 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.8253.00.1'
20241203@151153.1021 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.1071 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.1133 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.1162 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.1177 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.1201 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241203@151153.1224 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.1244 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.1267 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f177891674f1fb91d','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.1273 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.1303 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.1379 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f177891674f1fb91d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,470000,?,?,?,?,?)
20241203@151153.1663 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.1694 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.1733 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.1766 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.1778 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.1796 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.1830 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.1846 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f136854674f1fb92b','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.1851 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.1875 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.1933 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f136854674f1fb92b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,480000,?,?,?)
20241203@151153.2219 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151153.2223 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241203@151153.2253 k950arvd546ftdpf3c14dvrd83 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'
20241203@151153.2421 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.2452 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.2508 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.2526 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.2545 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.2564 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241203@151153.2590 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.2613 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.2632 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f134836674f1fb93f','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.2641 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.2661 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.2716 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f134836674f1fb93f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,500000,?,?,?,?,?)
20241203@151153.4212 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.4235 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.4353 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.4379 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.4392 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.4425 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.4452 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.4490 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f190810674f1fb96c','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.4498 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.4545 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.4626 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f190810674f1fb96c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,510000,?,?,?)
20241203@151153.4921 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151153.4926 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241203@151153.4957 k950arvd546ftdpf3c14dvrd83 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'
20241203@151153.4974 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5004 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.5047 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5069 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.5084 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.5101 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241203@151153.5119 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5148 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.5171 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f182829674f1fb97c','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.5182 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5207 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.5253 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f182829674f1fb97c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,530000,?,?,?,?,?)
20241203@151153.5556 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5590 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.5655 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5680 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.5691 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.5740 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5763 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.5786 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f199098674f1fb98c','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.5791 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.5817 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.5867 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f199098674f1fb98c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,540000,?,?,?)
20241203@151153.6197 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151153.6201 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241203@151153.6288 k950arvd546ftdpf3c14dvrd83 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'
20241203@151153.6320 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.6344 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.6415 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.6435 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.6448 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.6483 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241203@151153.6500 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.6520 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.6576 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f199664674f1fb99e','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.6581 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.6602 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.6645 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f199664674f1fb99e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,560000,?,?,?,?,?)
20241203@151153.6982 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.7004 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.7039 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.7061 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.7074 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.7095 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.7117 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.7150 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f188859674f1fb9ad','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.7168 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.7187 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.7278 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f188859674f1fb9ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,570000,?,?,?)
20241203@151153.7574 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151153.7591 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241203@151153.7627 k950arvd546ftdpf3c14dvrd83 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.646.00.01'
20241203@151153.7797 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.7818 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.7889 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.7912 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.7925 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.7943 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400228100a'
20241203@151153.7963 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.7982 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.8001 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f148364674f1fb9c2','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.8007 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.8033 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.8093 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f148364674f1fb9c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,590000,?,?,?,?,?)
20241203@151153.8416 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.8454 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.8505 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.8528 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.8539 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.8569 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.8589 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.8605 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f123132674f1fb9d1','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.8612 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.8638 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.8684 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f123132674f1fb9d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,600000,?,?,?)
20241203@151153.8991 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151153.8995 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20241203@151153.9037 k950arvd546ftdpf3c14dvrd83 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.698.00.01'
20241203@151153.9204 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.9242 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.9278 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.9298 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.9315 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.9337 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2400061200a'
20241203@151153.9363 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.9411 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.9439 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f199078674f1fb9e4','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151153.9447 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.9464 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.9517 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f199078674f1fb9e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,620000,?,?,?,?,?)
20241203@151153.9820 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.9847 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151153.9930 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151153.9950 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151153.9960 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151153.9978 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.9000 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.2600 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f193806674f1fb9f3','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.3800 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.6000 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.1150 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f193806674f1fb9f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,630000,?,?,?)
20241203@151154.4130 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.4180 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20241203@151154.4430 k950arvd546ftdpf3c14dvrd83 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.5540.00.1'
20241203@151154.4630 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.5080 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.5410 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.5600 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.5740 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.6070 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20241203@151154.6260 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.6590 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.7100 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f131047674f1fba0f','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.7160 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.7380 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.7910 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f131047674f1fba0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,650000,?,?,?,?,?)
20241203@151154.1099 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.1102 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '322.227.26.01'
20241203@151154.1134 k950arvd546ftdpf3c14dvrd83 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 = '322.227.26.01'
20241203@151154.1294 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.1323 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.1360 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.1380 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.1398 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.1418 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='322.227.26.01' and lote = 'r2200095100a'
20241203@151154.1450 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.1488 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.1502 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f112165674f1fba23','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.1507 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.1533 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.1579 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f112165674f1fba23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,660000,?,?,?,?,?)
20241203@151154.1885 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.1889 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241203@151154.1917 k950arvd546ftdpf3c14dvrd83 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'
20241203@151154.1935 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.1956 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.1997 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.2019 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.2038 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.2056 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301280100a'
20241203@151154.2083 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.2101 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.2123 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f130224674f1fba32','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.2128 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.2166 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.2250 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f130224674f1fba32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,670000,?,?,?,?,?)
20241203@151154.2530 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.2534 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20241203@151154.2565 k950arvd546ftdpf3c14dvrd83 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'
20241203@151154.2722 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.2745 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.2784 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.2809 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.2829 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.2853 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20241203@151154.2880 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.2901 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.2918 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f126588674f1fba46','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.2924 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.2942 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.2981 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f126588674f1fba46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,680000,?,?,?,?,?)
20241203@151154.3266 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.3271 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241203@151154.3300 k950arvd546ftdpf3c14dvrd83 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241203@151154.3469 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.3491 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.3531 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.3573 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.3610 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.3658 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241203@151154.3685 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.3701 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.3743 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f104614674f1fba59','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.3757 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.3776 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.3815 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f104614674f1fba59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,690000,?,?,?,?,?)
20241203@151154.4108 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.4131 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.4192 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.4211 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.4253 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.4280 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.4301 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.4319 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f138204674f1fba68','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.4324 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.4346 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.4452 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f138204674f1fba68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,700000,?,?,?)
20241203@151154.4732 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.4736 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241203@151154.4764 k950arvd546ftdpf3c14dvrd83 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241203@151154.4790 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.4870 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.4938 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.4971 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.4981 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.5002 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241203@151154.5017 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.5037 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.5051 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f176765674f1fba7a','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.5057 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.5078 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.5112 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f176765674f1fba7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,720000,?,?,?,?,?)
20241203@151154.5407 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.5428 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.5476 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.5496 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.5539 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.5564 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.5581 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.5611 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f166668674f1fba87','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.5618 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.5638 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.5688 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f166668674f1fba87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,730000,?,?,?)
20241203@151154.5964 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.5967 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241203@151154.5989 k950arvd546ftdpf3c14dvrd83 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241203@151154.6010 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.6030 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.6062 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.6089 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.6108 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.6130 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241203@151154.6146 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.6174 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.6190 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f157801674f1fba96','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.6195 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.6220 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.6260 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f157801674f1fba96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,750000,?,?,?,?,?)
20241203@151154.6530 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.6553 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.6590 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.6611 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.6622 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.7795 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.7818 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.7834 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f129352674f1fbabe','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.7840 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.7858 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.7896 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f129352674f1fbabe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,760000,?,?,?)
20241203@151154.8221 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.8225 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241203@151154.8249 k950arvd546ftdpf3c14dvrd83 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'
20241203@151154.8465 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.8508 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.8574 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.8596 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.8607 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.8630 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241203@151154.8659 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.8682 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.8709 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f126136674f1fbad3','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.8715 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.8740 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.8791 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f126136674f1fbad3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,780000,?,?,?,?,?)
20241203@151154.9186 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.9216 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.9265 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.9298 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.9308 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151154.9330 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.9368 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151154.9388 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f172483674f1fbae3','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151154.9401 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151154.9420 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151154.9497 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f172483674f1fbae3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,790000,?,?,?)
20241203@151154.9902 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151154.9907 k950arvd546ftdpf3c14dvrd83 Query : select st.usalote valor from st where st.ref = '322.222.04.01'
20241203@151154.9935 k950arvd546ftdpf3c14dvrd83 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 = '322.222.04.01'
20241203@151155.1500 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.1740 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.2110 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.2320 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.2460 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151155.2960 k950arvd546ftdpf3c14dvrd83 Query : select sestamp valor from se where ref ='322.222.04.01' and lote = 'r2200095200a'
20241203@151155.3270 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.3570 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.3790 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f104230674f1fbb07','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151155.3860 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.4170 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.4800 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f104230674f1fbb07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,810000,?,?,?,?,?)
20241203@151155.8080 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.8390 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.8810 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.9110 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.9240 k950arvd546ftdpf3c14dvrd83 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151155.9470 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.9690 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.9870 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f124582674f1fbb17','aut674f113881674f1fb65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151155.9940 k950arvd546ftdpf3c14dvrd83 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.1026 k950arvd546ftdpf3c14dvrd83 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.1065 k950arvd546ftdpf3c14dvrd83 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f124582674f1fbb17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f113881674f1fb65e' ,0,0 ,2,23.00,820000,?,?,?)
20241203@151155.1370 k950arvd546ftdpf3c14dvrd83 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f113881674f1fb65e','2408056','wait',39,'adm09112754980.682000002')
20241203@151155.1482 k950arvd546ftdpf3c14dvrd83 Query : use flama_phc
20241203@151155.1486 k950arvd546ftdpf3c14dvrd83 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151155.1520 k950arvd546ftdpf3c14dvrd83 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3631';
20241203@151155.1574 k950arvd546ftdpf3c14dvrd83 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3631';
20241203@151155.1636 k950arvd546ftdpf3c14dvrd83 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3631';
20241203@151155.1675 k950arvd546ftdpf3c14dvrd83 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3631';
20241203@151155.2204 21ls3jbta8jt8h12crcijkcqbq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151155.2218 21ls3jbta8jt8h12crcijkcqbq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151155.2298 21ls3jbta8jt8h12crcijkcqbq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3632';
20241203@151155.2370 21ls3jbta8jt8h12crcijkcqbq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3632';
20241203@151155.2436 21ls3jbta8jt8h12crcijkcqbq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3632';
20241203@151155.2497 21ls3jbta8jt8h12crcijkcqbq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3632';
20241203@151155.2559 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.2562 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151155.2646 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.2651 21ls3jbta8jt8h12crcijkcqbq Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20241203@151155.2732 21ls3jbta8jt8h12crcijkcqbq 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'
20241203@151155.2918 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408058 and bi.ref ='324.1317.00.1' and bi.lordem =1
20241203@151155.3266 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241203@151155.3438 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408058 and bi.ref ='324.2300.00.1' and bi.lordem =2
20241203@151155.3799 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241203@151155.3823 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408058 and bi.ref ='324.2300.00.1' and bi.lordem =2
20241203@151155.3841 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.3845 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151155.3881 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.3884 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151155.3920 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.3923 21ls3jbta8jt8h12crcijkcqbq 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')
20241203@151155.3979 21ls3jbta8jt8h12crcijkcqbq 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
20241203@151155.4025 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.4029 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20241203@151155.4062 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.4071 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151155.4111 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.4114 21ls3jbta8jt8h12crcijkcqbq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151155.4163 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.4168 21ls3jbta8jt8h12crcijkcqbq Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20241203@151155.4216 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.4219 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from td where ndoc = 39
20241203@151155.4233 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151155.4251 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.4270 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151155.4299 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.4315 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151155.4348 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.4364 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151155.4379 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151155.4444 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151155.4475 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.4494 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151155.4514 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f196266674f1fbb6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151155.4700 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.4720 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151155.4765 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151155.4780 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151155.4794 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151155.4809 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151155.4833 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151155.4846 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151155.4866 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f196266674f1fbb6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151155.5138 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151155.5170 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.5194 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151155.5222 21ls3jbta8jt8h12crcijkcqbq Query : select 'normal' from dummy
20241203@151155.5239 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f196266674f1fbb6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2154,100080,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151155.5550 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.5553 21ls3jbta8jt8h12crcijkcqbq Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241203@151155.5578 21ls3jbta8jt8h12crcijkcqbq 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'
20241203@151155.5738 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.5766 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.5803 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.5833 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.5843 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151155.5859 21ls3jbta8jt8h12crcijkcqbq Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400459200a'
20241203@151155.5884 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.5929 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.5949 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f166183674f1fbb8f','aut674f196266674f1fbb6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151155.5953 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.5985 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.6021 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f166183674f1fbb8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',25.000 ,'aut674f196266674f1fbb6a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151155.6294 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.6297 21ls3jbta8jt8h12crcijkcqbq Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241203@151155.6335 21ls3jbta8jt8h12crcijkcqbq 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.2300.00.1'
20241203@151155.6503 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.6529 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.6586 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.6619 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.6642 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151155.6669 21ls3jbta8jt8h12crcijkcqbq Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241203@151155.6687 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.6726 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.6746 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f194670674f1fbba3','aut674f196266674f1fbb6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151155.6762 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.6782 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.6819 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f194670674f1fbba3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut674f196266674f1fbb6a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151155.7090 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.7093 21ls3jbta8jt8h12crcijkcqbq Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241203@151155.7120 21ls3jbta8jt8h12crcijkcqbq 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.2300.00.1'
20241203@151155.7134 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.7153 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.7212 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.7244 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.7263 21ls3jbta8jt8h12crcijkcqbq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151155.7298 21ls3jbta8jt8h12crcijkcqbq Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241203@151155.7317 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.7334 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151155.7372 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f105225674f1fbbb2','aut674f196266674f1fbb6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151155.7376 21ls3jbta8jt8h12crcijkcqbq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151155.7396 21ls3jbta8jt8h12crcijkcqbq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151155.7442 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f105225674f1fbbb2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut674f196266674f1fbb6a' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241203@151155.7712 21ls3jbta8jt8h12crcijkcqbq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f196266674f1fbb6a','2408058','wait',39,'adm09112754980.682000002')
20241203@151155.7801 21ls3jbta8jt8h12crcijkcqbq Query : use flama_phc
20241203@151155.7807 21ls3jbta8jt8h12crcijkcqbq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151155.7843 21ls3jbta8jt8h12crcijkcqbq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3632';
20241203@151155.7884 21ls3jbta8jt8h12crcijkcqbq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3632';
20241203@151155.7943 21ls3jbta8jt8h12crcijkcqbq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3632';
20241203@151155.7977 21ls3jbta8jt8h12crcijkcqbq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3632';
20241203@151156.3000 i3sip4nq2p1a80c55cn9sof7jh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151156.1600 i3sip4nq2p1a80c55cn9sof7jh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151156.1010 i3sip4nq2p1a80c55cn9sof7jh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3633';
20241203@151156.1790 i3sip4nq2p1a80c55cn9sof7jh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3633';
20241203@151156.2700 i3sip4nq2p1a80c55cn9sof7jh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3633';
20241203@151156.3110 i3sip4nq2p1a80c55cn9sof7jh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3633';
20241203@151156.3740 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.3850 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151156.4920 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.4960 i3sip4nq2p1a80c55cn9sof7jh Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241203@151156.6090 i3sip4nq2p1a80c55cn9sof7jh 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'
20241203@151156.6410 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408063 and bi.ref ='328.9005.00.1' and bi.lordem =1
20241203@151156.1004 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9345.00.1'
20241203@151156.1191 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2080 and bo.obrano = 2408063 and bi.ref ='328.9345.00.1' and bi.lordem =2
20241203@151156.1561 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.1565 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151156.1600 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.1605 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151156.1663 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.1667 i3sip4nq2p1a80c55cn9sof7jh 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')
20241203@151156.1705 i3sip4nq2p1a80c55cn9sof7jh 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
20241203@151156.1751 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.1756 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241203@151156.1905 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.1908 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151156.1944 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.1948 i3sip4nq2p1a80c55cn9sof7jh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151156.2030 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.2033 i3sip4nq2p1a80c55cn9sof7jh Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241203@151156.2108 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.2111 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from td where ndoc = 39
20241203@151156.2127 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151156.2149 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.2167 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151156.2201 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.2222 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151156.2263 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.2288 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151156.2305 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151156.2370 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151156.2399 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.2424 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151156.2448 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f153036674f1fbc38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151156.2662 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.2687 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151156.2743 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151156.2783 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151156.2800 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151156.2826 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151156.2839 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151156.2863 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151156.2878 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f153036674f1fbc38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151156.3146 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151156.3185 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.3218 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151156.3257 i3sip4nq2p1a80c55cn9sof7jh Query : select 'normal' from dummy
20241203@151156.3283 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f153036674f1fbc38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2155,100810,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151156.3605 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.3609 i3sip4nq2p1a80c55cn9sof7jh Query : select st.usalote valor from st where st.ref = '328.9005.00.1'
20241203@151156.3641 i3sip4nq2p1a80c55cn9sof7jh 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'
20241203@151156.3668 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.3693 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151156.3733 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.3751 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151156.3762 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151156.3779 i3sip4nq2p1a80c55cn9sof7jh Query : select sestamp valor from se where ref ='328.9005.00.1' and lote = 'r2400092600a'
20241203@151156.3793 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.3810 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151156.3825 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f105212674f1fbc5c','aut674f153036674f1fbc38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151156.3830 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.3854 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151156.3888 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f105212674f1fbc5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut674f153036674f1fbc38' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151156.4173 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.4208 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151156.4269 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.4301 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151156.4326 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151156.4340 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.4364 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151156.4381 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f196812674f1fbc69','aut674f153036674f1fbc38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151156.4386 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.4408 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151156.4444 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f196812674f1fbc69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f153036674f1fbc38' ,0,0 ,2,23.00,20000,?,?,?)
20241203@151156.4720 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.4724 i3sip4nq2p1a80c55cn9sof7jh Query : select st.usalote valor from st where st.ref = '328.9345.00.1'
20241203@151156.4773 i3sip4nq2p1a80c55cn9sof7jh 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.9345.00.1'
20241203@151156.4926 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.4943 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151156.4975 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.4991 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151156.5000 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151156.5019 i3sip4nq2p1a80c55cn9sof7jh Query : select sestamp valor from se where ref ='328.9345.00.1' and lote = 'r2101101300a'
20241203@151156.5053 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.5076 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151156.5095 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f155784674f1fbc7b','aut674f153036674f1fbc38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151156.5106 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.5140 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151156.5208 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f155784674f1fbc7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut674f153036674f1fbc38' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241203@151156.5484 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.5508 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151156.5542 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.5565 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151156.5574 i3sip4nq2p1a80c55cn9sof7jh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151156.5591 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.5608 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151156.5626 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f156830674f1fbc88','aut674f153036674f1fbc38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151156.5636 i3sip4nq2p1a80c55cn9sof7jh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.5665 i3sip4nq2p1a80c55cn9sof7jh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151156.5706 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f156830674f1fbc88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f153036674f1fbc38' ,0,0 ,2,23.00,50000,?,?,?)
20241203@151156.5973 i3sip4nq2p1a80c55cn9sof7jh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f153036674f1fbc38','2408063','wait',39,'adm09112754980.682000002')
20241203@151156.6060 i3sip4nq2p1a80c55cn9sof7jh Query : use flama_phc
20241203@151156.6064 i3sip4nq2p1a80c55cn9sof7jh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151156.6105 i3sip4nq2p1a80c55cn9sof7jh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3633';
20241203@151156.6149 i3sip4nq2p1a80c55cn9sof7jh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3633';
20241203@151156.6201 i3sip4nq2p1a80c55cn9sof7jh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3633';
20241203@151156.6234 i3sip4nq2p1a80c55cn9sof7jh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3633';
20241203@151156.6794 il7s3n7pak1js1kqd59bm6sp1i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151156.6807 il7s3n7pak1js1kqd59bm6sp1i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151156.6892 il7s3n7pak1js1kqd59bm6sp1i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3634';
20241203@151156.6959 il7s3n7pak1js1kqd59bm6sp1i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3634';
20241203@151156.7027 il7s3n7pak1js1kqd59bm6sp1i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3634';
20241203@151156.7063 il7s3n7pak1js1kqd59bm6sp1i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3634';
20241203@151156.7128 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.7131 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151156.7223 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.7227 il7s3n7pak1js1kqd59bm6sp1i Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20241203@151156.7345 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20241203@151156.7499 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408103 and bi.ref ='324.1706.00.1' and bi.lordem =1
20241203@151156.8086 il7s3n7pak1js1kqd59bm6sp1i 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'
20241203@151156.8322 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408103 and bi.ref ='324.2326.00.1' and bi.lordem =2
20241203@151156.8704 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.8708 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151156.8746 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.8775 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151156.8808 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.8816 il7s3n7pak1js1kqd59bm6sp1i 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')
20241203@151156.8870 il7s3n7pak1js1kqd59bm6sp1i 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
20241203@151156.8923 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.8927 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20241203@151156.9058 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.9061 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151156.9096 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.9099 il7s3n7pak1js1kqd59bm6sp1i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151156.9147 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.9151 il7s3n7pak1js1kqd59bm6sp1i Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20241203@151156.9218 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151156.9247 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from td where ndoc = 39
20241203@151156.9262 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151156.9293 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.9326 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151156.9351 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.9374 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151156.9411 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.9434 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151156.9474 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151156.9568 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151156.9595 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.9628 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151156.9654 il7s3n7pak1js1kqd59bm6sp1i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f101104674f1fbce7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151156.9844 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151156.9869 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151156.9914 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151156.9934 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151156.9963 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151156.9987 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151157.9000 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151157.3000 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151157.4500 il7s3n7pak1js1kqd59bm6sp1i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f101104674f1fbce7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151157.3700 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151157.4120 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.4680 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151157.5310 il7s3n7pak1js1kqd59bm6sp1i Query : select 'normal' from dummy
20241203@151157.5590 il7s3n7pak1js1kqd59bm6sp1i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f101104674f1fbce7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2156,101889,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151157.1517 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151157.2240 il7s3n7pak1js1kqd59bm6sp1i Query : select st.usalote valor from st where st.ref = '324.1706.00.1'
20241203@151157.2303 il7s3n7pak1js1kqd59bm6sp1i 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.1706.00.1'
20241203@151157.2464 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.2490 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151157.2526 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.2555 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151157.2584 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151157.2614 il7s3n7pak1js1kqd59bm6sp1i Query : select sestamp valor from se where ref ='324.1706.00.1' and lote = 'r2100123100b'
20241203@151157.2639 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.2659 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151157.2674 il7s3n7pak1js1kqd59bm6sp1i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f113130674f1fbd40','aut674f101104674f1fbce7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151157.2681 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.2706 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151157.2741 il7s3n7pak1js1kqd59bm6sp1i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f113130674f1fbd40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut674f101104674f1fbce7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151157.3018 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151157.3130 il7s3n7pak1js1kqd59bm6sp1i Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241203@151157.3330 il7s3n7pak1js1kqd59bm6sp1i 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'
20241203@151157.3486 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.3506 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151157.3544 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.3563 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151157.3571 il7s3n7pak1js1kqd59bm6sp1i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151157.3587 il7s3n7pak1js1kqd59bm6sp1i Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2200247200a'
20241203@151157.3613 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.3629 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151157.3642 il7s3n7pak1js1kqd59bm6sp1i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f116804674f1fbd58','aut674f101104674f1fbce7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151157.3647 il7s3n7pak1js1kqd59bm6sp1i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.3664 il7s3n7pak1js1kqd59bm6sp1i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151157.3698 il7s3n7pak1js1kqd59bm6sp1i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f116804674f1fbd58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut674f101104674f1fbce7' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151157.4375 il7s3n7pak1js1kqd59bm6sp1i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f101104674f1fbce7','2408103','wait',39,'adm09112754980.682000002')
20241203@151157.4487 il7s3n7pak1js1kqd59bm6sp1i Query : use flama_phc
20241203@151157.4491 il7s3n7pak1js1kqd59bm6sp1i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151157.4530 il7s3n7pak1js1kqd59bm6sp1i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3634';
20241203@151157.4571 il7s3n7pak1js1kqd59bm6sp1i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3634';
20241203@151157.4630 il7s3n7pak1js1kqd59bm6sp1i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3634';
20241203@151157.4666 il7s3n7pak1js1kqd59bm6sp1i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3634';
20241203@151157.5203 rrda8apil2t6r7llimeficm9tv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151157.5217 rrda8apil2t6r7llimeficm9tv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151157.5296 rrda8apil2t6r7llimeficm9tv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3635';
20241203@151157.5363 rrda8apil2t6r7llimeficm9tv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3635';
20241203@151157.5430 rrda8apil2t6r7llimeficm9tv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3635';
20241203@151157.5468 rrda8apil2t6r7llimeficm9tv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3635';
20241203@151157.5525 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.5530 rrda8apil2t6r7llimeficm9tv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151157.5608 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.5632 rrda8apil2t6r7llimeficm9tv Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20241203@151157.5689 rrda8apil2t6r7llimeficm9tv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.724.00.01'
20241203@151157.5857 rrda8apil2t6r7llimeficm9tv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408106 and bi.ref ='324.724.00.01' and bi.lordem =1
20241203@151157.6190 rrda8apil2t6r7llimeficm9tv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20241203@151157.6349 rrda8apil2t6r7llimeficm9tv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408106 and bi.ref ='324.1646.00.1' and bi.lordem =2
20241203@151157.6696 rrda8apil2t6r7llimeficm9tv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241203@151157.6856 rrda8apil2t6r7llimeficm9tv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408106 and bi.ref ='324.1578.00.1' and bi.lordem =3
20241203@151157.7312 rrda8apil2t6r7llimeficm9tv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241203@151157.7422 rrda8apil2t6r7llimeficm9tv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408106 and bi.ref ='324.1578.00.1' and bi.lordem =3
20241203@151157.7458 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.7462 rrda8apil2t6r7llimeficm9tv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151157.7535 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.7632 rrda8apil2t6r7llimeficm9tv Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151157.7706 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.7712 rrda8apil2t6r7llimeficm9tv 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')
20241203@151157.7782 rrda8apil2t6r7llimeficm9tv 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
20241203@151157.7883 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.7886 rrda8apil2t6r7llimeficm9tv Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20241203@151157.7960 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.7970 rrda8apil2t6r7llimeficm9tv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151157.8106 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.8110 rrda8apil2t6r7llimeficm9tv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151157.8201 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.8209 rrda8apil2t6r7llimeficm9tv Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20241203@151157.8263 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151157.8268 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from td where ndoc = 39
20241203@151157.8281 rrda8apil2t6r7llimeficm9tv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151157.8383 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.8498 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151157.8580 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.8600 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151157.8693 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.8735 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151157.8751 rrda8apil2t6r7llimeficm9tv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151157.8836 rrda8apil2t6r7llimeficm9tv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151157.8860 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.8883 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151157.8905 rrda8apil2t6r7llimeficm9tv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f128370674f1fbdd5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151157.9127 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.9145 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151157.9215 rrda8apil2t6r7llimeficm9tv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151157.9234 rrda8apil2t6r7llimeficm9tv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151157.9253 rrda8apil2t6r7llimeficm9tv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151157.9273 rrda8apil2t6r7llimeficm9tv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151157.9291 rrda8apil2t6r7llimeficm9tv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151157.9308 rrda8apil2t6r7llimeficm9tv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151157.9325 rrda8apil2t6r7llimeficm9tv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f128370674f1fbdd5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151157.9617 rrda8apil2t6r7llimeficm9tv Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151157.9661 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151157.9688 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151157.9732 rrda8apil2t6r7llimeficm9tv Query : select 'normal' from dummy
20241203@151157.9751 rrda8apil2t6r7llimeficm9tv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f128370674f1fbdd5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2157,101889,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151158.1050 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151158.1100 rrda8apil2t6r7llimeficm9tv Query : select st.usalote valor from st where st.ref = '324.724.00.01'
20241203@151158.1360 rrda8apil2t6r7llimeficm9tv 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.724.00.01'
20241203@151158.2970 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.3160 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.3530 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.3740 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.3860 rrda8apil2t6r7llimeficm9tv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151158.4300 rrda8apil2t6r7llimeficm9tv Query : select sestamp valor from se where ref ='324.724.00.01' and lote = '11/18'
20241203@151158.4900 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.5120 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.5250 rrda8apil2t6r7llimeficm9tv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f115288674f1fbe0b','aut674f128370674f1fbdd5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151158.5300 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.5820 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.6300 rrda8apil2t6r7llimeficm9tv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f115288674f1fbe0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut674f128370674f1fbdd5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151158.9610 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151158.9650 rrda8apil2t6r7llimeficm9tv Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20241203@151158.1004 rrda8apil2t6r7llimeficm9tv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20241203@151158.1160 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.1185 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.1219 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.1244 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.1253 rrda8apil2t6r7llimeficm9tv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151158.1269 rrda8apil2t6r7llimeficm9tv Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2400725100a'
20241203@151158.1285 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.1301 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.1317 rrda8apil2t6r7llimeficm9tv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f150299674f1fbe1f','aut674f128370674f1fbdd5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151158.1324 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.1342 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.1374 rrda8apil2t6r7llimeficm9tv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f150299674f1fbe1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f128370674f1fbdd5' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151158.1668 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151158.1672 rrda8apil2t6r7llimeficm9tv Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241203@151158.1696 rrda8apil2t6r7llimeficm9tv 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.1578.00.1'
20241203@151158.1851 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.1869 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.1898 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.1914 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.1923 rrda8apil2t6r7llimeficm9tv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151158.1961 rrda8apil2t6r7llimeficm9tv Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241203@151158.1985 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.2000 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.2013 rrda8apil2t6r7llimeficm9tv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f129152674f1fbe30','aut674f128370674f1fbdd5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151158.2019 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.2039 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.2077 rrda8apil2t6r7llimeficm9tv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f129152674f1fbe30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut674f128370674f1fbdd5' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241203@151158.2373 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151158.2377 rrda8apil2t6r7llimeficm9tv Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241203@151158.2399 rrda8apil2t6r7llimeficm9tv 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.1578.00.1'
20241203@151158.2417 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.2510 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.2580 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.2642 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.2653 rrda8apil2t6r7llimeficm9tv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151158.2703 rrda8apil2t6r7llimeficm9tv Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241203@151158.2717 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.2738 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.2751 rrda8apil2t6r7llimeficm9tv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f155772674f1fbe42','aut674f128370674f1fbdd5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151158.2757 rrda8apil2t6r7llimeficm9tv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.2774 rrda8apil2t6r7llimeficm9tv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.2809 rrda8apil2t6r7llimeficm9tv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f155772674f1fbe42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f128370674f1fbdd5' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241203@151158.3098 rrda8apil2t6r7llimeficm9tv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f128370674f1fbdd5','2408106','wait',39,'adm09112754980.682000002')
20241203@151158.3205 rrda8apil2t6r7llimeficm9tv Query : use flama_phc
20241203@151158.3214 rrda8apil2t6r7llimeficm9tv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151158.3263 rrda8apil2t6r7llimeficm9tv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3635';
20241203@151158.3309 rrda8apil2t6r7llimeficm9tv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3635';
20241203@151158.3400 rrda8apil2t6r7llimeficm9tv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3635';
20241203@151158.3469 rrda8apil2t6r7llimeficm9tv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3635';
20241203@151158.4032 jc4t06qoamg7ks5a7midro3t6n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151158.4048 jc4t06qoamg7ks5a7midro3t6n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151158.4118 jc4t06qoamg7ks5a7midro3t6n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3636';
20241203@151158.4232 jc4t06qoamg7ks5a7midro3t6n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3636';
20241203@151158.4299 jc4t06qoamg7ks5a7midro3t6n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3636';
20241203@151158.4337 jc4t06qoamg7ks5a7midro3t6n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3636';
20241203@151158.4419 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.4423 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151158.4517 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.4520 jc4t06qoamg7ks5a7midro3t6n Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20241203@151158.4569 jc4t06qoamg7ks5a7midro3t6n 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'
20241203@151158.4613 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408126 and bi.ref ='324.2232.00.1' and bi.lordem =1
20241203@151158.5094 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20241203@151158.5284 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408126 and bi.ref ='324.4960.00.1' and bi.lordem =2
20241203@151158.5676 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20241203@151158.5738 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408126 and bi.ref ='324.4960.00.1' and bi.lordem =2
20241203@151158.5887 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241203@151158.5919 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408126 and bi.ref ='324.2224.00.1' and bi.lordem =3
20241203@151158.6271 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241203@151158.6442 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408126 and bi.ref ='324.681.00.01' and bi.lordem =4
20241203@151158.6968 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20241203@151158.7300 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408126 and bi.ref ='324.691.00.01' and bi.lordem =5
20241203@151158.7714 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20241203@151158.7738 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408126 and bi.ref ='324.698.00.01' and bi.lordem =6
20241203@151158.8125 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.8128 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151158.8166 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.8171 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151158.8203 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.8207 jc4t06qoamg7ks5a7midro3t6n 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')
20241203@151158.8237 jc4t06qoamg7ks5a7midro3t6n 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
20241203@151158.8276 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.8281 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20241203@151158.8313 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.8317 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151158.8348 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.8352 jc4t06qoamg7ks5a7midro3t6n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151158.8401 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.8405 jc4t06qoamg7ks5a7midro3t6n Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20241203@151158.8456 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.8460 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from td where ndoc = 39
20241203@151158.8474 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151158.8489 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.8507 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151158.8528 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.8544 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151158.8577 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.8595 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151158.8611 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151158.8672 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151158.8686 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.8704 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151158.8720 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151158.8927 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.8946 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151158.8984 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151158.8998 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151158.9010 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151158.9022 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151158.9036 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151158.9051 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151158.9064 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f169084674f1fbed2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151158.9380 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151158.9411 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.9434 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151158.9465 jc4t06qoamg7ks5a7midro3t6n Query : select 'normal' from dummy
20241203@151158.9491 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f169084674f1fbed2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2158,101889,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151158.9859 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151158.9863 jc4t06qoamg7ks5a7midro3t6n Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20241203@151158.9890 jc4t06qoamg7ks5a7midro3t6n 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'
20241203@151158.9906 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.9924 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151158.9955 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151158.9973 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151158.9985 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151158.9999 jc4t06qoamg7ks5a7midro3t6n Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20241203@151159.1300 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.3200 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.4700 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f153725674f1fbf00','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.5300 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7500 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.1070 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f153725674f1fbf00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151159.4180 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151159.4210 jc4t06qoamg7ks5a7midro3t6n Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241203@151159.4480 jc4t06qoamg7ks5a7midro3t6n 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.4960.00.1'
20241203@151159.6180 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6390 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.6680 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6870 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.6960 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.7110 jc4t06qoamg7ks5a7midro3t6n Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241203@151159.7300 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7600 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.7730 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f104662674f1fbf11','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.7790 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.8000 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.8310 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f104662674f1fbf11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151159.1135 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151159.1138 jc4t06qoamg7ks5a7midro3t6n Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241203@151159.1160 jc4t06qoamg7ks5a7midro3t6n 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.4960.00.1'
20241203@151159.1191 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.1235 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.1336 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.1389 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.1437 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.1737 jc4t06qoamg7ks5a7midro3t6n Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241203@151159.1785 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.1803 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.1820 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f123107674f1fbf2b','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.1827 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.1868 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.1946 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f123107674f1fbf2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241203@151159.2436 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151159.2454 jc4t06qoamg7ks5a7midro3t6n Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241203@151159.2640 jc4t06qoamg7ks5a7midro3t6n 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.2224.00.1'
20241203@151159.2658 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.2690 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.2923 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.2995 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.3007 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.3026 jc4t06qoamg7ks5a7midro3t6n Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241203@151159.3050 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.3867 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.4294 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f125338674f1fbf4a','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.4300 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.4326 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.4367 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f125338674f1fbf4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241203@151159.4695 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151159.4699 jc4t06qoamg7ks5a7midro3t6n Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241203@151159.4729 jc4t06qoamg7ks5a7midro3t6n 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'
20241203@151159.4891 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.4925 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.4956 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.4987 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.5003 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.5039 jc4t06qoamg7ks5a7midro3t6n Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400223200a'
20241203@151159.5093 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.5133 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.5149 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f165725674f1fbf7c','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.5155 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.5177 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.5217 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f165725674f1fbf7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241203@151159.5513 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.5535 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.5575 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.5596 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.5608 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.5627 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.5650 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.5673 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f156918674f1fbf89','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.5679 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.5704 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.5743 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f156918674f1fbf89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,60000,?,?,?)
20241203@151159.6039 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151159.6043 jc4t06qoamg7ks5a7midro3t6n Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20241203@151159.6072 jc4t06qoamg7ks5a7midro3t6n 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.691.00.01'
20241203@151159.6227 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6247 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.6283 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6307 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.6322 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.6338 jc4t06qoamg7ks5a7midro3t6n Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20241203@151159.6355 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6373 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.6392 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f157069674f1fbf9b','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.6397 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6419 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.6504 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f157069674f1fbf9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241203@151159.6790 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6807 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.6840 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6861 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.6897 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.6923 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6942 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.6956 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f155994674f1fbfa9','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.6960 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.6978 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.7011 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f155994674f1fbfa9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,90000,?,?,?)
20241203@151159.7288 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151159.7292 jc4t06qoamg7ks5a7midro3t6n Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20241203@151159.7320 jc4t06qoamg7ks5a7midro3t6n 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.698.00.01'
20241203@151159.7338 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7365 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.7403 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7422 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.7433 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.7451 jc4t06qoamg7ks5a7midro3t6n Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2400061200a'
20241203@151159.7468 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7487 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.7499 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f120713674f1fbfb6','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.7503 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7521 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.7555 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f120713674f1fbfb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241203@151159.7836 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7867 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.7902 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7923 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.7936 jc4t06qoamg7ks5a7midro3t6n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151159.7952 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.7970 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151159.7987 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f197688674f1fbfc2','aut674f169084674f1fbed2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151159.7992 jc4t06qoamg7ks5a7midro3t6n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151159.8009 jc4t06qoamg7ks5a7midro3t6n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151159.8046 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f197688674f1fbfc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f169084674f1fbed2' ,0,0 ,2,23.00,120000,?,?,?)
20241203@151159.8325 jc4t06qoamg7ks5a7midro3t6n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f169084674f1fbed2','2408126','wait',39,'adm09112754980.682000002')
20241203@151159.8415 jc4t06qoamg7ks5a7midro3t6n Query : use flama_phc
20241203@151159.8418 jc4t06qoamg7ks5a7midro3t6n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151159.8454 jc4t06qoamg7ks5a7midro3t6n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3636';
20241203@151159.8505 jc4t06qoamg7ks5a7midro3t6n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3636';
20241203@151159.8554 jc4t06qoamg7ks5a7midro3t6n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3636';
20241203@151159.8589 jc4t06qoamg7ks5a7midro3t6n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3636';
20241203@151159.9372 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151159.9404 2uvqtqer2s1rnclkr8quaf6hrj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151159.9735 2uvqtqer2s1rnclkr8quaf6hrj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3637';
20241203@151159.9854 2uvqtqer2s1rnclkr8quaf6hrj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3637';
20241203@151200.6000 2uvqtqer2s1rnclkr8quaf6hrj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3637';
20241203@151200.3670 2uvqtqer2s1rnclkr8quaf6hrj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3637';
20241203@151200.4660 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.4700 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151200.5950 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.6010 2uvqtqer2s1rnclkr8quaf6hrj Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20241203@151200.6650 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241203@151200.8530 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408130 and bi.ref ='324.497.00.01' and bi.lordem =1
20241203@151200.1231 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241203@151200.1261 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408130 and bi.ref ='324.497.00.01' and bi.lordem =1
20241203@151200.1290 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.1294 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151200.1332 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.1337 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151200.1378 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.1385 2uvqtqer2s1rnclkr8quaf6hrj 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')
20241203@151200.1418 2uvqtqer2s1rnclkr8quaf6hrj 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
20241203@151200.1453 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.1457 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20241203@151200.1504 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.1509 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151200.1554 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.1559 2uvqtqer2s1rnclkr8quaf6hrj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151200.1609 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.1613 2uvqtqer2s1rnclkr8quaf6hrj Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20241203@151200.1672 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.1676 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from td where ndoc = 39
20241203@151200.1700 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151200.1842 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.1938 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151200.2608 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.2663 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151200.2812 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.2837 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151200.2857 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151200.2922 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151200.2982 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.3007 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151200.3030 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f183349674f1fc045' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151200.3234 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.3300 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151200.3373 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151200.3468 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151200.3500 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151200.3518 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151200.3535 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151200.3549 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151200.3593 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f183349674f1fc045',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151200.3895 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151200.3961 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.3998 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151200.4056 2uvqtqer2s1rnclkr8quaf6hrj Query : select 'normal' from dummy
20241203@151200.4098 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f183349674f1fc045',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2159,101889,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151200.4457 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.4461 2uvqtqer2s1rnclkr8quaf6hrj Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241203@151200.4496 2uvqtqer2s1rnclkr8quaf6hrj 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.497.00.01'
20241203@151200.4646 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.4669 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151200.4704 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.4722 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151200.4733 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151200.4748 2uvqtqer2s1rnclkr8quaf6hrj Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241203@151200.4776 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.4797 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151200.4841 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f139845674f1fc074','aut674f183349674f1fc045' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151200.4847 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.4868 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151200.4905 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f139845674f1fc074',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut674f183349674f1fc045' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151200.5199 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.5203 2uvqtqer2s1rnclkr8quaf6hrj Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241203@151200.5231 2uvqtqer2s1rnclkr8quaf6hrj 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.497.00.01'
20241203@151200.5247 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.5270 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151200.5309 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.5328 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151200.5338 2uvqtqer2s1rnclkr8quaf6hrj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151200.5353 2uvqtqer2s1rnclkr8quaf6hrj Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241203@151200.5370 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.5390 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151200.5404 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f144143674f1fc083','aut674f183349674f1fc045' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151200.5434 2uvqtqer2s1rnclkr8quaf6hrj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.5457 2uvqtqer2s1rnclkr8quaf6hrj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151200.5504 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f144143674f1fc083',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut674f183349674f1fc045' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151200.5773 2uvqtqer2s1rnclkr8quaf6hrj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f183349674f1fc045','2408130','wait',39,'adm09112754980.682000002')
20241203@151200.5855 2uvqtqer2s1rnclkr8quaf6hrj Query : use flama_phc
20241203@151200.5858 2uvqtqer2s1rnclkr8quaf6hrj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151200.5895 2uvqtqer2s1rnclkr8quaf6hrj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3637';
20241203@151200.5982 2uvqtqer2s1rnclkr8quaf6hrj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3637';
20241203@151200.6080 2uvqtqer2s1rnclkr8quaf6hrj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3637';
20241203@151200.6120 2uvqtqer2s1rnclkr8quaf6hrj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3637';
20241203@151200.6901 m54qqisodkpva71krdm7o9f91u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151200.6914 m54qqisodkpva71krdm7o9f91u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151200.6989 m54qqisodkpva71krdm7o9f91u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3638';
20241203@151200.7452 m54qqisodkpva71krdm7o9f91u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3638';
20241203@151200.7529 m54qqisodkpva71krdm7o9f91u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3638';
20241203@151200.7581 m54qqisodkpva71krdm7o9f91u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3638';
20241203@151200.7944 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.7949 m54qqisodkpva71krdm7o9f91u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151200.8054 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.8057 m54qqisodkpva71krdm7o9f91u Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20241203@151200.8107 m54qqisodkpva71krdm7o9f91u 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'
20241203@151200.8155 m54qqisodkpva71krdm7o9f91u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408133 and bi.ref ='324.1716.00.1' and bi.lordem =1
20241203@151200.8569 m54qqisodkpva71krdm7o9f91u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5361.00.1'
20241203@151200.8601 m54qqisodkpva71krdm7o9f91u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408133 and bi.ref ='324.5361.00.1' and bi.lordem =2
20241203@151200.9022 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.9028 m54qqisodkpva71krdm7o9f91u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241203@151200.9075 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.9080 m54qqisodkpva71krdm7o9f91u Query : select top 1 1 valor from td where td.ndoc = 39
20241203@151200.9152 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.9158 m54qqisodkpva71krdm7o9f91u 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')
20241203@151200.9198 m54qqisodkpva71krdm7o9f91u 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
20241203@151200.9250 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.9254 m54qqisodkpva71krdm7o9f91u Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20241203@151200.9293 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.9297 m54qqisodkpva71krdm7o9f91u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241203@151200.9333 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.9337 m54qqisodkpva71krdm7o9f91u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241203@151200.9384 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.9387 m54qqisodkpva71krdm7o9f91u Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20241203@151200.9447 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151200.9452 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from td where ndoc = 39
20241203@151200.9472 m54qqisodkpva71krdm7o9f91u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241203@151200.9510 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.9529 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151200.9560 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.9581 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151200.9644 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.9685 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151200.9704 m54qqisodkpva71krdm7o9f91u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151200.9772 m54qqisodkpva71krdm7o9f91u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241203@151200.9827 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151200.9852 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241203@151200.9888 m54qqisodkpva71krdm7o9f91u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut674f176347674f1fc0ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241203@151201.9500 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.1200 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241203@151201.1890 m54qqisodkpva71krdm7o9f91u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241203@151201.2050 m54qqisodkpva71krdm7o9f91u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241203@151201.2210 m54qqisodkpva71krdm7o9f91u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241203@151201.2380 m54qqisodkpva71krdm7o9f91u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241203@151201.2530 m54qqisodkpva71krdm7o9f91u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241203@151201.2680 m54qqisodkpva71krdm7o9f91u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241203@151201.2810 m54qqisodkpva71krdm7o9f91u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut674f176347674f1fc0ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241203@151201.5810 m54qqisodkpva71krdm7o9f91u Query : select top 1 fno valor from wsftdata order by fno desc
20241203@151201.6230 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.6470 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241203@151201.6740 m54qqisodkpva71krdm7o9f91u Query : select 'normal' from dummy
20241203@151201.6910 m54qqisodkpva71krdm7o9f91u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut674f176347674f1fc0ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2160,101889,0,'2024-12-03',39,'euro',0,0,2024 ,?,?)
20241203@151201.1167 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151201.1171 m54qqisodkpva71krdm7o9f91u Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20241203@151201.1206 m54qqisodkpva71krdm7o9f91u 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'
20241203@151201.1221 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.1240 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151201.1277 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.1296 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151201.1306 m54qqisodkpva71krdm7o9f91u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151201.1330 m54qqisodkpva71krdm7o9f91u Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20241203@151201.1343 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.1360 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151201.1380 m54qqisodkpva71krdm7o9f91u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f128324674f1fc120','aut674f176347674f1fc0ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151201.1385 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.1400 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151201.1435 m54qqisodkpva71krdm7o9f91u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f128324674f1fc120',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut674f176347674f1fc0ec' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241203@151201.1826 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151201.1829 m54qqisodkpva71krdm7o9f91u Query : select st.usalote valor from st where st.ref = '324.5361.00.1'
20241203@151201.1851 m54qqisodkpva71krdm7o9f91u 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.5361.00.1'
20241203@151201.1869 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.1917 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151201.2023 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.2042 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151201.2053 m54qqisodkpva71krdm7o9f91u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151201.2079 m54qqisodkpva71krdm7o9f91u Query : select sestamp valor from se where ref ='324.5361.00.1' and lote = 'r2300840200a'
20241203@151201.2093 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.2119 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151201.2132 m54qqisodkpva71krdm7o9f91u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f123853674f1fc133','aut674f176347674f1fc0ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151201.2137 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.2210 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151201.2252 m54qqisodkpva71krdm7o9f91u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut674f123853674f1fc133',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',66.000 ,'aut674f176347674f1fc0ec' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241203@151201.2600 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.2621 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151201.2658 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.2678 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151201.2689 m54qqisodkpva71krdm7o9f91u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241203@151201.2707 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.2726 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241203@151201.2748 m54qqisodkpva71krdm7o9f91u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut674f154228674f1fc142','aut674f176347674f1fc0ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241203@151201.2755 m54qqisodkpva71krdm7o9f91u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241203@151201.2777 m54qqisodkpva71krdm7o9f91u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241203@151201.2817 m54qqisodkpva71krdm7o9f91u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut674f154228674f1fc142',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut674f176347674f1fc0ec' ,0,0 ,2,23.00,30000,?,?,?)
20241203@151201.3132 m54qqisodkpva71krdm7o9f91u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut674f176347674f1fc0ec','2408133','wait',39,'adm09112754980.682000002')
20241203@151201.3584 m54qqisodkpva71krdm7o9f91u Query : use flama_phc
20241203@151201.3588 m54qqisodkpva71krdm7o9f91u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241203@151201.3929 m54qqisodkpva71krdm7o9f91u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3638';
20241203@151201.4085 m54qqisodkpva71krdm7o9f91u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3638';
20241203@151201.4342 m54qqisodkpva71krdm7o9f91u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3638';
20241203@151201.4413 m54qqisodkpva71krdm7o9f91u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3638';
20241203@151201.6121 btmmksakgj84jeu5d1rbindu34 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241203@151201.6133 btmmksakgj84jeu5d1rbindu34 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241203@151201.6382 btmmksakgj84jeu5d1rbindu34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3639';
20241203@151201.6682 btmmksakgj84jeu5d1rbindu34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3639';
20241203@151201.6758 btmmksakgj84jeu5d1rbindu34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3639';
20241203@151201.6797 btmmksakgj84jeu5d1rbindu34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3639';
20241203@151201.6853 btmmksakgj84jeu5d1rbindu34 Query : use flama_phc
20241203@151201.6856 btmmksakgj84jeu5d1rbindu34 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241203@151201.6956 btmmksakgj84jeu5d1rbindu34 Query : use flama_phc
20241203@151201.6959 btmmksakgj84jeu5d1rbindu34 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2565
20241203@151201.7054 btmmksakgj84jeu5d1rbindu34 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.644.00.01'
20241203@151201.7224 btmmksakgj84jeu5d1rbindu34 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408141 and bi.ref ='324.644.00.01' and bi.lordem =1
20241203@151201.7545 btmmksakgj84jeu5d1rbindu34 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.644.00.01'
20241203@151201.7572 btmmksakgj84jeu5d1rbindu34 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2081 and bo.obrano = 2408141 and bi.ref ='324.644.00.01' and bi.lordem =1
20241203@151201.7592 btmmksakgj84jeu5d1rbindu34 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9075.00.1'
