20241010@111530.4597 sfavhuqn3po51kri5o4q06rab7 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241010@111530.4594 sfavhuqn3po51kri5o4q06rab7 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241010@111530.4711 sfavhuqn3po51kri5o4q06rab7 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241010@111530.4738 sfavhuqn3po51kri5o4q06rab7 Query : use flama_phc
20241010@111530.4746 sfavhuqn3po51kri5o4q06rab7 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202496' and estab=00
20241010@111530.4854 sfavhuqn3po51kri5o4q06rab7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@111530.4884 sfavhuqn3po51kri5o4q06rab7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20241010@111530.4904 sfavhuqn3po51kri5o4q06rab7 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a958966707a94273',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241010@111530.4989 sfavhuqn3po51kri5o4q06rab7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@111530.5013 sfavhuqn3po51kri5o4q06rab7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20241010@111530.5026 sfavhuqn3po51kri5o4q06rab7 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a958966707a94273','--','bo',7.8651685393258426966 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241010@111530.5224 sfavhuqn3po51kri5o4q06rab7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@111530.5244 sfavhuqn3po51kri5o4q06rab7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20241010@111530.5291 sfavhuqn3po51kri5o4q06rab7 Query : insert into bo (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a958966707a94273','guia r. fornecedor','2024-10-10',61,2402994,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241010@111534.1164 sfavhuqn3po51kri5o4q06rab7 Query : use flama_phc
20241010@111534.1169 sfavhuqn3po51kri5o4q06rab7 Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241010@111534.1276 sfavhuqn3po51kri5o4q06rab7 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.2335.00.1'
20241010@111534.1438 sfavhuqn3po51kri5o4q06rab7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@111534.1460 sfavhuqn3po51kri5o4q06rab7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241010@111534.1479 sfavhuqn3po51kri5o4q06rab7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@111534.1499 sfavhuqn3po51kri5o4q06rab7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241010@111534.1514 sfavhuqn3po51kri5o4q06rab7 Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400468300a'
20241010@111534.1575 sfavhuqn3po51kri5o4q06rab7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@111534.1597 sfavhuqn3po51kri5o4q06rab7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@111534.1617 sfavhuqn3po51kri5o4q06rab7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241010@111534.1633 sfavhuqn3po51kri5o4q06rab7 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6707a766206707a94626','aut6707a958966707a94273',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut6707a958966707a94273'
20241010@111534.1803 sfavhuqn3po51kri5o4q06rab7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@111534.1826 sfavhuqn3po51kri5o4q06rab7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241010@111534.1847 sfavhuqn3po51kri5o4q06rab7 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 'aut6707a766206707a94626',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1, 1*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,26.7,26.7*200.48,26.7,26.7*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,26.7*1,26.7*1*200.48 ,31.202000,31.202000*200.48 ,31.202000,31.202000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,26.7,26.7*200.48,26.7*1,26.7*1*200.48,'cps24042942144,115000003 ',210,210*1,210,210*1,?,?,?,4 from bo bo where bo.bostamp = 'aut6707a958966707a94273'
20241010@111558.4890 sfavhuqn3po51kri5o4q06rab7 Query : use flama_phc
20241010@111558.7000 sfavhuqn3po51kri5o4q06rab7 Query : declare @bostamp varchar(25) = 'aut6707a958966707a94273' ,@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 
20241010@111627.9622 sfavhuqn3po51kri5o4q06rab7 Query : use flama_phc
20241010@111627.9785 sfavhuqn3po51kri5o4q06rab7 Query : select 1 valor from bo where bo.bostamp = 'aut6707a958966707a94273'
20241010@111628.8090 sfavhuqn3po51kri5o4q06rab7 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) = 'aut6707a958966707a94273' 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 
20241010@111636.3704 sfavhuqn3po51kri5o4q06rab7 Query : use flama_phc
20241010@111636.3789 sfavhuqn3po51kri5o4q06rab7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241010@111636.4715 sfavhuqn3po51kri5o4q06rab7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2546';
20241010@111636.5680 sfavhuqn3po51kri5o4q06rab7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2546';

20241010@113429.9024 mkf6mvbotsfh94b28150tvesnp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2547';
20241010@113429.9133 mkf6mvbotsfh94b28150tvesnp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2547';
20241010@113429.9178 mkf6mvbotsfh94b28150tvesnp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2547';
20241010@113429.9251 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113429.9255 mkf6mvbotsfh94b28150tvesnp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@113429.9341 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113429.9355 mkf6mvbotsfh94b28150tvesnp Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241010@113429.9443 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113429.9596 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.7170 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.7660 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.7880 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.8090 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.8410 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.9190 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.9750 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.1179 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.1184 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@113430.1357 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.1360 mkf6mvbotsfh94b28150tvesnp Query : select top 1 1 valor from td where td.ndoc = 39
20241010@113430.1662 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.1671 mkf6mvbotsfh94b28150tvesnp 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')
20241010@113430.1711 mkf6mvbotsfh94b28150tvesnp 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
20241010@113430.1861 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.1865 mkf6mvbotsfh94b28150tvesnp Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241010@113430.2341 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.2463 mkf6mvbotsfh94b28150tvesnp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@113430.2855 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.2904 mkf6mvbotsfh94b28150tvesnp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@113430.3013 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.3041 mkf6mvbotsfh94b28150tvesnp Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241010@113430.3238 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.3276 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from td where ndoc = 39
20241010@113430.3302 mkf6mvbotsfh94b28150tvesnp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@113430.3370 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.3402 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@113430.3420 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.3451 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@113430.3482 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.3499 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@113430.3512 mkf6mvbotsfh94b28150tvesnp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@113430.3590 mkf6mvbotsfh94b28150tvesnp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@113430.3618 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.3674 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@113430.3864 mkf6mvbotsfh94b28150tvesnp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@113430.4064 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.4092 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@113430.4902 mkf6mvbotsfh94b28150tvesnp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@113430.5230 mkf6mvbotsfh94b28150tvesnp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@113430.5450 mkf6mvbotsfh94b28150tvesnp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@113430.5482 mkf6mvbotsfh94b28150tvesnp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@113430.5495 mkf6mvbotsfh94b28150tvesnp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@113430.5506 mkf6mvbotsfh94b28150tvesnp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@113430.5517 mkf6mvbotsfh94b28150tvesnp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707a460406707adb655',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@113430.6282 mkf6mvbotsfh94b28150tvesnp Query : select top 1 fno valor from wsftdata order by fno desc
20241010@113430.6319 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.6435 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@113430.6463 mkf6mvbotsfh94b28150tvesnp Query : select 'normal' from dummy
20241010@113430.6506 mkf6mvbotsfh94b28150tvesnp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707a460406707adb655',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1186,102943,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@113430.6982 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.6985 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113430.7010 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.7226 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.7247 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113430.7281 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.7298 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113430.7306 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113430.7336 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113430.7350 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.7371 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113430.7382 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a221636707adb6b3','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113430.7387 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.7401 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113430.7441 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a221636707adb6b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,10000,?,?,?,?)
20241010@113430.7951 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.7981 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113430.8042 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.8069 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113430.8085 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113430.8097 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.8112 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113430.8123 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a243226707adb6c5','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113430.8127 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.8146 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113430.8206 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a243226707adb6c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,20000,?,?,?)
20241010@113430.8764 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113430.8806 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113430.9260 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113430.9345 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.9360 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113430.9439 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.9463 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113430.9471 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113430.9482 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113430.9494 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.9507 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113430.9552 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a291986707adb6e7','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113430.9557 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113430.9571 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113430.9597 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a291986707adb6e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,40000,?,?,?,?)
20241010@113431.1200 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.4250 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.6920 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.7440 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.7550 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.7720 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.7910 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.8060 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a699696707adb712','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.8110 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8500 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.8840 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a699696707adb712',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,50000,?,?,?)
20241010@113431.1112 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113431.1115 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113431.1221 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113431.1584 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.1600 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.1798 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.1866 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.1890 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.1914 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113431.2459 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.2859 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.2896 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a205716707adb73c','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.2901 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.2939 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.2990 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a205716707adb73c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,70000,?,?,?,?)
20241010@113431.3243 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.3265 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.3293 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.3308 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.3318 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.3333 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.3350 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.3363 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a489616707adb751','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.3369 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.3386 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.3452 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a489616707adb751',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,80000,?,?,?)
20241010@113431.3670 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113431.3673 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113431.3692 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113431.3751 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.3829 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.3853 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.3868 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.3876 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.3887 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113431.3899 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.3913 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.3925 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a197176707adb75f','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.3929 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.3943 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.4906 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a197176707adb75f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,100000,?,?,?,?)
20241010@113431.5268 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.5297 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.5321 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.5345 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.5353 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.5365 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.5379 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.5390 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a322456707adb782','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.5394 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.5451 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.5525 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a322456707adb782',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,110000,?,?,?)
20241010@113431.5791 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113431.5833 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113431.6720 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113431.6930 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.7033 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.7065 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.7085 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.7097 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.7114 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113431.7148 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.7165 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.7181 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a296536707adb7ae','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.7186 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.7203 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.7251 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a296536707adb7ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,130000,?,?,?,?)
20241010@113431.7771 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8094 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.8136 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8152 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.8161 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.8195 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8209 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.8224 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a091066707adb7c8','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.8265 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8281 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.8336 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a091066707adb7c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,140000,?,?,?)
20241010@113431.8549 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113431.8554 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113431.8581 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113431.8610 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8669 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.8707 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8721 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.8730 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.8742 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113431.8755 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8770 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.8791 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a283366707adb7d5','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.8795 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.8809 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.8837 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a283366707adb7d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,160000,?,?,?,?)
20241010@113431.9410 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.9824 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113431.9849 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.9867 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.9896 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113431.9909 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.9923 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113431.9935 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a254546707adb7f1','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113431.9939 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113431.9955 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.1700 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a254546707adb7f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,170000,?,?,?)
20241010@113432.2300 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113432.2330 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113432.2530 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113432.2720 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.3030 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.3310 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.3690 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.3810 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113432.4150 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113432.4280 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.4710 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.4850 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a128536707adb80a','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113432.4890 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5430 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.7700 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a128536707adb80a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,190000,?,?,?,?)
20241010@113432.1839 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.2245 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.3183 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.3280 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.3289 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113432.3309 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.3324 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.3335 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a300436707adb850','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113432.3339 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.3354 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.3385 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a300436707adb850',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,200000,?,?,?)
20241010@113432.3688 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113432.3691 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113432.3749 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113432.3766 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.3786 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.3863 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.3877 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.3885 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113432.3933 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113432.3946 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.3960 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.4034 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a314656707adb860','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113432.4039 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.4054 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.4081 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a314656707adb860',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,220000,?,?,?,?)
20241010@113432.4301 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.4317 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.4369 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.4418 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.4449 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113432.4462 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.4571 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.4584 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a166936707adb86c','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113432.4589 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.4609 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.4648 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a166936707adb86c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,230000,?,?,?)
20241010@113432.4939 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113432.5188 mkf6mvbotsfh94b28150tvesnp Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@113432.5230 mkf6mvbotsfh94b28150tvesnp 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'
20241010@113432.5271 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5287 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.5312 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5345 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.5354 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113432.5366 mkf6mvbotsfh94b28150tvesnp Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@113432.5378 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5393 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.5404 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a284476707adb883','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113432.5409 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5424 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.5452 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6707a284476707adb883',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,250000,?,?,?,?)
20241010@113432.5673 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5690 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.5717 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5733 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.5742 mkf6mvbotsfh94b28150tvesnp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@113432.5754 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5776 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@113432.5787 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707a214726707adb88c','aut6707a460406707adb655' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@113432.5792 mkf6mvbotsfh94b28150tvesnp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@113432.5808 mkf6mvbotsfh94b28150tvesnp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@113432.5869 mkf6mvbotsfh94b28150tvesnp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707a214726707adb88c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707a460406707adb655' ,0,0 ,2,23.00,260000,?,?,?)
20241010@113432.6159 mkf6mvbotsfh94b28150tvesnp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6707a460406707adb655','2406627','wait',39,'adm09112754980.682000002')
20241010@113432.6248 mkf6mvbotsfh94b28150tvesnp Query : use flama_phc
20241010@113432.6253 mkf6mvbotsfh94b28150tvesnp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241010@113432.6285 mkf6mvbotsfh94b28150tvesnp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2547';
20241010@113432.6319 mkf6mvbotsfh94b28150tvesnp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2547';
20241010@113432.6362 mkf6mvbotsfh94b28150tvesnp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2547';
20241010@113432.6459 mkf6mvbotsfh94b28150tvesnp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2547';

20241010@124952.6105 cgvnb29dd2n4jeoc04i5ahulb5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2548';
20241010@124952.6159 cgvnb29dd2n4jeoc04i5ahulb5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2548';
20241010@124952.6185 cgvnb29dd2n4jeoc04i5ahulb5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2548';
20241010@124952.6235 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.6239 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@124952.6333 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.6336 cgvnb29dd2n4jeoc04i5ahulb5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4245
20241010@124952.6420 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20241010@124952.6522 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406589 and bi.ref ='324.1685.00.1' and bi.lordem =1
20241010@124952.6815 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20241010@124952.6927 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406589 and bi.ref ='324.727.00.01' and bi.lordem =2
20241010@124952.7219 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20241010@124952.7317 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406589 and bi.ref ='324.1684.00.1' and bi.lordem =3
20241010@124952.8063 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.8067 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@124952.8229 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.8232 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 1 valor from td where td.ndoc = 39
20241010@124952.8295 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.8299 cgvnb29dd2n4jeoc04i5ahulb5 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')
20241010@124952.8354 cgvnb29dd2n4jeoc04i5ahulb5 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
20241010@124952.8453 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.8456 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 ~inactivo valor from cl where no = '101754' and estab = 0 order by inactivo desc
20241010@124952.8538 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.8541 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@124952.8602 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.8604 cgvnb29dd2n4jeoc04i5ahulb5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@124952.8668 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.8671 cgvnb29dd2n4jeoc04i5ahulb5 Query : select szadrsstamp valor from szadrs where szadrsdesc='conforama montijo.'
20241010@124952.8871 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124952.8874 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from td where ndoc = 39
20241010@124952.8923 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@124952.8968 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124952.9274 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124952.9326 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124952.9341 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124952.9373 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124952.9387 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124952.9401 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124952.9577 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124952.9644 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124952.9660 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124952.9725 cgvnb29dd2n4jeoc04i5ahulb5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b866026707bf60e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@124952.9933 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124952.9952 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124952.9989 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@124953.4900 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@124953.1060 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@124953.1279 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@124953.1343 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@124953.1398 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@124953.1453 cgvnb29dd2n4jeoc04i5ahulb5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b866026707bf60e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@124953.2020 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 fno valor from wsftdata order by fno desc
20241010@124953.2087 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124953.2103 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124953.2127 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 'normal' from dummy
20241010@124953.2171 cgvnb29dd2n4jeoc04i5ahulb5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b866026707bf60e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1187,101754,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@124953.2614 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124953.2618 cgvnb29dd2n4jeoc04i5ahulb5 Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20241010@124953.2669 cgvnb29dd2n4jeoc04i5ahulb5 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.1685.00.1'
20241010@124953.2780 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124953.2796 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124953.2824 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124953.2839 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124953.2849 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124953.2884 cgvnb29dd2n4jeoc04i5ahulb5 Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20241010@124953.2901 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124953.2916 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124953.2930 cgvnb29dd2n4jeoc04i5ahulb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b219866707bf6146','aut6707b866026707bf60e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124953.2964 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124953.2980 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124953.3010 cgvnb29dd2n4jeoc04i5ahulb5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b219866707bf6146',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6707b866026707bf60e5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@124953.3512 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124953.3516 cgvnb29dd2n4jeoc04i5ahulb5 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20241010@124953.3540 cgvnb29dd2n4jeoc04i5ahulb5 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.727.00.01'
20241010@124953.3646 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124953.3663 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124953.3693 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124953.3709 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124953.3719 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124953.3733 cgvnb29dd2n4jeoc04i5ahulb5 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r230053420'
20241010@124953.3744 cgvnb29dd2n4jeoc04i5ahulb5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124953.3761 cgvnb29dd2n4jeoc04i5ahulb5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124953.3776 cgvnb29dd2n4jeoc04i5ahulb5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b741216707bf615b','aut6707b866026707bf60e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124953.3794 cgvnb29dd2n4jeoc04i5ahulb5 Query : use flama_phc
20241010@124953.3797 cgvnb29dd2n4jeoc04i5ahulb5 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241010@124953.3870 cgvnb29dd2n4jeoc04i5ahulb5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2548';
20241010@124953.3902 cgvnb29dd2n4jeoc04i5ahulb5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2548';
20241010@124953.4504 q3sgc81hq4pjtbao77l37aob4n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241010@124953.4516 q3sgc81hq4pjtbao77l37aob4n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241010@124953.4577 q3sgc81hq4pjtbao77l37aob4n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2549';
20241010@124953.4633 q3sgc81hq4pjtbao77l37aob4n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2549';
20241010@124953.4689 q3sgc81hq4pjtbao77l37aob4n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2549';
20241010@124953.4716 q3sgc81hq4pjtbao77l37aob4n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2549';
20241010@124953.4769 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124953.4772 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@124953.4839 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124953.4843 q3sgc81hq4pjtbao77l37aob4n Query : select no, estab,szadrsdesc from szadrs where u_coddest=672
20241010@124953.4919 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241010@124953.5762 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.2335.00.1' and bi.lordem =1
20241010@124953.6073 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241010@124953.6122 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.2335.00.1' and bi.lordem =1
20241010@124953.6141 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241010@124953.6240 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.2330.00.1' and bi.lordem =2
20241010@124953.6518 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241010@124953.6625 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.2340.00.1' and bi.lordem =3
20241010@124953.6920 q3sgc81hq4pjtbao77l37aob4n 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'
20241010@124953.7020 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.1317.00.1' and bi.lordem =4
20241010@124953.7291 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241010@124953.7388 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.1329.00.1' and bi.lordem =5
20241010@124953.7663 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241010@124953.7760 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.1332.00.1' and bi.lordem =6
20241010@124953.8037 q3sgc81hq4pjtbao77l37aob4n 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'
20241010@124953.8134 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.2300.00.1' and bi.lordem =7
20241010@124953.8401 q3sgc81hq4pjtbao77l37aob4n 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'
20241010@124953.8504 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.2326.00.1' and bi.lordem =8
20241010@124953.9811 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20241010@124953.9927 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406593 and bi.ref ='324.2317.00.1' and bi.lordem =9
20241010@124954.2150 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.2180 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@124954.2500 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.2540 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 1 valor from td where td.ndoc = 39
20241010@124954.2860 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.2890 q3sgc81hq4pjtbao77l37aob4n 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')
20241010@124954.3170 q3sgc81hq4pjtbao77l37aob4n 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
20241010@124954.3520 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.3550 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 ~inactivo valor from cl where no = '101826' and estab = 0 order by inactivo desc
20241010@124954.4390 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.4420 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@124954.4740 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.4770 q3sgc81hq4pjtbao77l37aob4n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@124954.5150 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.5170 q3sgc81hq4pjtbao77l37aob4n Query : select szadrsstamp valor from szadrs where szadrsdesc='frigil-gilberto vieira seco, lda'
20241010@124954.5600 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.5630 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from td where ndoc = 39
20241010@124954.5750 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@124954.5880 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.6030 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124954.6230 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.6380 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124954.6660 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.6800 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124954.6920 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124954.7540 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124954.7670 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.7810 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124954.7950 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@124954.9350 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.9490 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124954.9930 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@124954.1005 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@124954.1017 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@124954.1029 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@124954.1041 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@124954.1053 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@124954.1064 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b425286707bf6210',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@124954.1262 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 fno valor from wsftdata order by fno desc
20241010@124954.1282 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.1298 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124954.1321 q3sgc81hq4pjtbao77l37aob4n Query : select 'normal' from dummy
20241010@124954.1336 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b425286707bf6210',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1187,101826,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@124954.1561 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.1564 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241010@124954.1584 q3sgc81hq4pjtbao77l37aob4n 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.2335.00.1'
20241010@124954.1687 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.1703 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.1727 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.1741 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.1749 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.1762 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2300509100a'
20241010@124954.1775 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.1790 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.1801 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b135886707bf622b','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.1805 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.1820 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.1847 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b135886707bf622b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@124954.2046 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.2049 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241010@124954.2069 q3sgc81hq4pjtbao77l37aob4n 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.2335.00.1'
20241010@124954.2082 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.2097 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.2123 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.2137 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.2146 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.2158 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2100585500a'
20241010@124954.2188 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.2202 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.2213 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b712526707bf6235','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.2217 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.2231 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.2258 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b712526707bf6235',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241010@124954.2466 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.2469 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241010@124954.2489 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241010@124954.2592 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.2608 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.2632 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.2650 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.2659 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.2670 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2400469200a'
20241010@124954.2683 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.2699 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.2711 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b677956707bf6241','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.2715 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.2730 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.2758 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b677956707bf6241',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241010@124954.2975 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.2977 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.2340.00.1'
20241010@124954.2997 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2340.00.1'
20241010@124954.3190 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.3206 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.3231 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.3246 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.3254 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.3267 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.2340.00.1' and lote = 'r2100584120a'
20241010@124954.3280 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.3295 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.3306 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b196106707bf6250','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.3310 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.3325 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.3353 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b196106707bf6250',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241010@124954.3807 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.4017 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241010@124954.4178 q3sgc81hq4pjtbao77l37aob4n 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'
20241010@124954.4315 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.4331 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.4358 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.4376 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.4384 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.4396 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20241010@124954.4410 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.4426 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.4437 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b234326707bf626b','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.4442 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.4456 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.4484 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b234326707bf626b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241010@124954.4701 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.4704 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241010@124954.4726 q3sgc81hq4pjtbao77l37aob4n 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.1329.00.1'
20241010@124954.4836 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.4853 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.4881 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.4896 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.4904 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.4916 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20241010@124954.4930 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.4944 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.4956 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b518806707bf6278','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.4960 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.4975 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.5003 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b518806707bf6278',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241010@124954.5205 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.5208 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241010@124954.5228 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20241010@124954.5329 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.5344 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.5370 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.5384 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.5393 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.5404 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241010@124954.5420 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.5434 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.5445 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b344106707bf6284','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.5449 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.5464 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.5497 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b344106707bf6284',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241010@124954.5711 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.5715 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241010@124954.5736 q3sgc81hq4pjtbao77l37aob4n 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'
20241010@124954.5842 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.5859 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.5887 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.5901 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.5911 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.5923 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241010@124954.5937 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.5952 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.5964 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b594576707bf6290','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.5968 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.5984 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.6014 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b594576707bf6290',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241010@124954.6220 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.6224 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241010@124954.6244 q3sgc81hq4pjtbao77l37aob4n 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'
20241010@124954.6346 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.6362 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.6389 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.6403 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.6412 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.6425 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2100576400a'
20241010@124954.6446 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.6460 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.6472 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b098796707bf629d','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.6475 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.6489 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.6518 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b098796707bf629d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241010@124954.7186 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.7267 q3sgc81hq4pjtbao77l37aob4n Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20241010@124954.7747 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2317.00.1'
20241010@124954.7853 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.7869 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.7895 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.7909 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.7918 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.7930 q3sgc81hq4pjtbao77l37aob4n Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2100576500a'
20241010@124954.7943 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.7957 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.7969 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b420396707bf62c1','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.7973 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.7990 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.8017 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b420396707bf62c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241010@124954.8230 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.8246 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.8274 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.8289 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.8298 q3sgc81hq4pjtbao77l37aob4n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124954.8312 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.8327 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124954.8340 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b805816707bf62ca','aut6707b425286707bf6210' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124954.8344 q3sgc81hq4pjtbao77l37aob4n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124954.8367 q3sgc81hq4pjtbao77l37aob4n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124954.8396 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b805816707bf62ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b425286707bf6210' ,0,0 ,2,23.00,110000,?,?,?)
20241010@124954.8608 q3sgc81hq4pjtbao77l37aob4n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6707b425286707bf6210','2406593','wait',39,'adm09112754980.682000002')
20241010@124954.8699 q3sgc81hq4pjtbao77l37aob4n Query : use flama_phc
20241010@124954.8702 q3sgc81hq4pjtbao77l37aob4n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241010@124954.8733 q3sgc81hq4pjtbao77l37aob4n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2549';
20241010@124954.8765 q3sgc81hq4pjtbao77l37aob4n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2549';
20241010@124954.8831 q3sgc81hq4pjtbao77l37aob4n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2549';
20241010@124954.8861 q3sgc81hq4pjtbao77l37aob4n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2549';
20241010@124954.9445 bsnhpjee8inavpdoqh95vfjq5u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241010@124954.9456 bsnhpjee8inavpdoqh95vfjq5u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241010@124954.9512 bsnhpjee8inavpdoqh95vfjq5u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2550';
20241010@124954.9564 bsnhpjee8inavpdoqh95vfjq5u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2550';
20241010@124954.9617 bsnhpjee8inavpdoqh95vfjq5u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2550';
20241010@124954.9643 bsnhpjee8inavpdoqh95vfjq5u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2550';
20241010@124954.9696 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124954.9699 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@124954.9760 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124954.9763 bsnhpjee8inavpdoqh95vfjq5u Query : select no, estab,szadrsdesc from szadrs where u_coddest=2136
20241010@124954.9837 bsnhpjee8inavpdoqh95vfjq5u 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'
20241010@124954.9858 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241010@124955.1570 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2308.00.1'
20241010@124955.2590 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2308.00.1' and bi.lordem =2
20241010@124955.5380 bsnhpjee8inavpdoqh95vfjq5u 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'
20241010@124955.5590 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2326.00.1' and bi.lordem =3
20241010@124955.8200 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20241010@124955.8400 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2317.00.1' and bi.lordem =4
20241010@124955.1114 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2318.00.1'
20241010@124955.1209 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2318.00.1' and bi.lordem =5
20241010@124955.1478 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2357.00.1'
20241010@124955.1579 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2357.00.1' and bi.lordem =6
20241010@124955.2459 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241010@124955.2563 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2362.00.1' and bi.lordem =7
20241010@124955.2910 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2366.00.1'
20241010@124955.3035 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2366.00.1' and bi.lordem =8
20241010@124955.3393 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241010@124955.3458 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2335.00.1' and bi.lordem =9
20241010@124955.3879 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241010@124955.3958 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2330.00.1' and bi.lordem =10
20241010@124955.4273 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241010@124955.4295 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406594 and bi.ref ='324.2340.00.1' and bi.lordem =11
20241010@124955.4572 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.4576 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@124955.4633 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.4636 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 1 valor from td where td.ndoc = 39
20241010@124955.4665 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.4668 bsnhpjee8inavpdoqh95vfjq5u 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')
20241010@124955.4694 bsnhpjee8inavpdoqh95vfjq5u 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
20241010@124955.4734 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.4737 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 ~inactivo valor from cl where no = '102415' and estab = 0 order by inactivo desc
20241010@124955.4824 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.4827 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@124955.4858 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.4861 bsnhpjee8inavpdoqh95vfjq5u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@124955.4898 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.4901 bsnhpjee8inavpdoqh95vfjq5u Query : select szadrsstamp valor from szadrs where szadrsdesc='filipe ventura electrodomÉsticos unipessoal lda'
20241010@124955.4969 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.4972 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from td where ndoc = 39
20241010@124955.4985 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@124955.4999 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.5014 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124955.5033 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.5048 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124955.5079 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.5093 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124955.5108 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124955.5171 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124955.5184 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.5197 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124955.5213 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@124955.6439 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.6458 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124955.6488 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@124955.6500 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@124955.6525 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@124955.6536 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@124955.6547 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@124955.6559 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@124955.6569 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b690706707bf637c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@124955.6808 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 fno valor from wsftdata order by fno desc
20241010@124955.6837 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.6854 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124955.6878 bsnhpjee8inavpdoqh95vfjq5u Query : select 'normal' from dummy
20241010@124955.6893 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b690706707bf637c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1188,102415,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@124955.7157 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.7160 bsnhpjee8inavpdoqh95vfjq5u Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241010@124955.7179 bsnhpjee8inavpdoqh95vfjq5u 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'
20241010@124955.7193 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.7208 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.7233 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.7247 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.7255 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124955.7267 bsnhpjee8inavpdoqh95vfjq5u Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241010@124955.7279 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.7293 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.7327 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b794626707bf63b1','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124955.7332 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.7346 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.7373 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b794626707bf63b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6707b690706707bf637c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@124955.7581 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.7583 bsnhpjee8inavpdoqh95vfjq5u Query : select st.usalote valor from st where st.ref = '324.2308.00.1'
20241010@124955.7604 bsnhpjee8inavpdoqh95vfjq5u 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.2308.00.1'
20241010@124955.7712 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.7728 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.7754 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.7770 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.7778 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124955.7790 bsnhpjee8inavpdoqh95vfjq5u Query : select sestamp valor from se where ref ='324.2308.00.1' and lote = 'r2400475700a'
20241010@124955.7804 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.7820 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.7833 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b773626707bf63be','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124955.7837 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.7853 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.7881 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b773626707bf63be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6707b690706707bf637c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241010@124955.8100 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.8103 bsnhpjee8inavpdoqh95vfjq5u Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241010@124955.8124 bsnhpjee8inavpdoqh95vfjq5u 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'
20241010@124955.8138 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8155 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.8180 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8194 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.8202 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124955.8213 bsnhpjee8inavpdoqh95vfjq5u Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2100576400a'
20241010@124955.8225 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8239 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.8251 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b546146707bf63c8','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124955.8255 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8271 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.8301 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b546146707bf63c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b690706707bf637c' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241010@124955.8501 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.8504 bsnhpjee8inavpdoqh95vfjq5u Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20241010@124955.8525 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2317.00.1'
20241010@124955.8540 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8555 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.8583 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8598 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.8607 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124955.8620 bsnhpjee8inavpdoqh95vfjq5u Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2100576500a'
20241010@124955.8632 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8647 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.8659 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b913146707bf63d2','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124955.8662 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8677 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.8710 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b913146707bf63d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b690706707bf637c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241010@124955.8920 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8936 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.8964 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.8979 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.8988 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124955.9002 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.9017 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.9029 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b906516707bf63db','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124955.9041 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.9080 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.9121 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b906516707bf63db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b690706707bf637c' ,0,0 ,2,23.00,50000,?,?,?)
20241010@124955.9338 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124955.9342 bsnhpjee8inavpdoqh95vfjq5u Query : select st.usalote valor from st where st.ref = '324.2318.00.1'
20241010@124955.9363 bsnhpjee8inavpdoqh95vfjq5u 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.2318.00.1'
20241010@124955.9551 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.9567 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.9594 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.9609 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.9617 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124955.9629 bsnhpjee8inavpdoqh95vfjq5u Query : select sestamp valor from se where ref ='324.2318.00.1' and lote = 'r2100669100a'
20241010@124955.9650 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.9667 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.9678 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b441576707bf63eb','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124955.9682 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.9696 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.9722 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b441576707bf63eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b690706707bf637c' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241010@124955.9931 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.9946 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124955.9970 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124955.9985 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124955.9993 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124956.3700 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.6570 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124956.6690 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b321046707bf6400','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124956.6740 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.6900 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124956.7200 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b321046707bf6400',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b690706707bf637c' ,0,0 ,2,23.00,80000,?,?,?)
20241010@124956.9340 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124956.9370 bsnhpjee8inavpdoqh95vfjq5u Query : select st.usalote valor from st where st.ref = '324.2357.00.1'
20241010@124956.9560 bsnhpjee8inavpdoqh95vfjq5u 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.2357.00.1'
20241010@124956.1059 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.1074 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124956.1097 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.1111 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124956.1120 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124956.1132 bsnhpjee8inavpdoqh95vfjq5u Query : select sestamp valor from se where ref ='324.2357.00.1' and lote = 'r2200239100a'
20241010@124956.1158 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.1173 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124956.1185 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b301926707bf641c','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124956.1189 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.1203 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124956.1232 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b301926707bf641c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6707b690706707bf637c' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241010@124956.1437 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124956.1440 bsnhpjee8inavpdoqh95vfjq5u Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241010@124956.1459 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20241010@124956.1566 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.1582 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124956.1609 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.1623 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124956.1631 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124956.1643 bsnhpjee8inavpdoqh95vfjq5u Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = '324.2362.00.1'
20241010@124956.1652 bsnhpjee8inavpdoqh95vfjq5u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.1668 bsnhpjee8inavpdoqh95vfjq5u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124956.1680 bsnhpjee8inavpdoqh95vfjq5u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b575916707bf6428','aut6707b690706707bf637c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124956.1699 bsnhpjee8inavpdoqh95vfjq5u Query : use flama_phc
20241010@124956.1702 bsnhpjee8inavpdoqh95vfjq5u Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241010@124956.1733 bsnhpjee8inavpdoqh95vfjq5u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2550';
20241010@124956.1762 bsnhpjee8inavpdoqh95vfjq5u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2550';
20241010@124956.2399 1lutm5g19fb2f60d92j15fm9nu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241010@124956.2520 1lutm5g19fb2f60d92j15fm9nu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241010@124956.3592 1lutm5g19fb2f60d92j15fm9nu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2551';
20241010@124956.3650 1lutm5g19fb2f60d92j15fm9nu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2551';
20241010@124956.3703 1lutm5g19fb2f60d92j15fm9nu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2551';
20241010@124956.3730 1lutm5g19fb2f60d92j15fm9nu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2551';
20241010@124956.3779 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.3782 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@124956.3847 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.3850 1lutm5g19fb2f60d92j15fm9nu Query : select no, estab,szadrsdesc from szadrs where u_coddest=4197
20241010@124956.3924 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241010@124956.4024 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2301.00.3' and bi.lordem =1
20241010@124956.4311 1lutm5g19fb2f60d92j15fm9nu 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'
20241010@124956.4331 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2326.00.1' and bi.lordem =2
20241010@124956.4634 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2318.00.1'
20241010@124956.4657 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2318.00.1' and bi.lordem =3
20241010@124956.5025 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2318.00.1'
20241010@124956.5044 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2318.00.1' and bi.lordem =3
20241010@124956.5060 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241010@124956.5079 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2362.00.1' and bi.lordem =4
20241010@124956.5359 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2366.00.1'
20241010@124956.5380 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2366.00.1' and bi.lordem =5
20241010@124956.5728 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2366.00.1'
20241010@124956.5749 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2366.00.1' and bi.lordem =5
20241010@124956.5767 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241010@124956.5787 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2335.00.1' and bi.lordem =6
20241010@124956.6066 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241010@124956.6092 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2340.00.1' and bi.lordem =7
20241010@124956.6393 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20241010@124956.6416 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.2317.00.1' and bi.lordem =8
20241010@124956.7235 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241010@124956.7342 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.1321.00.1' and bi.lordem =9
20241010@124956.7734 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241010@124956.7753 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406595 and bi.ref ='324.1329.00.1' and bi.lordem =10
20241010@124956.8021 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.8024 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@124956.8059 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.8062 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 1 valor from td where td.ndoc = 39
20241010@124956.8094 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.8096 1lutm5g19fb2f60d92j15fm9nu 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')
20241010@124956.8125 1lutm5g19fb2f60d92j15fm9nu 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
20241010@124956.8159 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.8162 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 ~inactivo valor from cl where no = '102085' and estab = 0 order by inactivo desc
20241010@124956.8271 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.8275 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@124956.8303 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.8305 1lutm5g19fb2f60d92j15fm9nu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@124956.8345 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.8348 1lutm5g19fb2f60d92j15fm9nu Query : select szadrsstamp valor from szadrs where szadrsdesc='montilectica 2'
20241010@124956.8394 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124956.8397 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from td where ndoc = 39
20241010@124956.8409 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@124956.8424 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.8440 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124956.8487 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.8502 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124956.8530 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.8544 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124956.8557 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124956.8621 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124956.8634 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124956.8648 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124956.8663 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b052326707bf64d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@124956.8809 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2600 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124957.6200 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@124957.7300 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@124957.8700 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@124957.9900 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@124957.1100 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@124957.1220 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@124957.1330 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b052326707bf64d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@124957.3720 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 fno valor from wsftdata order by fno desc
20241010@124957.3930 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.4080 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124957.4300 1lutm5g19fb2f60d92j15fm9nu Query : select 'normal' from dummy
20241010@124957.4460 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b052326707bf64d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1188,102085,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@124957.7040 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124957.7070 1lutm5g19fb2f60d92j15fm9nu Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241010@124957.7470 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2301.00.3'
20241010@124957.8530 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.8690 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.8950 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9110 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.9200 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.9330 1lutm5g19fb2f60d92j15fm9nu Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2300612200a'
20241010@124957.9470 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9610 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.9730 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b301356707bf6517','aut6707b052326707bf64d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.9770 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9920 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.1023 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b301356707bf6517',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b052326707bf64d0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@124957.1242 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124957.1245 1lutm5g19fb2f60d92j15fm9nu Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241010@124957.1266 1lutm5g19fb2f60d92j15fm9nu 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'
20241010@124957.1281 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.1298 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.1325 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.1341 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.1351 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.1363 1lutm5g19fb2f60d92j15fm9nu Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2100576400a'
20241010@124957.1378 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.1393 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.1405 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b479446707bf6521','aut6707b052326707bf64d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.1410 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.1455 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.1487 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b479446707bf6521',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b052326707bf64d0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241010@124957.1697 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124957.1701 1lutm5g19fb2f60d92j15fm9nu Query : select st.usalote valor from st where st.ref = '324.2318.00.1'
20241010@124957.1721 1lutm5g19fb2f60d92j15fm9nu 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.2318.00.1'
20241010@124957.1737 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.1753 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.1778 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.1793 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.1801 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.1813 1lutm5g19fb2f60d92j15fm9nu Query : select sestamp valor from se where ref ='324.2318.00.1' and lote = 'r2100669100a'
20241010@124957.1824 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.1838 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.1849 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b114776707bf652c','aut6707b052326707bf64d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.1853 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.1869 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.1896 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b114776707bf652c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b052326707bf64d0' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241010@124957.2135 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2151 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.2174 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2188 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.2196 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.2208 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2222 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.2241 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b504386707bf6535','aut6707b052326707bf64d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.2245 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2259 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.2286 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b504386707bf6535',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b052326707bf64d0' ,0,0 ,2,23.00,40000,?,?,?)
20241010@124957.2484 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124957.2487 1lutm5g19fb2f60d92j15fm9nu Query : select st.usalote valor from st where st.ref = '324.2318.00.1'
20241010@124957.2505 1lutm5g19fb2f60d92j15fm9nu 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.2318.00.1'
20241010@124957.2517 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2532 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.2555 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2569 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.2577 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.2588 1lutm5g19fb2f60d92j15fm9nu Query : select sestamp valor from se where ref ='324.2318.00.1' and lote = 'r2100669100a'
20241010@124957.2599 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2613 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.2624 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b543026707bf653f','aut6707b052326707bf64d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.2634 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2648 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.2676 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b543026707bf653f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b052326707bf64d0' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241010@124957.2880 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2895 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.2928 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2942 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.2949 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.2961 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.2974 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.3588 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b186676707bf6548','aut6707b052326707bf64d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.3592 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.3608 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.3634 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b186676707bf6548',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b052326707bf64d0' ,0,0 ,2,23.00,70000,?,?,?)
20241010@124957.3851 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124957.3854 1lutm5g19fb2f60d92j15fm9nu Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241010@124957.3873 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20241010@124957.3886 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.3900 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.3923 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.3937 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.3945 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.3956 1lutm5g19fb2f60d92j15fm9nu Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = '324.2362.00.1'
20241010@124957.3964 1lutm5g19fb2f60d92j15fm9nu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.3978 1lutm5g19fb2f60d92j15fm9nu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.3989 1lutm5g19fb2f60d92j15fm9nu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b357676707bf6560','aut6707b052326707bf64d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.4007 1lutm5g19fb2f60d92j15fm9nu Query : use flama_phc
20241010@124957.4010 1lutm5g19fb2f60d92j15fm9nu Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241010@124957.4041 1lutm5g19fb2f60d92j15fm9nu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2551';
20241010@124957.4069 1lutm5g19fb2f60d92j15fm9nu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2551';
20241010@124957.4664 kpa4qgq6165uugab4cfrvo4heh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241010@124957.4674 kpa4qgq6165uugab4cfrvo4heh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241010@124957.4728 kpa4qgq6165uugab4cfrvo4heh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2552';
20241010@124957.4781 kpa4qgq6165uugab4cfrvo4heh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2552';
20241010@124957.4833 kpa4qgq6165uugab4cfrvo4heh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2552';
20241010@124957.4860 kpa4qgq6165uugab4cfrvo4heh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2552';
20241010@124957.4912 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.4915 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@124957.4977 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.4979 kpa4qgq6165uugab4cfrvo4heh Query : select no, estab,szadrsdesc from szadrs where u_coddest=4244
20241010@124957.5051 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20241010@124957.5072 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406596 and bi.ref ='324.1685.00.1' and bi.lordem =1
20241010@124957.5373 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20241010@124957.5392 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406596 and bi.ref ='324.1685.00.1' and bi.lordem =1
20241010@124957.5408 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20241010@124957.5432 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406596 and bi.ref ='324.727.00.01' and bi.lordem =2
20241010@124957.5734 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20241010@124957.5755 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406596 and bi.ref ='324.727.00.01' and bi.lordem =2
20241010@124957.5771 kpa4qgq6165uugab4cfrvo4heh 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'
20241010@124957.5874 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406596 and bi.ref ='324.4970.00.1' and bi.lordem =3
20241010@124957.6148 kpa4qgq6165uugab4cfrvo4heh 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'
20241010@124957.6168 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406596 and bi.ref ='324.4970.00.1' and bi.lordem =3
20241010@124957.6185 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20241010@124957.6289 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406596 and bi.ref ='324.1643.00.1' and bi.lordem =4
20241010@124957.6569 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20241010@124957.6590 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406596 and bi.ref ='324.1643.00.1' and bi.lordem =4
20241010@124957.6606 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.6609 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@124957.6642 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.6645 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 1 valor from td where td.ndoc = 39
20241010@124957.6675 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.6678 kpa4qgq6165uugab4cfrvo4heh 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')
20241010@124957.6707 kpa4qgq6165uugab4cfrvo4heh 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
20241010@124957.6741 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.6744 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 ~inactivo valor from cl where no = '101754' and estab = 0 order by inactivo desc
20241010@124957.6774 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.6777 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@124957.6832 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.6836 kpa4qgq6165uugab4cfrvo4heh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@124957.6880 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.6883 kpa4qgq6165uugab4cfrvo4heh Query : select szadrsstamp valor from szadrs where szadrsdesc='conforama albufeira.'
20241010@124957.6931 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.6934 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from td where ndoc = 39
20241010@124957.6947 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@124957.6963 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.6980 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124957.7001 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.7018 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124957.7073 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.7089 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124957.7102 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124957.7171 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124957.7185 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.7203 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124957.7221 kpa4qgq6165uugab4cfrvo4heh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b256246707bf65ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@124957.7372 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.7390 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124957.7427 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@124957.7439 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@124957.7451 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@124957.7465 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@124957.7501 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@124957.7514 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@124957.7527 kpa4qgq6165uugab4cfrvo4heh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b256246707bf65ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@124957.7729 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 fno valor from wsftdata order by fno desc
20241010@124957.7754 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.7772 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124957.7796 kpa4qgq6165uugab4cfrvo4heh Query : select 'normal' from dummy
20241010@124957.7812 kpa4qgq6165uugab4cfrvo4heh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b256246707bf65ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1188,101754,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@124957.9027 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.9031 kpa4qgq6165uugab4cfrvo4heh Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20241010@124957.9054 kpa4qgq6165uugab4cfrvo4heh 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.1685.00.1'
20241010@124957.9069 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9086 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.9112 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9127 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.9135 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.9147 kpa4qgq6165uugab4cfrvo4heh Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20241010@124957.9167 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9182 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.9194 kpa4qgq6165uugab4cfrvo4heh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b260876707bf65df','aut6707b256246707bf65ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.9198 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9213 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.9239 kpa4qgq6165uugab4cfrvo4heh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b260876707bf65df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6707b256246707bf65ad' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@124957.9451 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.9454 kpa4qgq6165uugab4cfrvo4heh Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20241010@124957.9472 kpa4qgq6165uugab4cfrvo4heh 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.1685.00.1'
20241010@124957.9484 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9499 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.9523 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9537 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.9546 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.9557 kpa4qgq6165uugab4cfrvo4heh Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20241010@124957.9569 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9583 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.9594 kpa4qgq6165uugab4cfrvo4heh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b182186707bf65e9','aut6707b256246707bf65ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124957.9598 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9614 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.9643 kpa4qgq6165uugab4cfrvo4heh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b182186707bf65e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6707b256246707bf65ad' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241010@124957.9853 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124957.9856 kpa4qgq6165uugab4cfrvo4heh Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20241010@124957.9876 kpa4qgq6165uugab4cfrvo4heh 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.727.00.01'
20241010@124957.9889 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9905 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124957.9944 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124957.9958 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124957.9967 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124957.9980 kpa4qgq6165uugab4cfrvo4heh Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r230053420'
20241010@124957.9988 kpa4qgq6165uugab4cfrvo4heh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.2000 kpa4qgq6165uugab4cfrvo4heh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124958.1300 kpa4qgq6165uugab4cfrvo4heh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b018176707bf65f3','aut6707b256246707bf65ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124958.3000 kpa4qgq6165uugab4cfrvo4heh Query : use flama_phc
20241010@124958.3400 kpa4qgq6165uugab4cfrvo4heh Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241010@124958.6600 kpa4qgq6165uugab4cfrvo4heh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2552';
20241010@124958.9600 kpa4qgq6165uugab4cfrvo4heh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2552';
20241010@124958.7430 l1vu27lnmpivv2hns7vs8idki0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241010@124958.7540 l1vu27lnmpivv2hns7vs8idki0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241010@124958.8060 l1vu27lnmpivv2hns7vs8idki0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2553';
20241010@124958.8610 l1vu27lnmpivv2hns7vs8idki0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2553';
20241010@124958.9110 l1vu27lnmpivv2hns7vs8idki0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2553';
20241010@124958.9360 l1vu27lnmpivv2hns7vs8idki0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2553';
20241010@124958.9910 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.9940 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@124958.1057 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1060 l1vu27lnmpivv2hns7vs8idki0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20241010@124958.1136 l1vu27lnmpivv2hns7vs8idki0 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'
20241010@124958.1237 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406610 and bi.ref ='324.4840.00.1' and bi.lordem =1
20241010@124958.1515 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1518 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@124958.1554 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1558 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 1 valor from td where td.ndoc = 39
20241010@124958.1588 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1592 l1vu27lnmpivv2hns7vs8idki0 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')
20241010@124958.1620 l1vu27lnmpivv2hns7vs8idki0 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
20241010@124958.1653 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1656 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20241010@124958.1743 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1746 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@124958.1779 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1783 l1vu27lnmpivv2hns7vs8idki0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@124958.1820 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1823 l1vu27lnmpivv2hns7vs8idki0 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20241010@124958.1874 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.1876 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from td where ndoc = 39
20241010@124958.1888 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@124958.1901 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.1917 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124958.1935 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.1949 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124958.1980 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.1994 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124958.2006 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124958.2069 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124958.2082 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.2097 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124958.2112 l1vu27lnmpivv2hns7vs8idki0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b040456707bf6630' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@124958.2256 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.2273 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124958.2307 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@124958.2320 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@124958.2333 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@124958.2345 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@124958.2356 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@124958.2369 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@124958.2381 l1vu27lnmpivv2hns7vs8idki0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b040456707bf6630',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@124958.2583 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 fno valor from wsftdata order by fno desc
20241010@124958.2606 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.2622 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124958.2644 l1vu27lnmpivv2hns7vs8idki0 Query : select 'normal' from dummy
20241010@124958.2659 l1vu27lnmpivv2hns7vs8idki0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b040456707bf6630',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1188,101900,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@124958.2884 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.2886 l1vu27lnmpivv2hns7vs8idki0 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241010@124958.2908 l1vu27lnmpivv2hns7vs8idki0 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'
20241010@124958.3012 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.3027 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124958.3052 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.3067 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124958.3076 l1vu27lnmpivv2hns7vs8idki0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124958.4196 l1vu27lnmpivv2hns7vs8idki0 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241010@124958.4216 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.4232 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124958.4243 l1vu27lnmpivv2hns7vs8idki0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b470176707bf6666','aut6707b040456707bf6630' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124958.4247 l1vu27lnmpivv2hns7vs8idki0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.4261 l1vu27lnmpivv2hns7vs8idki0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124958.4287 l1vu27lnmpivv2hns7vs8idki0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b470176707bf6666',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b040456707bf6630' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@124958.4503 l1vu27lnmpivv2hns7vs8idki0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6707b040456707bf6630','2406610','wait',39,'adm09112754980.682000002')
20241010@124958.4579 l1vu27lnmpivv2hns7vs8idki0 Query : use flama_phc
20241010@124958.4583 l1vu27lnmpivv2hns7vs8idki0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241010@124958.4616 l1vu27lnmpivv2hns7vs8idki0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2553';
20241010@124958.4648 l1vu27lnmpivv2hns7vs8idki0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2553';
20241010@124958.4691 l1vu27lnmpivv2hns7vs8idki0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2553';
20241010@124958.4717 l1vu27lnmpivv2hns7vs8idki0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2553';
20241010@124958.5411 169g2nhu81di1akj9cnf8g0cn3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241010@124958.5494 169g2nhu81di1akj9cnf8g0cn3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241010@124958.5595 169g2nhu81di1akj9cnf8g0cn3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2554';
20241010@124958.5655 169g2nhu81di1akj9cnf8g0cn3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2554';
20241010@124958.5707 169g2nhu81di1akj9cnf8g0cn3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2554';
20241010@124958.5747 169g2nhu81di1akj9cnf8g0cn3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2554';
20241010@124958.5796 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.5799 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@124958.5864 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.5867 169g2nhu81di1akj9cnf8g0cn3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4235
20241010@124958.5944 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20241010@124958.5963 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406625 and bi.ref ='324.1685.00.1' and bi.lordem =1
20241010@124958.6253 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20241010@124958.6274 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406625 and bi.ref ='324.727.00.01' and bi.lordem =2
20241010@124958.6590 169g2nhu81di1akj9cnf8g0cn3 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'
20241010@124958.6742 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406625 and bi.ref ='324.4970.00.1' and bi.lordem =3
20241010@124958.7053 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20241010@124958.7074 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406625 and bi.ref ='324.1643.00.1' and bi.lordem =4
20241010@124958.7350 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.7353 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@124958.7384 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.7388 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 1 valor from td where td.ndoc = 39
20241010@124958.7417 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.7420 169g2nhu81di1akj9cnf8g0cn3 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')
20241010@124958.7615 169g2nhu81di1akj9cnf8g0cn3 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
20241010@124958.7650 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.7653 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 ~inactivo valor from cl where no = '101754' and estab = 0 order by inactivo desc
20241010@124958.7681 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.7684 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@124958.7717 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.7721 169g2nhu81di1akj9cnf8g0cn3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@124958.7760 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.7763 169g2nhu81di1akj9cnf8g0cn3 Query : select szadrsstamp valor from szadrs where szadrsdesc='conforama corroios externo'
20241010@124958.7810 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.7813 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from td where ndoc = 39
20241010@124958.7826 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@124958.7840 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.7856 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124958.7875 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.7891 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124958.7920 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.7935 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124958.7948 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124958.8011 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@124958.8024 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.8039 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@124958.8055 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b625406707bf66c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@124958.8203 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.8219 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@124958.8249 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@124958.8261 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@124958.8273 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@124958.8284 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@124958.8295 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@124958.8307 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@124958.8318 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b625406707bf66c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@124958.8552 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 fno valor from wsftdata order by fno desc
20241010@124958.8714 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.8729 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@124958.8753 169g2nhu81di1akj9cnf8g0cn3 Query : select 'normal' from dummy
20241010@124958.8768 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b625406707bf66c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1189,101754,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@124958.9011 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.9014 169g2nhu81di1akj9cnf8g0cn3 Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20241010@124958.9035 169g2nhu81di1akj9cnf8g0cn3 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.1685.00.1'
20241010@124958.9048 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.9063 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124958.9088 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.9102 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124958.9111 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124958.9124 169g2nhu81di1akj9cnf8g0cn3 Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20241010@124958.9138 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.9155 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124958.9167 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b001806707bf66df','aut6707b625406707bf66c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124958.9171 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.9189 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124958.9217 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b001806707bf66df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6707b625406707bf66c2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@124958.9425 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124958.9428 169g2nhu81di1akj9cnf8g0cn3 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20241010@124958.9447 169g2nhu81di1akj9cnf8g0cn3 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.727.00.01'
20241010@124958.9460 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.9475 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124958.9500 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.9514 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124958.9522 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124958.9534 169g2nhu81di1akj9cnf8g0cn3 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20241010@124958.9547 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.9561 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124958.9572 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b029096707bf66e9','aut6707b625406707bf66c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124958.9576 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124958.9590 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124958.9617 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b029096707bf66e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6707b625406707bf66c2' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241010@124959.2300 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.1760 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124959.2060 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.2240 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124959.2340 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124959.2480 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.2640 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124959.2780 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b304516707bf6706','aut6707b625406707bf66c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124959.2840 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.3010 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124959.3310 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b304516707bf6706',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b625406707bf66c2' ,0,0 ,2,23.00,30000,?,?,?)
20241010@124959.5480 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124959.5510 169g2nhu81di1akj9cnf8g0cn3 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241010@124959.5710 169g2nhu81di1akj9cnf8g0cn3 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'
20241010@124959.6820 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.6980 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124959.7230 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.7370 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124959.7460 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124959.7570 169g2nhu81di1akj9cnf8g0cn3 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20241010@124959.7780 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.7930 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124959.8040 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b426906707bf6713','aut6707b625406707bf66c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124959.8090 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.8230 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124959.8520 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b426906707bf6713',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6707b625406707bf66c2' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241010@124959.1099 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124959.1102 169g2nhu81di1akj9cnf8g0cn3 Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20241010@124959.1122 169g2nhu81di1akj9cnf8g0cn3 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.1643.00.1'
20241010@124959.1227 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.1243 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124959.1267 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.1281 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124959.1289 169g2nhu81di1akj9cnf8g0cn3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@124959.1301 169g2nhu81di1akj9cnf8g0cn3 Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20241010@124959.1333 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.1348 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@124959.1359 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b488666707bf6720','aut6707b625406707bf66c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@124959.1363 169g2nhu81di1akj9cnf8g0cn3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@124959.1377 169g2nhu81di1akj9cnf8g0cn3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@124959.1407 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b488666707bf6720',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6707b625406707bf66c2' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241010@124959.1631 169g2nhu81di1akj9cnf8g0cn3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6707b625406707bf66c2','2406625','wait',39,'adm09112754980.682000002')
20241010@124959.1707 169g2nhu81di1akj9cnf8g0cn3 Query : use flama_phc
20241010@124959.1710 169g2nhu81di1akj9cnf8g0cn3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241010@124959.1741 169g2nhu81di1akj9cnf8g0cn3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2554';
20241010@124959.1775 169g2nhu81di1akj9cnf8g0cn3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2554';
20241010@124959.1822 169g2nhu81di1akj9cnf8g0cn3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2554';
20241010@124959.1852 169g2nhu81di1akj9cnf8g0cn3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2554';
20241010@124959.2714 sj6qeqoh78lc7705cmr59ksrti Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241010@124959.2725 sj6qeqoh78lc7705cmr59ksrti Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241010@124959.2779 sj6qeqoh78lc7705cmr59ksrti Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2555';
20241010@124959.2833 sj6qeqoh78lc7705cmr59ksrti Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2555';
20241010@124959.2885 sj6qeqoh78lc7705cmr59ksrti Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2555';
20241010@124959.2910 sj6qeqoh78lc7705cmr59ksrti Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2555';
20241010@124959.2968 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@124959.2971 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@124959.3030 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@124959.3032 sj6qeqoh78lc7705cmr59ksrti Query : select no, estab,szadrsdesc from szadrs where u_coddest=3926
20241010@124959.3108 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20241010@124959.3207 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='304.422.00.07' and bi.lordem =1
20241010@124959.4153 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.4259 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.4743.00.1' and bi.lordem =2
20241010@124959.4529 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.4549 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.4743.00.1' and bi.lordem =2
20241010@124959.4565 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.4584 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.4840.00.1' and bi.lordem =3
20241010@124959.4892 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.5007 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.645.00.01' and bi.lordem =4
20241010@124959.5297 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.5318 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.645.00.01' and bi.lordem =4
20241010@124959.5334 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.5353 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.645.00.01' and bi.lordem =4
20241010@124959.5369 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.5388 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.646.00.01' and bi.lordem =5
20241010@124959.5684 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.5706 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.646.00.01' and bi.lordem =5
20241010@124959.5723 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.5742 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.646.00.01' and bi.lordem =5
20241010@124959.5759 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.5864 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.644.00.01' and bi.lordem =6
20241010@124959.7079 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@124959.7099 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.644.00.01' and bi.lordem =6
20241010@124959.7116 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241010@124959.7220 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1824.00.1' and bi.lordem =7
20241010@124959.9370 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241010@124959.9396 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1824.00.1' and bi.lordem =7
20241010@124959.9413 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241010@124959.9431 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1824.00.1' and bi.lordem =7
20241010@124959.9447 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241010@124959.9465 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1824.00.1' and bi.lordem =7
20241010@124959.9482 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241010@124959.9591 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1834.00.1' and bi.lordem =8
20241010@124959.9896 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241010@124959.9925 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1834.00.1' and bi.lordem =8
20241010@124959.9942 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241010@124959.9963 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1834.00.1' and bi.lordem =8
20241010@124959.9980 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20241010@125000.8400 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.728.00.01' and bi.lordem =9
20241010@125000.5460 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20241010@125000.5680 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.728.00.01' and bi.lordem =9
20241010@125000.5860 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20241010@125000.7310 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1462.00.1' and bi.lordem =10
20241010@125000.1008 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20241010@125000.1029 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.1462.00.1' and bi.lordem =10
20241010@125000.1047 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125000.1156 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.2232.00.1' and bi.lordem =11
20241010@125000.1431 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125000.1451 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.2232.00.1' and bi.lordem =11
20241010@125000.1466 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20241010@125000.2703 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406628 and bi.ref ='324.5342.00.1' and bi.lordem =12
20241010@125000.3065 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.3068 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@125000.3102 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.3105 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 1 valor from td where td.ndoc = 39
20241010@125000.3136 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.3139 sj6qeqoh78lc7705cmr59ksrti 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')
20241010@125000.3167 sj6qeqoh78lc7705cmr59ksrti 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
20241010@125000.3203 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.3206 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 ~inactivo valor from cl where no = '102492' and estab = 0 order by inactivo desc
20241010@125000.3297 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.3300 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@125000.3329 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.3332 sj6qeqoh78lc7705cmr59ksrti Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@125000.3374 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.3377 sj6qeqoh78lc7705cmr59ksrti Query : select szadrsstamp valor from szadrs where szadrsdesc='trucking transportes lda - ao cuidado amg'
20241010@125000.3427 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.3429 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from td where ndoc = 39
20241010@125000.3442 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@125000.3456 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.3477 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@125000.3498 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.3513 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@125000.3542 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.3557 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@125000.3569 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@125000.3634 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@125000.3647 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.3662 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@125000.3677 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@125000.3831 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.3848 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@125000.3878 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@125000.3890 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@125000.3903 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@125000.3915 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@125000.3926 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@125000.3938 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@125000.3949 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b448146707bf6857',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@125000.4141 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 fno valor from wsftdata order by fno desc
20241010@125000.4161 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.4177 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@125000.4199 sj6qeqoh78lc7705cmr59ksrti Query : select 'normal' from dummy
20241010@125000.4214 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b448146707bf6857',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1190,102492,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@125000.4582 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.4588 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241010@125000.4629 sj6qeqoh78lc7705cmr59ksrti 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.422.00.07'
20241010@125000.4750 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.4768 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.5025 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.5328 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.5339 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125000.5359 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230738'
20241010@125000.5409 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.5426 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.5439 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b985826707bf6884','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125000.5443 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.5474 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.5507 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b985826707bf6884',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@125000.5728 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.5731 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20241010@125000.5755 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125000.5864 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.5881 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.5909 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.5924 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.5932 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125000.5944 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20241010@125000.5964 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.5978 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.5992 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b748596707bf6891','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125000.5996 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.6012 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.6039 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b748596707bf6891',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241010@125000.6247 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.6250 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20241010@125000.6269 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125000.6282 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.6298 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.6332 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.6348 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.6357 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125000.6369 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20241010@125000.6382 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.6397 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.6409 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b180936707bf689b','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125000.6413 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.6427 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.6457 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b180936707bf689b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241010@125000.8565 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.8570 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241010@125000.8592 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125000.8617 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.8643 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.8671 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.8686 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.8695 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125000.8707 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241010@125000.8719 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.8735 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.8749 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b463746707bf68d4','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125000.8754 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.8768 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.8796 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b463746707bf68d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241010@125000.9009 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.9012 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241010@125000.9033 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125000.9142 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9158 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.9184 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9199 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.9208 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125000.9220 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301174100a'
20241010@125000.9242 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9258 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.9269 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b618356707bf68e1','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125000.9273 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9288 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.9317 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b618356707bf68e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241010@125000.9543 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9560 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.9586 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9600 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.9609 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125000.9621 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9636 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125000.9648 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b858186707bf68ea','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125000.9652 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9666 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.9697 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b858186707bf68ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,60000,?,?,?)
20241010@125000.9914 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125000.9917 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241010@125000.9937 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125000.9951 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125000.9967 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125000.9993 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.9000 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.1900 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.3100 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301174100a'
20241010@125001.4300 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5700 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.6900 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b903556707bf6901','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.7300 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.8700 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.1150 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b903556707bf6901',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241010@125001.1321 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.1337 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.1362 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.1377 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.1385 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.1401 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.1775 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.1786 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b651606707bf6922','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.1791 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.1806 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.1833 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b651606707bf6922',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,90000,?,?,?)
20241010@125001.2050 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125001.2053 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241010@125001.2072 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125001.2085 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2102 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.2129 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2143 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.2152 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.2164 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301174100a'
20241010@125001.2176 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2190 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.2201 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b457506707bf6935','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.2205 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2219 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.2247 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b457506707bf6935',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241010@125001.2468 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2484 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.2509 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2524 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.2532 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.2544 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2559 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.2570 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b292446707bf693e','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.2574 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2588 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.2617 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b292446707bf693e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,120000,?,?,?)
20241010@125001.2862 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125001.2865 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@125001.2884 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125001.2905 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2921 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.2946 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.2961 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.2969 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.2981 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@125001.2993 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.3008 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.3020 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b128516707bf6949','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.3024 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.4937 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.4966 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b128516707bf6949',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241010@125001.5199 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5215 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.5241 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5256 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.5264 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.5276 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5290 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.5301 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b048376707bf6980','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.5305 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5320 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.5348 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b048376707bf6980',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,150000,?,?,?)
20241010@125001.5561 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125001.5565 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@125001.5584 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125001.5597 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5613 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.5641 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5656 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.5665 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.5741 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@125001.5754 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5769 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.5781 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b335796707bf698c','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.5785 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.5853 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.5881 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b335796707bf698c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241010@125001.6169 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.6185 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.6210 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.6224 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.6232 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.6245 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.6259 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.6270 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b400806707bf6998','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.6275 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.6289 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.6437 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b400806707bf6998',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,180000,?,?,?)
20241010@125001.6718 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125001.6721 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20241010@125001.6740 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125001.6753 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.6769 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.6795 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.6814 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.6828 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.6843 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20241010@125001.6859 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.6880 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.6894 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b110846707bf69a7','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.6941 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.6974 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.7007 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b110846707bf69a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241010@125001.7227 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.7245 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.7274 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.7292 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.7302 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.7317 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.8457 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.8472 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b945836707bf69b2','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.8476 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.8492 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.8519 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b945836707bf69b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,210000,?,?,?)
20241010@125001.8781 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125001.8784 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.644.00.01'
20241010@125001.8802 sj6qeqoh78lc7705cmr59ksrti 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.644.00.01'
20241010@125001.8906 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.8922 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.8946 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.8960 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.8969 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.8980 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.644.00.01' and lote = 'r2400749200a'
20241010@125001.8993 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.9007 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.9018 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b397966707bf69db','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.9030 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.9044 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.9121 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b397966707bf69db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241010@125001.9463 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125001.9466 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.644.00.01'
20241010@125001.9485 sj6qeqoh78lc7705cmr59ksrti 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.644.00.01'
20241010@125001.9499 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.9515 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.9539 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.9554 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.9562 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125001.9573 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.644.00.01' and lote = 'r2400749200a'
20241010@125001.9585 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.9600 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125001.9613 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b261786707bf69ea','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125001.9617 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125001.9631 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125001.9658 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b261786707bf69ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241010@125002.1420 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125002.1690 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241010@125002.2880 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241010@125002.3990 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4160 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.4400 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4540 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.4620 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.4740 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20241010@125002.5170 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.5310 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.5420 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b388576707bf6a0c','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.5460 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.5620 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.5900 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b388576707bf6a0c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241010@125002.1033 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1062 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.1087 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1101 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.1110 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.1122 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1136 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.1186 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b666076707bf6a1b','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.1196 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1212 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.1238 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b666076707bf6a1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,260000,?,?,?)
20241010@125002.1454 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125002.1457 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241010@125002.1517 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241010@125002.1537 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1553 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.1585 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1600 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.1609 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.1621 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20241010@125002.1633 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1648 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.1659 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b148256707bf6a27','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.1663 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1679 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.1707 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b148256707bf6a27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241010@125002.1935 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1950 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.1977 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.1992 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.2001 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.2014 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2029 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.2041 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b384796707bf6a31','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.2045 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2061 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.2089 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b384796707bf6a31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,290000,?,?,?)
20241010@125002.2301 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125002.2304 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241010@125002.2324 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241010@125002.2337 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2352 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.2378 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2393 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.2402 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.2414 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20241010@125002.2427 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2442 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.2453 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b404476707bf6a3b','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.2458 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2473 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.2502 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b404476707bf6a3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241010@125002.2722 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2738 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.2763 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2779 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.2787 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.2800 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2814 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.2827 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b235506707bf6a44','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.2831 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.2845 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.2873 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b235506707bf6a44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,320000,?,?,?)
20241010@125002.3083 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125002.3086 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241010@125002.3106 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241010@125002.3121 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.3138 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.3163 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.3177 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.3186 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.3198 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20241010@125002.3210 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.3226 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.3238 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b565996707bf6a4e','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.3242 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.3257 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.3285 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b565996707bf6a4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20241010@125002.3512 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.3528 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.3554 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.3568 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.3577 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.3589 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.3605 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.3617 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b113576707bf6a57','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.3621 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.3635 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.3664 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b113576707bf6a57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,350000,?,?,?)
20241010@125002.4050 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125002.4057 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241010@125002.4078 sj6qeqoh78lc7705cmr59ksrti 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.1834.00.1'
20241010@125002.4185 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4202 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.4227 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4242 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.4251 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.4262 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241010@125002.4275 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4289 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.4301 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b021856707bf6a68','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.4305 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4318 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.4345 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b021856707bf6a68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20241010@125002.4561 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4575 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.4599 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4613 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.4621 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.4633 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4647 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.4659 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b385606707bf6a71','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.4662 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.4676 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.4704 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b385606707bf6a71',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,380000,?,?,?)
20241010@125002.6356 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125002.6738 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241010@125002.6761 sj6qeqoh78lc7705cmr59ksrti 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.1834.00.1'
20241010@125002.6775 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.6792 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.6822 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.6837 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.6846 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.6859 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241010@125002.6873 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.6887 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.6899 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b212496707bf6aa7','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.6903 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.6918 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.6945 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b212496707bf6aa7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20241010@125002.7162 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.7176 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.7200 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.7215 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.7223 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.7235 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.7248 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.7260 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b620046707bf6ab0','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.7263 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.7277 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.7305 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b620046707bf6ab0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,410000,?,?,?)
20241010@125002.7503 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125002.7506 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241010@125002.7587 sj6qeqoh78lc7705cmr59ksrti 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.1834.00.1'
20241010@125002.8654 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.8671 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.8698 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.8714 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.8723 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.8735 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241010@125002.8749 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.8764 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.8776 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b354336707bf6ad5','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.8780 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.8794 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.8822 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b354336707bf6ad5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,430000,?,?,?,?,?)
20241010@125002.9049 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9066 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.9092 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9108 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.9116 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.9130 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9148 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.9160 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b679296707bf6ade','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.9164 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9179 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.9208 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b679296707bf6ade',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,440000,?,?,?)
20241010@125002.9439 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125002.9442 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20241010@125002.9463 sj6qeqoh78lc7705cmr59ksrti 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.728.00.01'
20241010@125002.9571 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9587 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.9613 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9628 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.9636 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125002.9649 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20241010@125002.9662 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9677 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125002.9692 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b008756707bf6aeb','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125002.9696 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9711 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125002.9739 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b008756707bf6aeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,460000,?,?,?,?,?)
20241010@125002.9973 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125002.9991 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.1800 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3400 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.4500 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.5900 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.7400 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.8900 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b974726707bf6b01','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.9300 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.1080 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.1390 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b974726707bf6b01',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,470000,?,?,?)
20241010@125003.3620 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125003.3650 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20241010@125003.3900 sj6qeqoh78lc7705cmr59ksrti 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.728.00.01'
20241010@125003.4060 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.4230 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.4500 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.4650 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.4740 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.4870 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20241010@125003.5000 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.5150 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.5280 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b863366707bf6b0c','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.5320 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.5470 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.5780 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b863366707bf6b0c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,490000,?,?,?,?,?)
20241010@125003.9580 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.1356 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.1412 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.1428 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.1437 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.1450 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.1465 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.1477 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b267866707bf6b23','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.1482 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.1497 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.1529 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b267866707bf6b23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,500000,?,?,?)
20241010@125003.1746 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125003.1749 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20241010@125003.1770 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1462.00.1'
20241010@125003.1880 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.1896 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.1922 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.1937 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.1946 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.1963 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20241010@125003.1984 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.1999 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.2011 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b551846707bf6b30','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.2016 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2031 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.2064 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b551846707bf6b30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,520000,?,?,?,?,?)
20241010@125003.2279 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125003.2282 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20241010@125003.2301 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1462.00.1'
20241010@125003.2314 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2330 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.2355 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2370 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.2379 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.2390 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20241010@125003.2403 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2419 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.2430 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b085636707bf6b3a','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.2434 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2448 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.2476 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b085636707bf6b3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,530000,?,?,?,?,?)
20241010@125003.2683 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125003.2686 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20241010@125003.2706 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125003.2812 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2828 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.2854 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2868 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.2877 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.2889 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20241010@125003.2903 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2920 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.2933 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b615396707bf6b46','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.2937 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.2952 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.2980 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b615396707bf6b46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,540000,?,?,?,?,?)
20241010@125003.3197 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125003.3200 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20241010@125003.3219 sj6qeqoh78lc7705cmr59ksrti 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'
20241010@125003.3233 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3248 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.3275 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3292 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.3301 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.3313 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20241010@125003.3326 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3341 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.3353 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b783986707bf6b51','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.3357 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3373 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.3406 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b783986707bf6b51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,550000,?,?,?,?,?)
20241010@125003.3620 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125003.3622 sj6qeqoh78lc7705cmr59ksrti Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20241010@125003.3643 sj6qeqoh78lc7705cmr59ksrti 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.5342.00.1'
20241010@125003.3745 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3762 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.3791 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3807 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.3816 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.3828 sj6qeqoh78lc7705cmr59ksrti Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20241010@125003.3842 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3857 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.3869 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b439326707bf6b5d','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.3873 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.3888 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.3916 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b439326707bf6b5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',102.000 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,560000,?,?,?,?,?)
20241010@125003.4136 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.4150 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.4176 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.4190 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.4199 sj6qeqoh78lc7705cmr59ksrti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125003.4213 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.4228 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125003.4239 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b444666707bf6b66','aut6707b448146707bf6857' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125003.4243 sj6qeqoh78lc7705cmr59ksrti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125003.4258 sj6qeqoh78lc7705cmr59ksrti Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125003.4286 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b444666707bf6b66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b448146707bf6857' ,0,0 ,2,23.00,570000,?,?,?)
20241010@125003.4501 sj6qeqoh78lc7705cmr59ksrti Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6707b448146707bf6857','2406628','wait',39,'adm09112754980.682000002')
20241010@125003.4579 sj6qeqoh78lc7705cmr59ksrti Query : use flama_phc
20241010@125003.4582 sj6qeqoh78lc7705cmr59ksrti Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241010@125003.4613 sj6qeqoh78lc7705cmr59ksrti Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2555';
20241010@125003.4646 sj6qeqoh78lc7705cmr59ksrti Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2555';
20241010@125003.4688 sj6qeqoh78lc7705cmr59ksrti Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2555';
20241010@125003.4717 sj6qeqoh78lc7705cmr59ksrti Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2555';
20241010@125003.5455 p5rb4ttij0bg94lmk907qld484 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241010@125003.5468 p5rb4ttij0bg94lmk907qld484 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241010@125003.5524 p5rb4ttij0bg94lmk907qld484 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2556';
20241010@125003.5578 p5rb4ttij0bg94lmk907qld484 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2556';
20241010@125003.5635 p5rb4ttij0bg94lmk907qld484 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2556';
20241010@125003.5664 p5rb4ttij0bg94lmk907qld484 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2556';
20241010@125003.5720 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125003.5732 p5rb4ttij0bg94lmk907qld484 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241010@125003.5797 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125003.5800 p5rb4ttij0bg94lmk907qld484 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3926
20241010@125003.5848 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20241010@125003.6921 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='324.5343.00.1' and bi.lordem =1
20241010@125003.7210 p5rb4ttij0bg94lmk907qld484 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'
20241010@125003.7310 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='324.5361.00.1' and bi.lordem =2
20241010@125003.7578 p5rb4ttij0bg94lmk907qld484 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'
20241010@125003.7674 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='324.5365.00.1' and bi.lordem =3
20241010@125003.8915 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20241010@125003.9021 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='324.5396.00.1' and bi.lordem =4
20241010@125003.9312 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20241010@125003.9337 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='324.5396.00.1' and bi.lordem =4
20241010@125003.9357 p5rb4ttij0bg94lmk907qld484 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'
20241010@125003.9463 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='324.5500.00.1' and bi.lordem =5
20241010@125003.9754 p5rb4ttij0bg94lmk907qld484 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'
20241010@125003.9774 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='324.5500.00.1' and bi.lordem =5
20241010@125003.9791 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2100 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9902.00.1' and bi.lordem =6
20241010@125004.3700 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.3930 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9902.00.1' and bi.lordem =6
20241010@125004.4110 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.4320 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9902.00.1' and bi.lordem =6
20241010@125004.4490 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.4680 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9902.00.1' and bi.lordem =6
20241010@125004.4840 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.5040 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9902.00.1' and bi.lordem =6
20241010@125004.5190 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.5380 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9902.00.1' and bi.lordem =6
20241010@125004.5570 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.5750 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9902.00.1' and bi.lordem =6
20241010@125004.5910 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.6110 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9902.00.1' and bi.lordem =6
20241010@125004.6300 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9903.00.1'
20241010@125004.1004 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9903.00.1' and bi.lordem =7
20241010@125004.1360 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9903.00.1'
20241010@125004.1382 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9903.00.1' and bi.lordem =7
20241010@125004.1399 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9903.00.1'
20241010@125004.1418 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9903.00.1' and bi.lordem =7
20241010@125004.1433 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9903.00.1'
20241010@125004.1455 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9903.00.1' and bi.lordem =7
20241010@125004.1471 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9903.00.1'
20241010@125004.1489 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9903.00.1' and bi.lordem =7
20241010@125004.1506 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.1615 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9005.00.1' and bi.lordem =8
20241010@125004.1912 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2026 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9006.00.1' and bi.lordem =9
20241010@125004.2316 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2428 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9106.00.1' and bi.lordem =10
20241010@125004.2710 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2733 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9106.00.1' and bi.lordem =10
20241010@125004.2753 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2771 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9106.00.1' and bi.lordem =10
20241010@125004.2788 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2807 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9106.00.1' and bi.lordem =10
20241010@125004.2823 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2841 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9106.00.1' and bi.lordem =10
20241010@125004.2858 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2878 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9106.00.1' and bi.lordem =10
20241010@125004.2895 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2914 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9106.00.1' and bi.lordem =10
20241010@125004.2931 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.2952 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9106.00.1' and bi.lordem =10
20241010@125004.2970 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241010@125004.3083 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9326.00.1' and bi.lordem =11
20241010@125004.3372 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241010@125004.3393 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9326.00.1' and bi.lordem =11
20241010@125004.3411 p5rb4ttij0bg94lmk907qld484 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241010@125004.3432 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9326.00.1' and bi.lordem =11
20241010@125004.3449 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.3469 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9005.00.1' and bi.lordem =12
20241010@125004.3826 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.3846 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406629 and bi.ref ='328.9005.00.1' and bi.lordem =12
20241010@125004.3864 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.3867 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241010@125004.3899 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.3902 p5rb4ttij0bg94lmk907qld484 Query : select top 1 1 valor from td where td.ndoc = 39
20241010@125004.3931 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.3934 p5rb4ttij0bg94lmk907qld484 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')
20241010@125004.3961 p5rb4ttij0bg94lmk907qld484 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
20241010@125004.3996 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.3999 p5rb4ttij0bg94lmk907qld484 Query : select top 1 ~inactivo valor from cl where no = '102492' and estab = 0 order by inactivo desc
20241010@125004.4029 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.4032 p5rb4ttij0bg94lmk907qld484 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241010@125004.4061 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.4063 p5rb4ttij0bg94lmk907qld484 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241010@125004.4104 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.4107 p5rb4ttij0bg94lmk907qld484 Query : select szadrsstamp valor from szadrs where szadrsdesc='trucking transportes lda - ao cuidado amg'
20241010@125004.4150 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.4153 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from td where ndoc = 39
20241010@125004.4165 p5rb4ttij0bg94lmk907qld484 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241010@125004.4179 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.4195 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@125004.4213 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.4228 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@125004.4255 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.4269 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@125004.4282 p5rb4ttij0bg94lmk907qld484 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@125004.4376 p5rb4ttij0bg94lmk907qld484 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241010@125004.4389 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.4406 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241010@125004.4423 p5rb4ttij0bg94lmk907qld484 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241010@125004.4584 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.4603 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241010@125004.4638 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241010@125004.4651 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241010@125004.4663 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241010@125004.4675 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241010@125004.4688 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241010@125004.4701 p5rb4ttij0bg94lmk907qld484 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241010@125004.4712 p5rb4ttij0bg94lmk907qld484 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6707b482106707bf6c68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241010@125004.4930 p5rb4ttij0bg94lmk907qld484 Query : select top 1 fno valor from wsftdata order by fno desc
20241010@125004.4954 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.4969 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241010@125004.4992 p5rb4ttij0bg94lmk907qld484 Query : select 'normal' from dummy
20241010@125004.5008 p5rb4ttij0bg94lmk907qld484 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6707b482106707bf6c68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1191,102492,0,'2024-10-10',39,'euro',0,0,2024 ,?,?)
20241010@125004.5263 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.5266 p5rb4ttij0bg94lmk907qld484 Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20241010@125004.5288 p5rb4ttij0bg94lmk907qld484 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.5343.00.1'
20241010@125004.5403 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.5419 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.5443 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.5458 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.5466 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125004.5477 p5rb4ttij0bg94lmk907qld484 Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20241010@125004.5491 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.5505 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.5516 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b618006707bf6c86','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125004.5520 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.5534 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.5561 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b618006707bf6c86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',102.000 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241010@125004.5902 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.5992 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.6020 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.6038 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.6052 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125004.6071 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.6090 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.6104 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b525596707bf6c94','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125004.6108 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.6122 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.6149 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b525596707bf6c94',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,20000,?,?,?)
20241010@125004.6388 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.6391 p5rb4ttij0bg94lmk907qld484 Query : select st.usalote valor from st where st.ref = '324.5361.00.1'
20241010@125004.6414 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.6554 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.6572 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.6599 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.6615 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.6624 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125004.6636 p5rb4ttij0bg94lmk907qld484 Query : select sestamp valor from se where ref ='324.5361.00.1' and lote = 'r2300840200a'
20241010@125004.6651 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.6707 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.6965 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b379806707bf6ca2','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125004.6970 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.6987 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.7015 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b379806707bf6ca2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',54.000 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241010@125004.7753 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.8409 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.9238 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.9257 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.9265 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125004.9278 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.9293 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.9307 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b901546707bf6ce2','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125004.9311 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.9326 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.9358 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b901546707bf6ce2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,50000,?,?,?)
20241010@125004.9578 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125004.9581 p5rb4ttij0bg94lmk907qld484 Query : select st.usalote valor from st where st.ref = '324.5365.00.1'
20241010@125004.9603 p5rb4ttij0bg94lmk907qld484 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'
20241010@125004.9713 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.9732 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.9762 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.9779 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.9790 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125004.9805 p5rb4ttij0bg94lmk907qld484 Query : select sestamp valor from se where ref ='324.5365.00.1' and lote = 'r2300840100a'
20241010@125004.9819 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.9834 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125004.9848 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b620236707bf6cef','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125004.9853 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125004.9868 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125004.9897 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b620236707bf6cef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',54.000 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241010@125005.1280 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.1450 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.1700 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.1840 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.1950 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125005.2090 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2250 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.2390 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b026096707bf6d05','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125005.2430 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2590 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.2900 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b026096707bf6d05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,80000,?,?,?)
20241010@125005.5170 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125005.5210 p5rb4ttij0bg94lmk907qld484 Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20241010@125005.5430 p5rb4ttij0bg94lmk907qld484 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.5396.00.1'
20241010@125005.6600 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.6780 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.7080 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.7240 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.7340 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125005.7470 p5rb4ttij0bg94lmk907qld484 Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20241010@125005.1927 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.1943 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.1957 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b337506707bf6d2f','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125005.1961 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.1977 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.2007 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b337506707bf6d2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241010@125005.2235 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2254 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.2282 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2298 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.2308 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125005.2321 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2335 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.2348 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b538986707bf6d38','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125005.2352 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2367 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.2396 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b538986707bf6d38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,110000,?,?,?)
20241010@125005.2639 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125005.2642 p5rb4ttij0bg94lmk907qld484 Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20241010@125005.2662 p5rb4ttij0bg94lmk907qld484 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.5396.00.1'
20241010@125005.2676 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2692 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.2720 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2735 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.2743 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125005.2756 p5rb4ttij0bg94lmk907qld484 Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20241010@125005.2768 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2782 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.2794 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b296736707bf6d43','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125005.2798 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.2813 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.2841 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6707b296736707bf6d43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241010@125005.3150 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.3168 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.3195 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.3213 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.3223 p5rb4ttij0bg94lmk907qld484 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241010@125005.3238 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.3255 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241010@125005.3268 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6707b648876707bf6d4f','aut6707b482106707bf6c68' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241010@125005.3273 p5rb4ttij0bg94lmk907qld484 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241010@125005.3289 p5rb4ttij0bg94lmk907qld484 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241010@125005.3320 p5rb4ttij0bg94lmk907qld484 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6707b648876707bf6d4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6707b482106707bf6c68' ,0,0 ,2,23.00,140000,?,?,?)
20241010@125005.3537 p5rb4ttij0bg94lmk907qld484 Query : use flama_phc
20241010@125005.3541 p5rb4ttij0bg94lmk907qld484 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
