20240823@093758.6057 957m8jf3u7g7uhdcnvtk4nnke9 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240823@093758.6055 957m8jf3u7g7uhdcnvtk4nnke9 Query : use flama_phc
20240823@093758.6063 957m8jf3u7g7uhdcnvtk4nnke9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240823@093758.6118 957m8jf3u7g7uhdcnvtk4nnke9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1647';
20240823@093758.6149 957m8jf3u7g7uhdcnvtk4nnke9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1647';

20240823@142438.2662 gb1cat06mdn2ubap8c3kg0imlc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1648';
20240823@142438.2716 gb1cat06mdn2ubap8c3kg0imlc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1648';
20240823@142438.2743 gb1cat06mdn2ubap8c3kg0imlc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1648';
20240823@142438.2789 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.2796 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240823@142438.2875 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1817.00.1'
20240823@142438.3119 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400380 and bi.ref ='324.1817.00.1' and bi.lordem =20000
20240823@142438.3469 gb1cat06mdn2ubap8c3kg0imlc Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24040436244,251000002 ' 
20240823@142438.3791 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.3795 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 1 valor from ts where ts.ndos = 61
20240823@142438.3829 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.3832 gb1cat06mdn2ubap8c3kg0imlc 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')
20240823@142438.3864 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240823@142438.3902 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.3905 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 ~inactivo valor from fl where no = '202241' and estab = 00 order by inactivo desc
20240823@142438.3955 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.3958 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from ts where ndos = 61
20240823@142438.3972 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.3992 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240823@142438.4013 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.4031 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240823@142438.4043 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.4059 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240823@142438.4070 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20240823@142438.4086 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240823@142438.4121 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240823@142438.4144 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.4151 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202241' and estab=00
20240823@142438.4170 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.4186 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240823@142438.4201 gb1cat06mdn2ubap8c3kg0imlc Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c881629866c88d9665',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240823@142438.4217 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.4236 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240823@142438.4250 gb1cat06mdn2ubap8c3kg0imlc Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c881629866c88d9665','--','bo',7.9728583545377438507 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240823@142438.4270 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.4287 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240823@142438.4301 gb1cat06mdn2ubap8c3kg0imlc 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 ('aut66c881629866c88d9665','guia r. fornecedor','2024-08-23',61,2402315,?,?,?,?,?,?,?,?,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')
20240823@142438.4966 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.4970 gb1cat06mdn2ubap8c3kg0imlc Query : select st.usalote valor from st where st.ref = '324.1817.00.1'
20240823@142438.5001 gb1cat06mdn2ubap8c3kg0imlc 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.1817.00.1'
20240823@142438.5161 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.5184 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240823@142438.5199 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.5218 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240823@142438.5229 gb1cat06mdn2ubap8c3kg0imlc Query : select sestamp valor from se where ref ='324.1817.00.1' and lote = 'r2400380200a'
20240823@142438.5250 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.5266 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240823@142438.5276 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.5293 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240823@142438.5306 gb1cat06mdn2ubap8c3kg0imlc Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c883840566c88d9680',?,?,'20240823',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240823@142438.5394 gb1cat06mdn2ubap8c3kg0imlc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240823@142438.5408 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.5426 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240823@142438.5440 gb1cat06mdn2ubap8c3kg0imlc Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66c881549066c88d9684','aut66c881629866c88d9665',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 = 'aut66c881629866c88d9665'
20240823@142438.5614 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240823@142438.5633 gb1cat06mdn2ubap8c3kg0imlc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240823@142438.5652 gb1cat06mdn2ubap8c3kg0imlc 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 'aut66c881549066c88d9684',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1470, 1470*.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 ,23.58,23.58*200.48,23.58,23.58*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,23.58*1470,23.58*1470*200.48 ,25.557000,25.557000*200.48 ,25.557000,25.557000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,23.58,23.58*200.48,23.58*1470,23.58*1470*200.48,'cps24040436244,251000002 ',188,188*1470,188,188*1470,?,?,?,4 from bo bo where bo.bostamp = 'aut66c881629866c88d9665'
20240823@142438.6633 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.6637 gb1cat06mdn2ubap8c3kg0imlc Query : declare @bostamp varchar(25) = 'aut66c881629866c88d9665' ,@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 
20240823@142438.8902 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142438.8906 gb1cat06mdn2ubap8c3kg0imlc Query : select 1 valor from bo where bo.bostamp = 'aut66c881629866c88d9665'
20240823@142438.8925 gb1cat06mdn2ubap8c3kg0imlc 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) = 'aut66c881629866c88d9665' 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 
20240823@142439.1949 gb1cat06mdn2ubap8c3kg0imlc Query : use flama_phc
20240823@142439.1954 gb1cat06mdn2ubap8c3kg0imlc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240823@142439.2008 gb1cat06mdn2ubap8c3kg0imlc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1648';
20240823@142439.2038 gb1cat06mdn2ubap8c3kg0imlc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1648';

20240825@204537.4405 6l6si35oeedshushb41ie83qrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1649';
20240825@204537.4474 6l6si35oeedshushb41ie83qrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1649';
20240825@204537.4506 6l6si35oeedshushb41ie83qrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1649';
20240825@204537.4559 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204537.4564 6l6si35oeedshushb41ie83qrd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204537.4679 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204537.4683 6l6si35oeedshushb41ie83qrd Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240825@204537.4800 6l6si35oeedshushb41ie83qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240825@204537.5004 6l6si35oeedshushb41ie83qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405487 and bi.ref ='324.600.94.01' and bi.lordem =1
20240825@204537.5434 6l6si35oeedshushb41ie83qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240825@204537.5621 6l6si35oeedshushb41ie83qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405487 and bi.ref ='324.2000.94.1' and bi.lordem =2
20240825@204537.6668 6l6si35oeedshushb41ie83qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240825@204537.6858 6l6si35oeedshushb41ie83qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405487 and bi.ref ='324.900.94.01' and bi.lordem =3
20240825@204537.7230 6l6si35oeedshushb41ie83qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240825@204537.7425 6l6si35oeedshushb41ie83qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405487 and bi.ref ='324.700.94.01' and bi.lordem =4
20240825@204537.7799 6l6si35oeedshushb41ie83qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240825@204537.7986 6l6si35oeedshushb41ie83qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405487 and bi.ref ='324.2200.94.1' and bi.lordem =5
20240825@204537.9617 6l6si35oeedshushb41ie83qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240825@204537.9646 6l6si35oeedshushb41ie83qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405487 and bi.ref ='324.2200.94.1' and bi.lordem =5
20240825@204538.4160 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.4230 6l6si35oeedshushb41ie83qrd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204538.6480 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.6520 6l6si35oeedshushb41ie83qrd Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204538.7760 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.7800 6l6si35oeedshushb41ie83qrd 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')
20240825@204538.8940 6l6si35oeedshushb41ie83qrd 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
20240825@204538.1102 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.1107 6l6si35oeedshushb41ie83qrd Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240825@204538.1289 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.1294 6l6si35oeedshushb41ie83qrd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204538.1427 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.1431 6l6si35oeedshushb41ie83qrd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204538.1527 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.1531 6l6si35oeedshushb41ie83qrd Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240825@204538.1582 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.1586 6l6si35oeedshushb41ie83qrd Query : select 1 valor from td where ndoc = 39
20240825@204538.1680 6l6si35oeedshushb41ie83qrd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204538.1778 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.2856 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204538.2947 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.2967 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204538.3001 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.3018 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204538.3034 6l6si35oeedshushb41ie83qrd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204538.3367 6l6si35oeedshushb41ie83qrd Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204538.3496 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.3517 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204538.3565 6l6si35oeedshushb41ie83qrd Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb89155066cb89e24a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204538.5356 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.5416 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204538.5467 6l6si35oeedshushb41ie83qrd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204538.5592 6l6si35oeedshushb41ie83qrd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204538.6316 6l6si35oeedshushb41ie83qrd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204538.6445 6l6si35oeedshushb41ie83qrd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204538.6549 6l6si35oeedshushb41ie83qrd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204538.6640 6l6si35oeedshushb41ie83qrd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204538.6725 6l6si35oeedshushb41ie83qrd Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb89155066cb89e24a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204538.7414 6l6si35oeedshushb41ie83qrd Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204538.7545 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.7570 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204538.7606 6l6si35oeedshushb41ie83qrd Query : select 'normal' from dummy
20240825@204538.7672 6l6si35oeedshushb41ie83qrd Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb89155066cb89e24a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',449,199800,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204538.9025 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204538.9029 6l6si35oeedshushb41ie83qrd Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240825@204538.9182 6l6si35oeedshushb41ie83qrd 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.600.94.01'
20240825@204538.9399 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.9417 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204538.9450 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.9468 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204538.9479 6l6si35oeedshushb41ie83qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204538.9528 6l6si35oeedshushb41ie83qrd Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240825@204538.9614 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.9637 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204538.9654 6l6si35oeedshushb41ie83qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb82544266cb89e2ea','aut66cb89155066cb89e24a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204538.9758 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204538.9783 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204538.9823 6l6si35oeedshushb41ie83qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb82544266cb89e2ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66cb89155066cb89e24a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204539.2212 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.2236 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.2272 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.2291 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.2302 6l6si35oeedshushb41ie83qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204539.2321 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.2346 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.2362 6l6si35oeedshushb41ie83qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86662866cb89e338','aut66cb89155066cb89e24a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204539.2369 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.2392 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.2431 6l6si35oeedshushb41ie83qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb86662866cb89e338',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb89155066cb89e24a' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204539.2836 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204539.2839 6l6si35oeedshushb41ie83qrd Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240825@204539.2865 6l6si35oeedshushb41ie83qrd 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.2000.94.1'
20240825@204539.3028 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.3046 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.3076 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.3095 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.3105 6l6si35oeedshushb41ie83qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204539.3119 6l6si35oeedshushb41ie83qrd Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240825@204539.3148 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.3165 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.3179 6l6si35oeedshushb41ie83qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88618666cb89e34c','aut66cb89155066cb89e24a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204539.3184 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.3202 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.3236 6l6si35oeedshushb41ie83qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88618666cb89e34c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66cb89155066cb89e24a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204539.3529 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204539.3533 6l6si35oeedshushb41ie83qrd Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240825@204539.3558 6l6si35oeedshushb41ie83qrd 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.900.94.01'
20240825@204539.4334 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.4354 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.4386 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.4404 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.4413 6l6si35oeedshushb41ie83qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204539.4429 6l6si35oeedshushb41ie83qrd Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240825@204539.4458 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.4476 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.4490 6l6si35oeedshushb41ie83qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81773666cb89e36c','aut66cb89155066cb89e24a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204539.4495 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.4511 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.4548 6l6si35oeedshushb41ie83qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb81773666cb89e36c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66cb89155066cb89e24a' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240825@204539.4839 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204539.4844 6l6si35oeedshushb41ie83qrd Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240825@204539.4870 6l6si35oeedshushb41ie83qrd 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.700.94.01'
20240825@204539.5044 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.5065 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.5097 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.5115 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.5125 6l6si35oeedshushb41ie83qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204539.5141 6l6si35oeedshushb41ie83qrd Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240825@204539.5158 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.5174 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.5188 6l6si35oeedshushb41ie83qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88229566cb89e37d','aut66cb89155066cb89e24a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204539.5193 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.5211 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.5247 6l6si35oeedshushb41ie83qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88229566cb89e37d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut66cb89155066cb89e24a' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240825@204539.5529 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204539.5533 6l6si35oeedshushb41ie83qrd Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240825@204539.5558 6l6si35oeedshushb41ie83qrd 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.2200.94.1'
20240825@204539.5723 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.5742 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.5771 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.5788 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.5800 6l6si35oeedshushb41ie83qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204539.5815 6l6si35oeedshushb41ie83qrd Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240825@204539.5832 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.5852 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.5865 6l6si35oeedshushb41ie83qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84337166cb89e38e','aut66cb89155066cb89e24a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204539.5871 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.5889 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.5921 6l6si35oeedshushb41ie83qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84337166cb89e38e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cb89155066cb89e24a' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240825@204539.6204 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204539.6209 6l6si35oeedshushb41ie83qrd Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240825@204539.6234 6l6si35oeedshushb41ie83qrd 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.2200.94.1'
20240825@204539.6252 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.6271 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.6303 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.6323 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.6334 6l6si35oeedshushb41ie83qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204539.6348 6l6si35oeedshushb41ie83qrd Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240825@204539.6364 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.6386 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204539.6402 6l6si35oeedshushb41ie83qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb87451166cb89e39b','aut66cb89155066cb89e24a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204539.6409 6l6si35oeedshushb41ie83qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204539.6430 6l6si35oeedshushb41ie83qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204539.6469 6l6si35oeedshushb41ie83qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb87451166cb89e39b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut66cb89155066cb89e24a' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240825@204539.6822 6l6si35oeedshushb41ie83qrd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb89155066cb89e24a','2405487','wait',39,'adm09112754980.682000002')
20240825@204539.6929 6l6si35oeedshushb41ie83qrd Query : use flama_phc
20240825@204539.6934 6l6si35oeedshushb41ie83qrd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204539.6966 6l6si35oeedshushb41ie83qrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1649';
20240825@204539.7000 6l6si35oeedshushb41ie83qrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1649';
20240825@204539.7048 6l6si35oeedshushb41ie83qrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1649';
20240825@204539.7080 6l6si35oeedshushb41ie83qrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1649';
20240825@204539.8541 4dn8k23lj8i0dtotivmfur49c3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204539.8552 4dn8k23lj8i0dtotivmfur49c3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204539.8612 4dn8k23lj8i0dtotivmfur49c3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1650';
20240825@204539.8674 4dn8k23lj8i0dtotivmfur49c3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1650';
20240825@204539.8733 4dn8k23lj8i0dtotivmfur49c3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1650';
20240825@204539.8762 4dn8k23lj8i0dtotivmfur49c3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1650';
20240825@204539.8813 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.8818 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204539.8894 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.8898 4dn8k23lj8i0dtotivmfur49c3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20240825@204539.8993 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240825@204539.9170 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405488 and bi.ref ='324.1461.00.1' and bi.lordem =1
20240825@204539.9507 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.9511 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204539.9549 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.9552 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204539.9587 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.9591 4dn8k23lj8i0dtotivmfur49c3 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')
20240825@204539.9623 4dn8k23lj8i0dtotivmfur49c3 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
20240825@204539.9664 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.9668 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 ~inactivo valor from cl where no = '100800' and estab = 0 order by inactivo desc
20240825@204539.9809 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.9813 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204539.9849 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.9853 4dn8k23lj8i0dtotivmfur49c3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204539.9898 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.9902 4dn8k23lj8i0dtotivmfur49c3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100800 - modelo continente hipermercados, sa'
20240825@204539.9957 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204539.9961 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from td where ndoc = 39
20240825@204539.9977 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204539.9994 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.1300 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204540.3700 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.5400 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204540.8900 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.1060 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204540.1210 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204540.1950 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204540.2100 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.2290 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204540.2480 4dn8k23lj8i0dtotivmfur49c3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb85251866cb89e402' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204540.4960 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.5180 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204540.5570 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204540.5730 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204540.5880 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204540.6030 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204540.6180 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204540.6340 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204540.6490 4dn8k23lj8i0dtotivmfur49c3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb85251866cb89e402',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204540.9160 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204540.9420 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.9630 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204540.9910 4dn8k23lj8i0dtotivmfur49c3 Query : select 'normal' from dummy
20240825@204540.1010 4dn8k23lj8i0dtotivmfur49c3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb85251866cb89e402',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',450,100800,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204540.1332 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204540.1336 4dn8k23lj8i0dtotivmfur49c3 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240825@204540.1363 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240825@204540.1532 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.1552 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204540.1582 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.1598 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204540.1608 4dn8k23lj8i0dtotivmfur49c3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204540.1623 4dn8k23lj8i0dtotivmfur49c3 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240825@204540.1674 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.1693 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204540.1709 4dn8k23lj8i0dtotivmfur49c3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85415566cb89e428','aut66cb85251866cb89e402' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204540.1715 4dn8k23lj8i0dtotivmfur49c3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.1733 4dn8k23lj8i0dtotivmfur49c3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204540.1765 4dn8k23lj8i0dtotivmfur49c3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb85415566cb89e428',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb85251866cb89e402' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204540.2049 4dn8k23lj8i0dtotivmfur49c3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb85251866cb89e402','2405488','wait',39,'adm09112754980.682000002')
20240825@204540.2125 4dn8k23lj8i0dtotivmfur49c3 Query : use flama_phc
20240825@204540.2130 4dn8k23lj8i0dtotivmfur49c3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204540.2162 4dn8k23lj8i0dtotivmfur49c3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1650';
20240825@204540.2197 4dn8k23lj8i0dtotivmfur49c3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1650';
20240825@204540.2239 4dn8k23lj8i0dtotivmfur49c3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1650';
20240825@204540.2270 4dn8k23lj8i0dtotivmfur49c3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1650';
20240825@204540.5357 2gk32f29ec243mc0e670n8t2qh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204540.5369 2gk32f29ec243mc0e670n8t2qh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204540.5422 2gk32f29ec243mc0e670n8t2qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1651';
20240825@204540.5484 2gk32f29ec243mc0e670n8t2qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1651';
20240825@204540.5535 2gk32f29ec243mc0e670n8t2qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1651';
20240825@204540.5560 2gk32f29ec243mc0e670n8t2qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1651';
20240825@204540.5605 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.5609 2gk32f29ec243mc0e670n8t2qh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204540.5672 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.5676 2gk32f29ec243mc0e670n8t2qh Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240825@204540.5773 2gk32f29ec243mc0e670n8t2qh 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'
20240825@204540.5993 2gk32f29ec243mc0e670n8t2qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405489 and bi.ref ='328.9326.00.1' and bi.lordem =1
20240825@204540.6403 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.6408 2gk32f29ec243mc0e670n8t2qh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204540.6451 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.6456 2gk32f29ec243mc0e670n8t2qh Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204540.6490 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.6493 2gk32f29ec243mc0e670n8t2qh 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')
20240825@204540.6528 2gk32f29ec243mc0e670n8t2qh 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
20240825@204540.6571 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.6575 2gk32f29ec243mc0e670n8t2qh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240825@204540.6776 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.6780 2gk32f29ec243mc0e670n8t2qh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204540.6816 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.6820 2gk32f29ec243mc0e670n8t2qh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204540.6867 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.6871 2gk32f29ec243mc0e670n8t2qh Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240825@204540.6929 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.6933 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from td where ndoc = 39
20240825@204540.6954 2gk32f29ec243mc0e670n8t2qh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204540.6971 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.6994 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204540.7019 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.7037 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204540.7077 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.7098 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204540.7155 2gk32f29ec243mc0e670n8t2qh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204540.7239 2gk32f29ec243mc0e670n8t2qh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204540.7257 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.7285 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204540.7308 2gk32f29ec243mc0e670n8t2qh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb88052466cb89e4ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204540.7592 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.7618 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204540.7659 2gk32f29ec243mc0e670n8t2qh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204540.7674 2gk32f29ec243mc0e670n8t2qh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204540.7689 2gk32f29ec243mc0e670n8t2qh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204540.7702 2gk32f29ec243mc0e670n8t2qh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204540.7716 2gk32f29ec243mc0e670n8t2qh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204540.7729 2gk32f29ec243mc0e670n8t2qh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204540.7742 2gk32f29ec243mc0e670n8t2qh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb88052466cb89e4ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204540.8116 2gk32f29ec243mc0e670n8t2qh Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204540.8144 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.8170 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204540.8205 2gk32f29ec243mc0e670n8t2qh Query : select 'normal' from dummy
20240825@204540.8226 2gk32f29ec243mc0e670n8t2qh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb88052466cb89e4ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',451,100810,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204540.8670 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204540.8678 2gk32f29ec243mc0e670n8t2qh Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20240825@204540.8707 2gk32f29ec243mc0e670n8t2qh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20240825@204540.8938 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.8962 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204540.8996 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.9016 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204540.9027 2gk32f29ec243mc0e670n8t2qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204540.9044 2gk32f29ec243mc0e670n8t2qh Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20240825@204540.9074 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.9093 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204540.9109 2gk32f29ec243mc0e670n8t2qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb89663666cb89e4dd','aut66cb88052466cb89e4ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204540.9121 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.9142 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204540.9181 2gk32f29ec243mc0e670n8t2qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb89663666cb89e4dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb88052466cb89e4ae' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204540.9616 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.9641 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204540.9681 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.9701 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204540.9713 2gk32f29ec243mc0e670n8t2qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204540.9729 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.9748 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204540.9763 2gk32f29ec243mc0e670n8t2qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83130566cb89e4ed','aut66cb88052466cb89e4ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204540.9770 2gk32f29ec243mc0e670n8t2qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204540.9792 2gk32f29ec243mc0e670n8t2qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204540.9833 2gk32f29ec243mc0e670n8t2qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb83130566cb89e4ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb88052466cb89e4ae' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204541.2380 2gk32f29ec243mc0e670n8t2qh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb88052466cb89e4ae','2405489','wait',39,'adm09112754980.682000002')
20240825@204541.3220 2gk32f29ec243mc0e670n8t2qh Query : use flama_phc
20240825@204541.3260 2gk32f29ec243mc0e670n8t2qh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204541.3600 2gk32f29ec243mc0e670n8t2qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1651';
20240825@204541.3940 2gk32f29ec243mc0e670n8t2qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1651';
20240825@204541.4390 2gk32f29ec243mc0e670n8t2qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1651';
20240825@204541.4690 2gk32f29ec243mc0e670n8t2qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1651';
20240825@204541.2009 7j8khmoel58ihokrq64nvkj78c Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204541.2025 7j8khmoel58ihokrq64nvkj78c Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204541.2086 7j8khmoel58ihokrq64nvkj78c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1652';
20240825@204541.2165 7j8khmoel58ihokrq64nvkj78c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1652';
20240825@204541.2224 7j8khmoel58ihokrq64nvkj78c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1652';
20240825@204541.2259 7j8khmoel58ihokrq64nvkj78c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1652';
20240825@204541.2317 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.2322 7j8khmoel58ihokrq64nvkj78c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204541.2399 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.2404 7j8khmoel58ihokrq64nvkj78c Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20240825@204541.2532 7j8khmoel58ihokrq64nvkj78c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1675.3015'
20240825@204541.2761 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405512 and bi.ref ='325.1675.3015' and bi.lordem =1
20240825@204541.3133 7j8khmoel58ihokrq64nvkj78c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240825@204541.3338 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405512 and bi.ref ='324.4723.00.2' and bi.lordem =2
20240825@204541.3738 7j8khmoel58ihokrq64nvkj78c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240825@204541.3922 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405512 and bi.ref ='324.4521.00.1' and bi.lordem =3
20240825@204541.4413 7j8khmoel58ihokrq64nvkj78c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240825@204541.4633 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405512 and bi.ref ='324.958.00.01' and bi.lordem =4
20240825@204541.5108 7j8khmoel58ihokrq64nvkj78c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20240825@204541.5320 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405512 and bi.ref ='328.9316.00.1' and bi.lordem =5
20240825@204541.5910 7j8khmoel58ihokrq64nvkj78c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20240825@204541.5936 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405512 and bi.ref ='328.9316.00.1' and bi.lordem =5
20240825@204541.5955 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.5959 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204541.5993 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.5997 7j8khmoel58ihokrq64nvkj78c Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204541.6030 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.6033 7j8khmoel58ihokrq64nvkj78c 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')
20240825@204541.6063 7j8khmoel58ihokrq64nvkj78c 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
20240825@204541.6102 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.6105 7j8khmoel58ihokrq64nvkj78c Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20240825@204541.6247 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.6250 7j8khmoel58ihokrq64nvkj78c Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204541.6284 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.6288 7j8khmoel58ihokrq64nvkj78c Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204541.6332 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.6335 7j8khmoel58ihokrq64nvkj78c Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20240825@204541.6390 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.6394 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from td where ndoc = 39
20240825@204541.6409 7j8khmoel58ihokrq64nvkj78c Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204541.6427 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.6446 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204541.6469 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.6486 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204541.6519 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.6536 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204541.6551 7j8khmoel58ihokrq64nvkj78c Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204541.6657 7j8khmoel58ihokrq64nvkj78c Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204541.6674 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.6694 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204541.6712 7j8khmoel58ihokrq64nvkj78c Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204541.6910 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.6933 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204541.6974 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204541.6989 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204541.7005 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204541.7020 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204541.7034 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204541.7049 7j8khmoel58ihokrq64nvkj78c Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204541.7065 7j8khmoel58ihokrq64nvkj78c Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb89871566cb89e59f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204541.7342 7j8khmoel58ihokrq64nvkj78c Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204541.7364 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.7387 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204541.7414 7j8khmoel58ihokrq64nvkj78c Query : select 'normal' from dummy
20240825@204541.7436 7j8khmoel58ihokrq64nvkj78c Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb89871566cb89e59f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',452,100080,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204541.7823 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.7827 7j8khmoel58ihokrq64nvkj78c Query : select st.usalote valor from st where st.ref = '325.1675.3015'
20240825@204541.7856 7j8khmoel58ihokrq64nvkj78c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1675.3015'
20240825@204541.8029 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.8050 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204541.8085 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.8101 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204541.8113 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204541.8127 7j8khmoel58ihokrq64nvkj78c Query : select sestamp valor from se where ref ='325.1675.3015' and lote = '801'
20240825@204541.8177 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.8195 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204541.8209 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83806666cb89e5c7','aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204541.8214 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.8233 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204541.8269 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb83806666cb89e5c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66cb89871566cb89e59f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204541.8582 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.8587 7j8khmoel58ihokrq64nvkj78c Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20240825@204541.8613 7j8khmoel58ihokrq64nvkj78c 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.4723.00.2'
20240825@204541.8813 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.8834 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204541.8866 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.8883 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204541.8894 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204541.8909 7j8khmoel58ihokrq64nvkj78c Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2200682200a'
20240825@204541.9022 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.9041 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204541.9056 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81577166cb89e5dc','aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204541.9062 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.9081 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204541.9114 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb81577166cb89e5dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut66cb89871566cb89e59f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240825@204541.9430 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204541.9434 7j8khmoel58ihokrq64nvkj78c Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240825@204541.9461 7j8khmoel58ihokrq64nvkj78c 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.4521.00.1'
20240825@204541.9647 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.9669 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204541.9704 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.9722 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204541.9734 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204541.9753 7j8khmoel58ihokrq64nvkj78c Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240825@204541.9778 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.9796 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204541.9811 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb89099966cb89e5ee','aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204541.9815 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204541.9833 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204541.9869 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb89099966cb89e5ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cb89871566cb89e59f' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240825@204542.1870 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204542.1920 7j8khmoel58ihokrq64nvkj78c Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240825@204542.2180 7j8khmoel58ihokrq64nvkj78c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240825@204542.3900 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.4090 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.4390 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.4570 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.4680 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204542.4840 7j8khmoel58ihokrq64nvkj78c Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240825@204542.5120 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.5300 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.5450 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb87225166cb89e60c','aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204542.5500 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.5690 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.6090 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb87225166cb89e60c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cb89871566cb89e59f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204542.9250 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204542.9290 7j8khmoel58ihokrq64nvkj78c Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240825@204542.9530 7j8khmoel58ihokrq64nvkj78c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20240825@204542.1156 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.1174 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.1206 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.1226 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.1236 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204542.1251 7j8khmoel58ihokrq64nvkj78c Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240825@204542.1284 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.1301 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.1316 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84422866cb89e61f','aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204542.1321 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.1340 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.1375 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84422866cb89e61f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb89871566cb89e59f' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240825@204542.1674 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.1697 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.1728 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.1745 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.1757 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204542.1773 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.1791 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.1805 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88741666cb89e62b','aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204542.1812 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.1829 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.1865 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb88741666cb89e62b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb89871566cb89e59f' ,0,0 ,2,23.00,60000,?,?,?)
20240825@204542.2160 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204542.2164 7j8khmoel58ihokrq64nvkj78c Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240825@204542.2312 7j8khmoel58ihokrq64nvkj78c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20240825@204542.2329 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.2350 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.2380 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.2398 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.2409 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204542.2423 7j8khmoel58ihokrq64nvkj78c Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240825@204542.2446 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.2465 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.2479 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84721566cb89e63b','aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204542.2485 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.2502 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.2540 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84721566cb89e63b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb89871566cb89e59f' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240825@204542.2844 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.2864 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.2894 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.2911 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.2921 7j8khmoel58ihokrq64nvkj78c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204542.2936 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.2953 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.2966 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84131166cb89e647','aut66cb89871566cb89e59f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204542.2973 7j8khmoel58ihokrq64nvkj78c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.2992 7j8khmoel58ihokrq64nvkj78c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.3025 7j8khmoel58ihokrq64nvkj78c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb84131166cb89e647',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb89871566cb89e59f' ,0,0 ,2,23.00,90000,?,?,?)
20240825@204542.3335 7j8khmoel58ihokrq64nvkj78c Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb89871566cb89e59f','2405512','wait',39,'adm09112754980.682000002')
20240825@204542.3422 7j8khmoel58ihokrq64nvkj78c Query : use flama_phc
20240825@204542.3429 7j8khmoel58ihokrq64nvkj78c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204542.3463 7j8khmoel58ihokrq64nvkj78c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1652';
20240825@204542.3493 7j8khmoel58ihokrq64nvkj78c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1652';
20240825@204542.3539 7j8khmoel58ihokrq64nvkj78c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1652';
20240825@204542.3566 7j8khmoel58ihokrq64nvkj78c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1652';
20240825@204542.4118 8dkqenbv3qogrh8592pc3dktgu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204542.4133 8dkqenbv3qogrh8592pc3dktgu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204542.4196 8dkqenbv3qogrh8592pc3dktgu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1653';
20240825@204542.4256 8dkqenbv3qogrh8592pc3dktgu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1653';
20240825@204542.4312 8dkqenbv3qogrh8592pc3dktgu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1653';
20240825@204542.4340 8dkqenbv3qogrh8592pc3dktgu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1653';
20240825@204542.4395 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.4400 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204542.4471 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.4475 8dkqenbv3qogrh8592pc3dktgu Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20240825@204542.4571 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20240825@204542.4756 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405514 and bi.ref ='324.719.00.01' and bi.lordem =1
20240825@204542.5109 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240825@204542.5303 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405514 and bi.ref ='324.736.00.01' and bi.lordem =2
20240825@204542.5673 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.5677 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204542.5719 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.5723 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204542.5757 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.5760 8dkqenbv3qogrh8592pc3dktgu 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')
20240825@204542.5793 8dkqenbv3qogrh8592pc3dktgu 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
20240825@204542.6012 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.6016 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 ~inactivo valor from cl where no = '102145' and estab = 0 order by inactivo desc
20240825@204542.6191 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.6195 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204542.6232 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.6235 8dkqenbv3qogrh8592pc3dktgu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204542.6280 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.6284 8dkqenbv3qogrh8592pc3dktgu Query : select szadrsstamp valor from szadrs where szadrsdesc='paulo jorge almeida gomes unip.,lda.-entrega'
20240825@204542.6335 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.6339 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from td where ndoc = 39
20240825@204542.6353 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204542.6371 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.6391 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204542.6413 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.6430 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204542.6462 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.6480 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204542.6497 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204542.6569 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204542.6586 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.6604 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204542.6622 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb82736966cb89e69e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204542.6820 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.6840 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204542.6880 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204542.6896 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204542.6911 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204542.6926 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204542.6940 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204542.6954 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204542.6967 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb82736966cb89e69e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204542.7247 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204542.7269 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.7288 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204542.7314 8dkqenbv3qogrh8592pc3dktgu Query : select 'normal' from dummy
20240825@204542.7332 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb82736966cb89e69e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',453,102145,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204542.7663 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.7667 8dkqenbv3qogrh8592pc3dktgu Query : select st.usalote valor from st where st.ref = '324.719.00.01'
20240825@204542.7693 8dkqenbv3qogrh8592pc3dktgu 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.719.00.01'
20240825@204542.7867 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.7887 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.7919 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.7937 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.7947 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204542.7963 8dkqenbv3qogrh8592pc3dktgu Query : select sestamp valor from se where ref ='324.719.00.01' and lote = 'r2300383300a'
20240825@204542.7999 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.8017 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.8032 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85862866cb89e6c3','aut66cb82736966cb89e69e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204542.8037 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.8054 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.8087 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb85862866cb89e6c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66cb82736966cb89e69e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204542.8381 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.8400 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.8434 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.8450 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.8460 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204542.8473 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.8489 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.8503 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86434766cb89e6ce','aut66cb82736966cb89e69e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204542.8509 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.8529 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.8565 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb86434766cb89e6ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb82736966cb89e69e' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204542.8855 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.8860 8dkqenbv3qogrh8592pc3dktgu Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240825@204542.8888 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240825@204542.9060 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.9079 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.9108 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.9124 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.9134 8dkqenbv3qogrh8592pc3dktgu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204542.9148 8dkqenbv3qogrh8592pc3dktgu Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20240825@204542.9167 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.9185 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204542.9199 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88855066cb89e6df','aut66cb82736966cb89e69e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204542.9204 8dkqenbv3qogrh8592pc3dktgu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204542.9224 8dkqenbv3qogrh8592pc3dktgu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204542.9258 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88855066cb89e6df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cb82736966cb89e69e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204542.9579 8dkqenbv3qogrh8592pc3dktgu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb82736966cb89e69e','2405514','wait',39,'adm09112754980.682000002')
20240825@204542.9661 8dkqenbv3qogrh8592pc3dktgu Query : use flama_phc
20240825@204542.9666 8dkqenbv3qogrh8592pc3dktgu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204542.9699 8dkqenbv3qogrh8592pc3dktgu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1653';
20240825@204542.9733 8dkqenbv3qogrh8592pc3dktgu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1653';
20240825@204543.1164 8dkqenbv3qogrh8592pc3dktgu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1653';
20240825@204543.1205 8dkqenbv3qogrh8592pc3dktgu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1653';
20240825@204543.1774 s7djprl6fful8tlh7j8adngav5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204543.1786 s7djprl6fful8tlh7j8adngav5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204543.1851 s7djprl6fful8tlh7j8adngav5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1654';
20240825@204543.1934 s7djprl6fful8tlh7j8adngav5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1654';
20240825@204543.1994 s7djprl6fful8tlh7j8adngav5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1654';
20240825@204543.2038 s7djprl6fful8tlh7j8adngav5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1654';
20240825@204543.2094 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.2098 s7djprl6fful8tlh7j8adngav5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204543.2167 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.2171 s7djprl6fful8tlh7j8adngav5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20240825@204543.2304 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240825@204543.2491 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.4421.00.1' and bi.lordem =1
20240825@204543.2844 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1896.00.1'
20240825@204543.3022 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.1896.00.1' and bi.lordem =3
20240825@204543.3385 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240825@204543.3569 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.1675.00.2' and bi.lordem =4
20240825@204543.3928 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240825@204543.3955 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.1675.00.2' and bi.lordem =4
20240825@204543.3974 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240825@204543.3997 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.1675.00.2' and bi.lordem =5
20240825@204543.4371 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240825@204543.4556 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.692.00.01' and bi.lordem =6
20240825@204543.4939 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240825@204543.4964 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.692.00.01' and bi.lordem =7
20240825@204543.5337 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240825@204543.6803 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.675.00.01' and bi.lordem =8
20240825@204543.7226 s7djprl6fful8tlh7j8adngav5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240825@204543.7430 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405515 and bi.ref ='324.5501.00.1' and bi.lordem =9
20240825@204543.7822 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.7827 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204543.7864 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.7868 s7djprl6fful8tlh7j8adngav5 Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204543.7902 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.7906 s7djprl6fful8tlh7j8adngav5 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')
20240825@204543.7942 s7djprl6fful8tlh7j8adngav5 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
20240825@204543.7988 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.7993 s7djprl6fful8tlh7j8adngav5 Query : select top 1 ~inactivo valor from cl where no = '100404' and estab = 0 order by inactivo desc
20240825@204543.8140 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.8144 s7djprl6fful8tlh7j8adngav5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204543.8182 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.8186 s7djprl6fful8tlh7j8adngav5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204543.8232 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.8235 s7djprl6fful8tlh7j8adngav5 Query : select szadrsstamp valor from szadrs where szadrsdesc='bitranlis, agentes transitára'
20240825@204543.8296 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.8300 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from td where ndoc = 39
20240825@204543.8318 s7djprl6fful8tlh7j8adngav5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204543.8337 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204543.8361 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204543.8386 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204543.8408 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204543.8449 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204543.8466 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204543.8480 s7djprl6fful8tlh7j8adngav5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204543.8552 s7djprl6fful8tlh7j8adngav5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204543.8566 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204543.8584 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204543.8602 s7djprl6fful8tlh7j8adngav5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204543.8799 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204543.8820 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204543.8864 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204543.8880 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204543.8896 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204543.8909 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204543.8925 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204543.8939 s7djprl6fful8tlh7j8adngav5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204543.8954 s7djprl6fful8tlh7j8adngav5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb89602966cb89e7cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204543.9248 s7djprl6fful8tlh7j8adngav5 Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204543.9272 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204543.9296 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204543.9331 s7djprl6fful8tlh7j8adngav5 Query : select 'normal' from dummy
20240825@204543.9353 s7djprl6fful8tlh7j8adngav5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb89602966cb89e7cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',454,100404,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204543.9800 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204543.9805 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240825@204543.9837 s7djprl6fful8tlh7j8adngav5 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.4421.00.1'
20240825@204544.9800 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1230 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.1590 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1790 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.1920 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.2090 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2100324100a'
20240825@204544.2570 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.2810 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.2970 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88168166cb89e806','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.3030 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.3230 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.3630 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88168166cb89e806',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204544.7780 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204544.7830 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.1896.00.1'
20240825@204544.8080 s7djprl6fful8tlh7j8adngav5 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.1896.00.1'
20240825@204544.9880 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1008 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.1038 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1056 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.1066 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.1081 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.1896.00.1' and lote = 'r2101190100a'
20240825@204544.1115 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1133 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.1148 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88686466cb89e81b','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.1153 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1169 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.1205 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88686466cb89e81b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240825@204544.1495 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204544.1499 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20240825@204544.1527 s7djprl6fful8tlh7j8adngav5 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.1675.00.2'
20240825@204544.1705 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1724 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.1755 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1774 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.1785 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.1801 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20240825@204544.1838 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1859 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.1873 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86729566cb89e82c','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.1880 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.1898 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.1934 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb86729566cb89e82c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240825@204544.2566 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204544.2781 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20240825@204544.3579 s7djprl6fful8tlh7j8adngav5 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.1675.00.2'
20240825@204544.3601 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.3625 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.3660 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.3678 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.3688 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.3705 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20240825@204544.3726 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.3748 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.3764 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83388466cb89e85a','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.3771 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.3792 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.3830 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb83388466cb89e85a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204544.4231 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204544.4235 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20240825@204544.4269 s7djprl6fful8tlh7j8adngav5 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.1675.00.2'
20240825@204544.4289 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.4312 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.4347 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.4368 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.4378 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.4394 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20240825@204544.4409 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.4426 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.4443 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81423166cb89e86b','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.4450 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.4471 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.4507 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb81423166cb89e86b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240825@204544.4809 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204544.4814 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240825@204544.4841 s7djprl6fful8tlh7j8adngav5 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.692.00.01'
20240825@204544.5012 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.5032 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.5066 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.5083 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.5093 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.5107 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240825@204544.5131 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.5150 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.5165 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb89751066cb89e87d','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.5170 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.5188 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.5221 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb89751066cb89e87d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240825@204544.5521 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.5542 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.5574 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.5590 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.5601 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.5615 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.5633 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.5647 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81419066cb89e889','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.5653 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.5670 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.5705 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb81419066cb89e889',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,70000,?,?,?)
20240825@204544.6030 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204544.6034 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240825@204544.6061 s7djprl6fful8tlh7j8adngav5 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.692.00.01'
20240825@204544.6086 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.6106 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.6140 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.6158 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.6168 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.6188 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240825@204544.6204 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.6222 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.6238 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84836466cb89e897','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.6245 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.6264 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.6298 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84836466cb89e897',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240825@204544.6807 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.6833 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.6873 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.6892 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.6903 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.6918 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.6936 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.6951 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84668566cb89e8a8','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.6958 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.6978 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.7014 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb84668566cb89e8a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,100000,?,?,?)
20240825@204544.7316 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204544.7321 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240825@204544.8537 s7djprl6fful8tlh7j8adngav5 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.675.00.01'
20240825@204544.8710 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.8731 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.8762 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.8780 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.8791 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.8808 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240825@204544.8834 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.8853 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.8867 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83754766cb89e8d7','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.8873 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.8892 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.8925 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb83754766cb89e8d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240825@204544.9274 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.9296 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.9329 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.9348 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.9359 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204544.9376 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.9396 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204544.9412 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84293866cb89e8e4','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204544.9418 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204544.9437 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204544.9472 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb84293866cb89e8e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,130000,?,?,?)
20240825@204544.9807 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204544.9811 s7djprl6fful8tlh7j8adngav5 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240825@204544.9835 s7djprl6fful8tlh7j8adngav5 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.5501.00.1'
20240825@204544.9998 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.1900 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204545.5300 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.6900 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204545.8000 s7djprl6fful8tlh7j8adngav5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204545.9600 s7djprl6fful8tlh7j8adngav5 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240825@204545.1140 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.1310 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204545.1450 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88280666cb89e902','aut66cb89602966cb89e7cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204545.1500 s7djprl6fful8tlh7j8adngav5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.1690 s7djprl6fful8tlh7j8adngav5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204545.2080 s7djprl6fful8tlh7j8adngav5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88280666cb89e902',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66cb89602966cb89e7cf' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240825@204545.5210 s7djprl6fful8tlh7j8adngav5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb89602966cb89e7cf','2405515','wait',39,'adm09112754980.682000002')
20240825@204545.6030 s7djprl6fful8tlh7j8adngav5 Query : use flama_phc
20240825@204545.6070 s7djprl6fful8tlh7j8adngav5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204545.6410 s7djprl6fful8tlh7j8adngav5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1654';
20240825@204545.6770 s7djprl6fful8tlh7j8adngav5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1654';
20240825@204545.7240 s7djprl6fful8tlh7j8adngav5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1654';
20240825@204545.7560 s7djprl6fful8tlh7j8adngav5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1654';
20240825@204545.1336 hn21nkgp6m6k4noutqu2ui3lke Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204545.1349 hn21nkgp6m6k4noutqu2ui3lke Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204545.1409 hn21nkgp6m6k4noutqu2ui3lke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1655';
20240825@204545.1478 hn21nkgp6m6k4noutqu2ui3lke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1655';
20240825@204545.1537 hn21nkgp6m6k4noutqu2ui3lke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1655';
20240825@204545.1564 hn21nkgp6m6k4noutqu2ui3lke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1655';
20240825@204545.1614 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.1619 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204545.1690 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.1695 hn21nkgp6m6k4noutqu2ui3lke Query : select no, estab,szadrsdesc from szadrs where u_coddest=803
20240825@204545.1795 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20240825@204545.2023 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405516 and bi.ref ='324.642.00.01' and bi.lordem =1
20240825@204545.2483 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20240825@204545.2509 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405516 and bi.ref ='324.642.00.01' and bi.lordem =1
20240825@204545.2529 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.2533 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204545.2570 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.2574 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204545.2611 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.2614 hn21nkgp6m6k4noutqu2ui3lke 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')
20240825@204545.2649 hn21nkgp6m6k4noutqu2ui3lke 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
20240825@204545.2697 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.2702 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 ~inactivo valor from cl where no = '101349' and estab = 0 order by inactivo desc
20240825@204545.2847 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.2852 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204545.2890 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.2893 hn21nkgp6m6k4noutqu2ui3lke Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204545.2941 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.2945 hn21nkgp6m6k4noutqu2ui3lke Query : select szadrsstamp valor from szadrs where szadrsdesc='telerocha-gaz,mÓveis e electrod, lda.'
20240825@204545.3013 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.3017 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from td where ndoc = 39
20240825@204545.3032 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204545.3051 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.3072 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204545.3107 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.3131 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204545.3167 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.3186 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204545.3203 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204545.3277 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204545.3292 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.3310 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204545.3329 hn21nkgp6m6k4noutqu2ui3lke Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb89693466cb89e94e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204545.3542 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.4780 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204545.4824 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204545.4841 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204545.4857 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204545.4873 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204545.4889 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204545.4902 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204545.4918 hn21nkgp6m6k4noutqu2ui3lke Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb89693466cb89e94e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204545.5214 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204545.5238 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.5258 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204545.5287 hn21nkgp6m6k4noutqu2ui3lke Query : select 'normal' from dummy
20240825@204545.5305 hn21nkgp6m6k4noutqu2ui3lke Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb89693466cb89e94e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',455,101349,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204545.5694 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.5699 hn21nkgp6m6k4noutqu2ui3lke Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20240825@204545.5730 hn21nkgp6m6k4noutqu2ui3lke 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.642.00.01'
20240825@204545.5900 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.5919 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204545.5954 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.5971 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204545.5981 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204545.5996 hn21nkgp6m6k4noutqu2ui3lke Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20240825@204545.6022 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.6041 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204545.6056 hn21nkgp6m6k4noutqu2ui3lke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb82283466cb89e993','aut66cb89693466cb89e94e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204545.6061 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.6078 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204545.6113 hn21nkgp6m6k4noutqu2ui3lke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb82283466cb89e993',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cb89693466cb89e94e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204545.6400 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.6404 hn21nkgp6m6k4noutqu2ui3lke Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20240825@204545.6427 hn21nkgp6m6k4noutqu2ui3lke 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.642.00.01'
20240825@204545.6444 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.6464 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204545.6499 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.6515 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204545.6526 hn21nkgp6m6k4noutqu2ui3lke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204545.6541 hn21nkgp6m6k4noutqu2ui3lke Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20240825@204545.6556 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.6573 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204545.6587 hn21nkgp6m6k4noutqu2ui3lke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81161166cb89e9a0','aut66cb89693466cb89e94e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204545.6592 hn21nkgp6m6k4noutqu2ui3lke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204545.6609 hn21nkgp6m6k4noutqu2ui3lke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204545.6641 hn21nkgp6m6k4noutqu2ui3lke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb81161166cb89e9a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cb89693466cb89e94e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240825@204545.7048 hn21nkgp6m6k4noutqu2ui3lke Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb89693466cb89e94e','2405516','wait',39,'adm09112754980.682000002')
20240825@204545.7189 hn21nkgp6m6k4noutqu2ui3lke Query : use flama_phc
20240825@204545.7194 hn21nkgp6m6k4noutqu2ui3lke Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204545.7229 hn21nkgp6m6k4noutqu2ui3lke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1655';
20240825@204545.7260 hn21nkgp6m6k4noutqu2ui3lke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1655';
20240825@204545.7304 hn21nkgp6m6k4noutqu2ui3lke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1655';
20240825@204545.7329 hn21nkgp6m6k4noutqu2ui3lke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1655';
20240825@204545.7925 lkvdac6kgma8alcat02i9biqtk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204545.7940 lkvdac6kgma8alcat02i9biqtk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204545.7996 lkvdac6kgma8alcat02i9biqtk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1656';
20240825@204545.8061 lkvdac6kgma8alcat02i9biqtk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1656';
20240825@204545.8120 lkvdac6kgma8alcat02i9biqtk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1656';
20240825@204545.8151 lkvdac6kgma8alcat02i9biqtk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1656';
20240825@204545.8203 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204545.8207 lkvdac6kgma8alcat02i9biqtk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204545.8284 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204545.8289 lkvdac6kgma8alcat02i9biqtk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240825@204545.8426 lkvdac6kgma8alcat02i9biqtk 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'
20240825@204545.8651 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405520 and bi.ref ='324.5396.00.1' and bi.lordem =1
20240825@204545.9144 lkvdac6kgma8alcat02i9biqtk 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'
20240825@204545.9175 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405520 and bi.ref ='324.5396.00.1' and bi.lordem =1
20240825@204545.9196 lkvdac6kgma8alcat02i9biqtk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240825@204545.9442 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405520 and bi.ref ='324.5347.00.1' and bi.lordem =2
20240825@204545.9933 lkvdac6kgma8alcat02i9biqtk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240825@204545.9959 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405520 and bi.ref ='324.5347.00.1' and bi.lordem =2
20240825@204545.9978 lkvdac6kgma8alcat02i9biqtk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240825@204546.2060 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405520 and bi.ref ='324.5540.00.1' and bi.lordem =3
20240825@204546.5930 lkvdac6kgma8alcat02i9biqtk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240825@204546.6180 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405520 and bi.ref ='324.5540.00.1' and bi.lordem =3
20240825@204546.6420 lkvdac6kgma8alcat02i9biqtk 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'
20240825@204546.8680 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405520 and bi.ref ='324.5342.00.1' and bi.lordem =4
20240825@204546.2538 lkvdac6kgma8alcat02i9biqtk 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'
20240825@204546.2754 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405520 and bi.ref ='324.5500.00.1' and bi.lordem =5
20240825@204546.3180 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.3184 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204546.3223 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.3227 lkvdac6kgma8alcat02i9biqtk Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204546.3263 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.3267 lkvdac6kgma8alcat02i9biqtk 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')
20240825@204546.3304 lkvdac6kgma8alcat02i9biqtk 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
20240825@204546.3345 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.3348 lkvdac6kgma8alcat02i9biqtk Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240825@204546.3383 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.3386 lkvdac6kgma8alcat02i9biqtk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204546.3420 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.3426 lkvdac6kgma8alcat02i9biqtk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204546.3470 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.3473 lkvdac6kgma8alcat02i9biqtk Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240825@204546.3554 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.3558 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from td where ndoc = 39
20240825@204546.3573 lkvdac6kgma8alcat02i9biqtk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204546.3589 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.3610 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204546.3638 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.3656 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204546.3692 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.3710 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204546.3725 lkvdac6kgma8alcat02i9biqtk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204546.3803 lkvdac6kgma8alcat02i9biqtk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204546.3819 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.3839 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204546.3863 lkvdac6kgma8alcat02i9biqtk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204546.4061 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.4086 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204546.4153 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204546.4169 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204546.4186 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204546.4199 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204546.4213 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204546.4227 lkvdac6kgma8alcat02i9biqtk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204546.4244 lkvdac6kgma8alcat02i9biqtk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb88341366cb89ea5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204546.4527 lkvdac6kgma8alcat02i9biqtk Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204546.4550 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.4571 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204546.4602 lkvdac6kgma8alcat02i9biqtk Query : select 'normal' from dummy
20240825@204546.4623 lkvdac6kgma8alcat02i9biqtk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb88341366cb89ea5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',456,100810,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204546.4964 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.4969 lkvdac6kgma8alcat02i9biqtk Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240825@204546.4997 lkvdac6kgma8alcat02i9biqtk 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'
20240825@204546.5168 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.5187 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.5218 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.5238 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.5248 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204546.5263 lkvdac6kgma8alcat02i9biqtk Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240825@204546.5292 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.5310 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.5325 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83138666cb89ea81','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204546.5331 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.5349 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.5387 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb83138666cb89ea81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204546.5710 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.5731 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.5769 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.5787 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.5799 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204546.5817 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.5839 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.5854 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb87505466cb89ea8e','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204546.5861 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.5883 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.5921 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb87505466cb89ea8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204546.6267 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.6271 lkvdac6kgma8alcat02i9biqtk Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240825@204546.6295 lkvdac6kgma8alcat02i9biqtk 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'
20240825@204546.6313 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.6331 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.6366 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.6384 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.6394 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204546.6410 lkvdac6kgma8alcat02i9biqtk Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240825@204546.6425 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.6442 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.6456 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81649566cb89ea9c','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204546.6462 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.6481 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.6518 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb81649566cb89ea9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204546.6821 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.6842 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.6871 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.6888 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.6899 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204546.6913 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.6929 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.6942 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86064066cb89eaa8','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204546.6948 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.6965 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.6999 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb86064066cb89eaa8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,50000,?,?,?)
20240825@204546.7563 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204546.7568 lkvdac6kgma8alcat02i9biqtk Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240825@204546.9182 lkvdac6kgma8alcat02i9biqtk 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.5347.00.1'
20240825@204546.9357 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.9462 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.9502 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.9525 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.9538 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204546.9558 lkvdac6kgma8alcat02i9biqtk Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240825@204546.9580 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.9602 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204546.9619 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86176866cb89eae9','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204546.9627 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204546.9649 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204546.9688 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb86176866cb89eae9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240825@204547.7300 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.9900 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.1350 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.1590 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.1720 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204547.1890 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.2080 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.2240 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb80054466cb89eb04','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204547.2330 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.2560 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.2980 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb80054466cb89eb04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,80000,?,?,?)
20240825@204547.6810 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204547.6860 lkvdac6kgma8alcat02i9biqtk Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240825@204547.7120 lkvdac6kgma8alcat02i9biqtk 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.5347.00.1'
20240825@204547.7280 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.7460 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.7740 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.7910 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.8020 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204547.8150 lkvdac6kgma8alcat02i9biqtk Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240825@204547.8290 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.8480 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.8630 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81359666cb89eb14','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204547.8690 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.8870 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.9210 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb81359666cb89eb14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',192.000 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240825@204547.1217 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.1239 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.1280 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.1298 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.1308 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204547.1322 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.1340 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.1354 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb89998966cb89eb20','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204547.1360 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.1380 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.1416 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb89998966cb89eb20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,110000,?,?,?)
20240825@204547.1694 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204547.1698 lkvdac6kgma8alcat02i9biqtk Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240825@204547.1725 lkvdac6kgma8alcat02i9biqtk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240825@204547.1893 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.1914 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.1949 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.1966 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.1977 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204547.1993 lkvdac6kgma8alcat02i9biqtk Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240825@204547.2018 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.2037 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.2051 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85934466cb89eb31','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204547.2064 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.2082 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.2118 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb85934466cb89eb31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240825@204547.2458 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204547.2463 lkvdac6kgma8alcat02i9biqtk Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240825@204547.2489 lkvdac6kgma8alcat02i9biqtk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240825@204547.2508 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.2532 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.2569 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.2592 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.2604 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204547.2621 lkvdac6kgma8alcat02i9biqtk Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240825@204547.2643 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.2665 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.2682 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84635266cb89eb40','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204547.2688 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.2704 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.2738 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84635266cb89eb40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20240825@204547.3109 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204547.3114 lkvdac6kgma8alcat02i9biqtk Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20240825@204547.3146 lkvdac6kgma8alcat02i9biqtk 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'
20240825@204547.3404 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.3430 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.3466 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.3486 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.3499 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204547.3519 lkvdac6kgma8alcat02i9biqtk Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20240825@204547.3557 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.3580 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.3597 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88070466cb89eb56','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204547.3604 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.3626 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.3669 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88070466cb89eb56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240825@204547.4103 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.4131 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.4170 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.4192 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.4204 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204547.4224 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.4245 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.4263 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81751366cb89eb67','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204547.4268 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.4289 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.4332 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb81751366cb89eb67',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,160000,?,?,?)
20240825@204547.4687 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204547.4691 lkvdac6kgma8alcat02i9biqtk Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240825@204547.4721 lkvdac6kgma8alcat02i9biqtk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20240825@204547.6192 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.6213 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.6243 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.6261 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.6272 lkvdac6kgma8alcat02i9biqtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204547.6287 lkvdac6kgma8alcat02i9biqtk Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240825@204547.6312 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.6330 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204547.6345 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88472066cb89eb9a','aut66cb88341366cb89ea5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204547.6350 lkvdac6kgma8alcat02i9biqtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204547.6367 lkvdac6kgma8alcat02i9biqtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204547.6402 lkvdac6kgma8alcat02i9biqtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88472066cb89eb9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cb88341366cb89ea5a' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20240825@204547.6680 lkvdac6kgma8alcat02i9biqtk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb88341366cb89ea5a','2405520','wait',39,'adm09112754980.682000002')
20240825@204547.6760 lkvdac6kgma8alcat02i9biqtk Query : use flama_phc
20240825@204547.6764 lkvdac6kgma8alcat02i9biqtk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204547.6798 lkvdac6kgma8alcat02i9biqtk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1656';
20240825@204547.6829 lkvdac6kgma8alcat02i9biqtk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1656';
20240825@204547.6870 lkvdac6kgma8alcat02i9biqtk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1656';
20240825@204547.6897 lkvdac6kgma8alcat02i9biqtk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1656';
20240825@204547.7441 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204547.7454 2e4931d2v97l6s4k6k0d8tt8p7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204547.7510 2e4931d2v97l6s4k6k0d8tt8p7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1657';
20240825@204547.7735 2e4931d2v97l6s4k6k0d8tt8p7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1657';
20240825@204547.7792 2e4931d2v97l6s4k6k0d8tt8p7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1657';
20240825@204547.7824 2e4931d2v97l6s4k6k0d8tt8p7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1657';
20240825@204547.7877 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.7882 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204547.7956 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.7959 2e4931d2v97l6s4k6k0d8tt8p7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240825@204547.8006 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20240825@204547.8190 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405521 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240825@204547.8533 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20240825@204547.8556 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405521 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240825@204547.8574 2e4931d2v97l6s4k6k0d8tt8p7 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'
20240825@204547.8749 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405521 and bi.ref ='324.4743.00.1' and bi.lordem =2
20240825@204547.9091 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2186.00.1'
20240825@204547.9269 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405521 and bi.ref ='304.2186.00.1' and bi.lordem =3
20240825@204547.9613 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.9617 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204547.9655 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.9659 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204547.9695 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.9698 2e4931d2v97l6s4k6k0d8tt8p7 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')
20240825@204547.9729 2e4931d2v97l6s4k6k0d8tt8p7 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
20240825@204547.9770 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.9774 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240825@204547.9808 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.9812 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204547.9846 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.9851 2e4931d2v97l6s4k6k0d8tt8p7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204547.9896 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.9900 2e4931d2v97l6s4k6k0d8tt8p7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240825@204547.9955 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204547.9958 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from td where ndoc = 39
20240825@204547.9973 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204547.9990 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.1000 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204548.3200 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4900 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204548.8300 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.1010 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204548.1160 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204548.1950 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204548.2100 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.2310 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204548.2500 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb87965666cb89ec02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204548.5110 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.5320 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204548.5710 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204548.5860 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204548.6000 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204548.6160 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204548.6300 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204548.6450 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204548.6620 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb87965666cb89ec02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204548.9490 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204548.9720 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.9910 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204548.1019 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 'normal' from dummy
20240825@204548.1038 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb87965666cb89ec02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',457,100810,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204548.1367 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204548.1372 2e4931d2v97l6s4k6k0d8tt8p7 Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240825@204548.1399 2e4931d2v97l6s4k6k0d8tt8p7 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.1705.00.1'
20240825@204548.2721 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.2742 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.2892 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.2911 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.2921 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204548.2936 2e4931d2v97l6s4k6k0d8tt8p7 Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240825@204548.2951 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.2970 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.2985 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88466666cb89ec48','aut66cb87965666cb89ec02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204548.2991 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.3011 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.3054 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88466666cb89ec48',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66cb87965666cb89ec02' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204548.3351 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204548.3356 2e4931d2v97l6s4k6k0d8tt8p7 Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240825@204548.3379 2e4931d2v97l6s4k6k0d8tt8p7 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.1705.00.1'
20240825@204548.3397 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.3415 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.3447 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.3462 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.3472 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204548.3486 2e4931d2v97l6s4k6k0d8tt8p7 Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240825@204548.3499 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.3515 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.3528 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85730166cb89ec55','aut66cb87965666cb89ec02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204548.3534 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.3552 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.3586 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb85730166cb89ec55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66cb87965666cb89ec02' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240825@204548.3866 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204548.3869 2e4931d2v97l6s4k6k0d8tt8p7 Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240825@204548.3894 2e4931d2v97l6s4k6k0d8tt8p7 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'
20240825@204548.4058 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4078 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.4109 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4125 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.4136 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204548.4151 2e4931d2v97l6s4k6k0d8tt8p7 Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240825@204548.4187 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4205 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.4218 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83156666cb89ec66','aut66cb87965666cb89ec02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204548.4223 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4239 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.4301 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb83156666cb89ec66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66cb87965666cb89ec02' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240825@204548.4589 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204548.4593 2e4931d2v97l6s4k6k0d8tt8p7 Query : select st.usalote valor from st where st.ref = '304.2186.00.1'
20240825@204548.4615 2e4931d2v97l6s4k6k0d8tt8p7 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.2186.00.1'
20240825@204548.4788 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4809 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.4839 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4856 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.4867 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204548.4881 2e4931d2v97l6s4k6k0d8tt8p7 Query : select sestamp valor from se where ref ='304.2186.00.1' and lote = '240919'
20240825@204548.4923 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4940 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.4952 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb87644366cb89ec78','aut66cb87965666cb89ec02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204548.4958 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.4973 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.5007 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb87644366cb89ec78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut66cb87965666cb89ec02' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204548.5294 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.5312 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.5339 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.5354 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.5364 2e4931d2v97l6s4k6k0d8tt8p7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204548.5379 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.5394 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204548.5407 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb82224666cb89ec83','aut66cb87965666cb89ec02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204548.5412 2e4931d2v97l6s4k6k0d8tt8p7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.5427 2e4931d2v97l6s4k6k0d8tt8p7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204548.5456 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb82224666cb89ec83',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87965666cb89ec02' ,0,0 ,2,23.00,50000,?,?,?)
20240825@204548.5742 2e4931d2v97l6s4k6k0d8tt8p7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb87965666cb89ec02','2405521','wait',39,'adm09112754980.682000002')
20240825@204548.5821 2e4931d2v97l6s4k6k0d8tt8p7 Query : use flama_phc
20240825@204548.5825 2e4931d2v97l6s4k6k0d8tt8p7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204548.5857 2e4931d2v97l6s4k6k0d8tt8p7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1657';
20240825@204548.5888 2e4931d2v97l6s4k6k0d8tt8p7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1657';
20240825@204548.5928 2e4931d2v97l6s4k6k0d8tt8p7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1657';
20240825@204548.5954 2e4931d2v97l6s4k6k0d8tt8p7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1657';
20240825@204548.6491 0gcqknbbmkt04v90082r0o6jsr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204548.6503 0gcqknbbmkt04v90082r0o6jsr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204548.6557 0gcqknbbmkt04v90082r0o6jsr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1658';
20240825@204548.6623 0gcqknbbmkt04v90082r0o6jsr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1658';
20240825@204548.6681 0gcqknbbmkt04v90082r0o6jsr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1658';
20240825@204548.6711 0gcqknbbmkt04v90082r0o6jsr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1658';
20240825@204548.6768 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.6772 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204548.6838 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.6843 0gcqknbbmkt04v90082r0o6jsr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240825@204548.6938 0gcqknbbmkt04v90082r0o6jsr 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'
20240825@204548.7116 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405522 and bi.ref ='304.422.00.07' and bi.lordem =1
20240825@204548.7466 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240825@204548.7645 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405522 and bi.ref ='304.421.00.04' and bi.lordem =2
20240825@204548.8195 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.8199 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204548.8234 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.8237 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204548.8269 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.8272 0gcqknbbmkt04v90082r0o6jsr 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')
20240825@204548.8301 0gcqknbbmkt04v90082r0o6jsr 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
20240825@204548.8338 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.8341 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240825@204548.8490 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.8494 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204548.8527 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.8530 0gcqknbbmkt04v90082r0o6jsr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204548.8574 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.8578 0gcqknbbmkt04v90082r0o6jsr Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20240825@204548.8631 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204548.8635 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from td where ndoc = 39
20240825@204548.8650 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204548.8669 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.8691 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204548.8746 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.8768 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204548.8800 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.8816 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204548.8829 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204548.8908 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204548.8922 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.8939 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204548.8954 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb86673666cb89ecd7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204548.9227 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.9252 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204548.9291 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204548.9305 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204548.9318 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204548.9332 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204548.9346 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204548.9359 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204548.9370 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb86673666cb89ecd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204548.9673 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204548.9699 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204548.9718 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204548.9742 0gcqknbbmkt04v90082r0o6jsr Query : select 'normal' from dummy
20240825@204548.9760 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb86673666cb89ecd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',458,101900,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204549.2080 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204549.2130 0gcqknbbmkt04v90082r0o6jsr Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240825@204549.2420 0gcqknbbmkt04v90082r0o6jsr 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'
20240825@204549.4510 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.4720 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.5030 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.5210 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.5310 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204549.5460 0gcqknbbmkt04v90082r0o6jsr Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240825@204549.5760 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.5920 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.6040 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81686766cb89ed0e','aut66cb86673666cb89ecd7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204549.6100 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.6250 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.6550 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb81686766cb89ed0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cb86673666cb89ecd7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204549.1007 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204549.1011 0gcqknbbmkt04v90082r0o6jsr Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240825@204549.1038 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240825@204549.1206 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.1223 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.1249 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.1264 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.1273 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204549.1287 0gcqknbbmkt04v90082r0o6jsr Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240825@204549.1322 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.1341 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.1356 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88250466cb89ed20','aut66cb86673666cb89ecd7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204549.1361 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.1381 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.1415 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88250466cb89ed20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66cb86673666cb89ecd7' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240825@204549.1720 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.1738 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.1768 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.1788 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.1798 0gcqknbbmkt04v90082r0o6jsr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204549.1815 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.1833 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.1848 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88760766cb89ed2c','aut66cb86673666cb89ecd7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204549.1855 0gcqknbbmkt04v90082r0o6jsr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.1874 0gcqknbbmkt04v90082r0o6jsr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.1911 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb88760766cb89ed2c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb86673666cb89ecd7' ,0,0 ,2,23.00,30000,?,?,?)
20240825@204549.2224 0gcqknbbmkt04v90082r0o6jsr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb86673666cb89ecd7','2405522','wait',39,'adm09112754980.682000002')
20240825@204549.2301 0gcqknbbmkt04v90082r0o6jsr Query : use flama_phc
20240825@204549.2305 0gcqknbbmkt04v90082r0o6jsr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204549.2339 0gcqknbbmkt04v90082r0o6jsr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1658';
20240825@204549.2375 0gcqknbbmkt04v90082r0o6jsr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1658';
20240825@204549.2420 0gcqknbbmkt04v90082r0o6jsr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1658';
20240825@204549.2451 0gcqknbbmkt04v90082r0o6jsr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1658';
20240825@204549.3025 sv12helvvqaj2jiriar4lrcem9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204549.3036 sv12helvvqaj2jiriar4lrcem9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204549.3091 sv12helvvqaj2jiriar4lrcem9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1659';
20240825@204549.3154 sv12helvvqaj2jiriar4lrcem9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1659';
20240825@204549.3204 sv12helvvqaj2jiriar4lrcem9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1659';
20240825@204549.3230 sv12helvvqaj2jiriar4lrcem9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1659';
20240825@204549.3280 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.3284 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204549.3349 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.3353 sv12helvvqaj2jiriar4lrcem9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20240825@204549.3453 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20240825@204549.3632 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405523 and bi.ref ='324.2031.00.1' and bi.lordem =1
20240825@204549.3985 sv12helvvqaj2jiriar4lrcem9 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'
20240825@204549.4167 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405523 and bi.ref ='324.4840.00.1' and bi.lordem =2
20240825@204549.4533 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.4537 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204549.4574 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.4577 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204549.4609 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.4613 sv12helvvqaj2jiriar4lrcem9 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')
20240825@204549.4645 sv12helvvqaj2jiriar4lrcem9 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
20240825@204549.4693 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.4699 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240825@204549.4733 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.4737 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204549.4771 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.4776 sv12helvvqaj2jiriar4lrcem9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204549.4821 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.4825 sv12helvvqaj2jiriar4lrcem9 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20240825@204549.4877 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.4881 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from td where ndoc = 39
20240825@204549.4896 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204549.4913 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.4933 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204549.4954 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.4970 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204549.5006 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.5026 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204549.5040 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204549.5114 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204549.5129 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.5147 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204549.5165 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb89431066cb89ed7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204549.5375 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.5398 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204549.5441 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204549.5456 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204549.5470 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204549.5484 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204549.5497 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204549.5511 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204549.5525 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb89431066cb89ed7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204549.5843 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204549.5873 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.7161 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204549.7194 sv12helvvqaj2jiriar4lrcem9 Query : select 'normal' from dummy
20240825@204549.7211 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb89431066cb89ed7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',459,101900,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204549.7627 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.7632 sv12helvvqaj2jiriar4lrcem9 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240825@204549.7659 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20240825@204549.7853 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.7873 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.7908 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.7924 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.7934 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204549.7947 sv12helvvqaj2jiriar4lrcem9 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240825@204549.7975 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.7992 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.8004 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85988466cb89edc2','aut66cb89431066cb89ed7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204549.8015 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.8031 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.8061 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb85988466cb89edc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut66cb89431066cb89ed7b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204549.8532 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.8552 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.8579 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.8594 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.8602 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204549.8615 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.8632 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.8646 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb80559366cb89edd2','aut66cb89431066cb89ed7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204549.8652 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.8670 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.8704 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb80559366cb89edd2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb89431066cb89ed7b' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204549.8988 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.8992 sv12helvvqaj2jiriar4lrcem9 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20240825@204549.9018 sv12helvvqaj2jiriar4lrcem9 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'
20240825@204549.9192 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.9213 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.9250 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.9272 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.9284 sv12helvvqaj2jiriar4lrcem9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204549.9301 sv12helvvqaj2jiriar4lrcem9 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20240825@204549.9327 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.9347 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204549.9361 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84652466cb89ede3','aut66cb89431066cb89ed7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204549.9367 sv12helvvqaj2jiriar4lrcem9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204549.9385 sv12helvvqaj2jiriar4lrcem9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204549.9420 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84652466cb89ede3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut66cb89431066cb89ed7b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204549.9717 sv12helvvqaj2jiriar4lrcem9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb89431066cb89ed7b','2405523','wait',39,'adm09112754980.682000002')
20240825@204549.9798 sv12helvvqaj2jiriar4lrcem9 Query : use flama_phc
20240825@204549.9804 sv12helvvqaj2jiriar4lrcem9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204549.9842 sv12helvvqaj2jiriar4lrcem9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1659';
20240825@204549.9875 sv12helvvqaj2jiriar4lrcem9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1659';
20240825@204549.9917 sv12helvvqaj2jiriar4lrcem9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1659';
20240825@204549.9946 sv12helvvqaj2jiriar4lrcem9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1659';
20240825@204550.4830 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204550.4950 jfqqji0ch4sc9ukfdgl07kleu2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204550.5500 jfqqji0ch4sc9ukfdgl07kleu2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1660';
20240825@204550.6130 jfqqji0ch4sc9ukfdgl07kleu2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1660';
20240825@204550.6650 jfqqji0ch4sc9ukfdgl07kleu2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1660';
20240825@204550.6930 jfqqji0ch4sc9ukfdgl07kleu2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1660';
20240825@204550.7420 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.7460 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204550.8100 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.8140 jfqqji0ch4sc9ukfdgl07kleu2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2064
20240825@204550.9110 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240825@204550.9340 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405524 and bi.ref ='304.421.00.04' and bi.lordem =1
20240825@204550.1295 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240825@204550.1316 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405524 and bi.ref ='304.421.00.04' and bi.lordem =1
20240825@204550.1333 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240825@204550.1354 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405524 and bi.ref ='324.4521.00.1' and bi.lordem =2
20240825@204550.1732 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240825@204550.1756 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405524 and bi.ref ='324.958.00.01' and bi.lordem =3
20240825@204550.2133 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20240825@204550.2156 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405524 and bi.ref ='328.9316.00.1' and bi.lordem =4
20240825@204550.2534 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20240825@204550.2557 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405524 and bi.ref ='328.9316.00.1' and bi.lordem =4
20240825@204550.2576 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.2582 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204550.2619 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.2623 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204550.2657 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.2661 jfqqji0ch4sc9ukfdgl07kleu2 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')
20240825@204550.2694 jfqqji0ch4sc9ukfdgl07kleu2 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
20240825@204550.2898 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.2982 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 ~inactivo valor from cl where no = '101645' and estab = 0 order by inactivo desc
20240825@204550.4351 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.4355 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204550.4387 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.4390 jfqqji0ch4sc9ukfdgl07kleu2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204550.4432 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.4436 jfqqji0ch4sc9ukfdgl07kleu2 Query : select szadrsstamp valor from szadrs where szadrsdesc='macorlux - electrodomÉsticos, s.a.'
20240825@204550.4483 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.4486 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from td where ndoc = 39
20240825@204550.4499 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204550.4513 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.4530 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204550.4550 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.4565 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204550.4594 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.4609 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204550.4622 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204550.4697 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204550.4710 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.4726 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204550.4744 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204550.4934 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.4955 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204550.4990 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204550.5002 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204550.5014 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204550.5026 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204550.5039 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204550.5051 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204550.5063 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb87493466cb89ee70',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204550.5337 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204550.5359 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.5376 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204550.5400 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 'normal' from dummy
20240825@204550.5416 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb87493466cb89ee70',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',460,101645,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204550.5740 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.5744 jfqqji0ch4sc9ukfdgl07kleu2 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240825@204550.5769 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240825@204550.5784 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.5801 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.5827 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.5842 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.5851 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204550.5864 jfqqji0ch4sc9ukfdgl07kleu2 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240825@204550.5877 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.5894 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.5906 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84854766cb89ee8f','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204550.5911 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.5930 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.5959 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84854766cb89ee8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204550.6263 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.6281 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.6309 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.6324 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.6334 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204550.6347 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.6362 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.6373 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83008866cb89ee9a','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204550.6379 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.6395 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.6426 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb83008866cb89ee9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204550.6712 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.6716 jfqqji0ch4sc9ukfdgl07kleu2 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240825@204550.6738 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240825@204550.6753 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.6771 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.6802 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.6819 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.6828 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204550.6842 jfqqji0ch4sc9ukfdgl07kleu2 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240825@204550.6856 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.6873 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.6886 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83720866cb89eea7','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204550.6892 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.6909 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.6940 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb83720866cb89eea7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204550.7242 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.7261 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.7290 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.7306 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.7316 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204550.7329 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.7345 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.7357 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85413866cb89eeb2','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204550.7362 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.7377 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.7406 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb85413866cb89eeb2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,50000,?,?,?)
20240825@204550.7695 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.7700 jfqqji0ch4sc9ukfdgl07kleu2 Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240825@204550.7722 jfqqji0ch4sc9ukfdgl07kleu2 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.4521.00.1'
20240825@204550.7741 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.7760 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.7793 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.7811 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.7821 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204550.7836 jfqqji0ch4sc9ukfdgl07kleu2 Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240825@204550.7851 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.7868 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.7882 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb80370966cb89eebf','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204550.7887 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.7907 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.7940 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb80370966cb89eebf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240825@204550.8269 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.8273 jfqqji0ch4sc9ukfdgl07kleu2 Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240825@204550.8294 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240825@204550.8310 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.8329 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.8364 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.8388 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.8399 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204550.8415 jfqqji0ch4sc9ukfdgl07kleu2 Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240825@204550.8436 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.8457 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.8473 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb88050966cb89eecd','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204550.8479 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.8499 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.8697 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb88050966cb89eecd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240825@204550.9059 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204550.9064 jfqqji0ch4sc9ukfdgl07kleu2 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240825@204550.9087 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20240825@204550.9103 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.9123 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.9153 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.9170 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.9180 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204550.9195 jfqqji0ch4sc9ukfdgl07kleu2 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240825@204550.9210 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.9227 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.9244 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb87049766cb89eee0','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204550.9249 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.9266 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.9299 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb87049766cb89eee0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240825@204550.9614 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.9635 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.9666 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.9687 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.9697 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204550.9711 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.9727 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204550.9741 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85840066cb89eeed','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204550.9747 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204550.9764 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204550.9797 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb85840066cb89eeed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,100000,?,?,?)
20240825@204551.1140 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204551.1170 jfqqji0ch4sc9ukfdgl07kleu2 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240825@204551.1430 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20240825@204551.1600 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.1800 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204551.2110 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.2300 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204551.2410 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204551.2580 jfqqji0ch4sc9ukfdgl07kleu2 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240825@204551.2730 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.2920 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204551.3080 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86638166cb89ef06','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204551.3560 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.1880 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204551.1916 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb86638166cb89ef06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240825@204551.2213 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.2235 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204551.2272 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.2289 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204551.2298 jfqqji0ch4sc9ukfdgl07kleu2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204551.2310 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.2326 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204551.2338 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb87562466cb89ef38','aut66cb87493466cb89ee70' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204551.2343 jfqqji0ch4sc9ukfdgl07kleu2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.2357 jfqqji0ch4sc9ukfdgl07kleu2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204551.2390 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb87562466cb89ef38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87493466cb89ee70' ,0,0 ,2,23.00,130000,?,?,?)
20240825@204551.2679 jfqqji0ch4sc9ukfdgl07kleu2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb87493466cb89ee70','2405524','wait',39,'adm09112754980.682000002')
20240825@204551.2759 jfqqji0ch4sc9ukfdgl07kleu2 Query : use flama_phc
20240825@204551.2764 jfqqji0ch4sc9ukfdgl07kleu2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204551.2795 jfqqji0ch4sc9ukfdgl07kleu2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1660';
20240825@204551.2829 jfqqji0ch4sc9ukfdgl07kleu2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1660';
20240825@204551.2869 jfqqji0ch4sc9ukfdgl07kleu2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1660';
20240825@204551.2896 jfqqji0ch4sc9ukfdgl07kleu2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1660';
20240825@204551.3540 cfonl273gl8rt09ehsn98shflk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204551.3552 cfonl273gl8rt09ehsn98shflk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204551.3735 cfonl273gl8rt09ehsn98shflk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1661';
20240825@204551.3813 cfonl273gl8rt09ehsn98shflk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1661';
20240825@204551.3867 cfonl273gl8rt09ehsn98shflk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1661';
20240825@204551.3900 cfonl273gl8rt09ehsn98shflk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1661';
20240825@204551.3953 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.3957 cfonl273gl8rt09ehsn98shflk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204551.4023 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.4026 cfonl273gl8rt09ehsn98shflk Query : select no, estab,szadrsdesc from szadrs where u_coddest=2874
20240825@204551.4120 cfonl273gl8rt09ehsn98shflk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240825@204551.4313 cfonl273gl8rt09ehsn98shflk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405525 and bi.ref ='324.1816.00.1' and bi.lordem =1
20240825@204551.4672 cfonl273gl8rt09ehsn98shflk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240825@204551.4697 cfonl273gl8rt09ehsn98shflk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405525 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240825@204551.5236 cfonl273gl8rt09ehsn98shflk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240825@204551.5424 cfonl273gl8rt09ehsn98shflk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405525 and bi.ref ='324.1805.00.1' and bi.lordem =3
20240825@204551.5779 cfonl273gl8rt09ehsn98shflk 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'
20240825@204551.5967 cfonl273gl8rt09ehsn98shflk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405525 and bi.ref ='324.1824.00.1' and bi.lordem =4
20240825@204551.6345 cfonl273gl8rt09ehsn98shflk 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'
20240825@204551.7781 cfonl273gl8rt09ehsn98shflk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405525 and bi.ref ='324.646.00.01' and bi.lordem =5
20240825@204551.8188 cfonl273gl8rt09ehsn98shflk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20240825@204551.8383 cfonl273gl8rt09ehsn98shflk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405525 and bi.ref ='324.1536.00.1' and bi.lordem =6
20240825@204551.8999 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.9007 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204551.9046 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.9050 cfonl273gl8rt09ehsn98shflk Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204551.9084 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.9088 cfonl273gl8rt09ehsn98shflk 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')
20240825@204551.9122 cfonl273gl8rt09ehsn98shflk 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
20240825@204551.9163 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.9168 cfonl273gl8rt09ehsn98shflk Query : select top 1 ~inactivo valor from cl where no = '101842' and estab = 0 order by inactivo desc
20240825@204551.9365 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.9369 cfonl273gl8rt09ehsn98shflk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204551.9406 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.9411 cfonl273gl8rt09ehsn98shflk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204551.9454 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.9457 cfonl273gl8rt09ehsn98shflk Query : select szadrsstamp valor from szadrs where szadrsdesc='pereira cunha & filho, electrodom,lda -entrega'
20240825@204551.9508 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204551.9511 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from td where ndoc = 39
20240825@204551.9526 cfonl273gl8rt09ehsn98shflk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204551.9542 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.9561 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204551.9581 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.9597 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204551.9628 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.9644 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204551.9659 cfonl273gl8rt09ehsn98shflk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204551.9733 cfonl273gl8rt09ehsn98shflk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204551.9750 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204551.9768 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204551.9784 cfonl273gl8rt09ehsn98shflk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204551.9996 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1800 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204552.5400 cfonl273gl8rt09ehsn98shflk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204552.6700 cfonl273gl8rt09ehsn98shflk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204552.7900 cfonl273gl8rt09ehsn98shflk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204552.9100 cfonl273gl8rt09ehsn98shflk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204552.1040 cfonl273gl8rt09ehsn98shflk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204552.1190 cfonl273gl8rt09ehsn98shflk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204552.1310 cfonl273gl8rt09ehsn98shflk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb87950266cb89efeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204552.4140 cfonl273gl8rt09ehsn98shflk Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204552.4380 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.4570 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204552.4810 cfonl273gl8rt09ehsn98shflk Query : select 'normal' from dummy
20240825@204552.4970 cfonl273gl8rt09ehsn98shflk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb87950266cb89efeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',461,101842,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204552.8370 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204552.8410 cfonl273gl8rt09ehsn98shflk Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240825@204552.8660 cfonl273gl8rt09ehsn98shflk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240825@204552.1087 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1109 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.1141 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1159 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.1168 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.1183 cfonl273gl8rt09ehsn98shflk Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240825@204552.1204 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1224 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.1238 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85686666cb89f01d','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.1246 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1271 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.1307 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb85686666cb89f01d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204552.1651 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1674 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.1717 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1736 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.1745 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.1760 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1777 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.1789 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86556966cb89f02a','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.1794 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.1809 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.1842 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb86556966cb89f02a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204552.2143 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204552.2147 cfonl273gl8rt09ehsn98shflk Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240825@204552.2171 cfonl273gl8rt09ehsn98shflk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240825@204552.2193 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.2213 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.2242 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.2261 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.2273 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.2288 cfonl273gl8rt09ehsn98shflk Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240825@204552.2303 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.2320 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.2334 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83384266cb89f038','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.2341 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.2360 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.2404 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb83384266cb89f038',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204552.2760 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.2786 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.2821 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.2846 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.2860 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.2876 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.2896 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.2911 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb87678366cb89f046','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.2917 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.2937 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.2974 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb87678366cb89f046',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,50000,?,?,?)
20240825@204552.3343 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204552.3347 cfonl273gl8rt09ehsn98shflk Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240825@204552.3391 cfonl273gl8rt09ehsn98shflk 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.1805.00.1'
20240825@204552.3588 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.3617 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.3650 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.3668 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.3679 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.3693 cfonl273gl8rt09ehsn98shflk Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400290200a'
20240825@204552.3711 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.3729 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.3743 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb80174266cb89f05a','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.3748 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.3766 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.3801 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb80174266cb89f05a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240825@204552.4108 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204552.4113 cfonl273gl8rt09ehsn98shflk Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240825@204552.4138 cfonl273gl8rt09ehsn98shflk 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'
20240825@204552.4318 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.4338 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.4370 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.4397 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.4408 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.4422 cfonl273gl8rt09ehsn98shflk Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301210200a'
20240825@204552.4445 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.4463 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.4478 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb81991066cb89f06c','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.4483 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.4503 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.4545 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb81991066cb89f06c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240825@204552.4862 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.4886 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.4919 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.4937 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.4947 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.4962 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.4979 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.4993 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83400266cb89f079','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.4998 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.5014 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.5045 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb83400266cb89f079',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,90000,?,?,?)
20240825@204552.5347 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204552.5350 cfonl273gl8rt09ehsn98shflk Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240825@204552.5376 cfonl273gl8rt09ehsn98shflk 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'
20240825@204552.5550 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.5568 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.5596 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.5612 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.5622 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.5635 cfonl273gl8rt09ehsn98shflk Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240825@204552.5658 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.5676 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.5690 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb89963966cb89f08a','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.5695 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.5711 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.5742 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb89963966cb89f08a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240825@204552.6117 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.6138 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.6166 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.6183 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.6193 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.6208 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.6224 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.6238 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb80139866cb89f097','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.6244 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.6261 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.7560 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb80139866cb89f097',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,120000,?,?,?)
20240825@204552.7982 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204552.7987 cfonl273gl8rt09ehsn98shflk Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20240825@204552.8012 cfonl273gl8rt09ehsn98shflk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1536.00.1'
20240825@204552.8188 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.8207 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.8236 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.8252 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.8262 cfonl273gl8rt09ehsn98shflk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204552.8276 cfonl273gl8rt09ehsn98shflk Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20240825@204552.8293 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.8311 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204552.8324 cfonl273gl8rt09ehsn98shflk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86188866cb89f0ca','aut66cb87950266cb89efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204552.8331 cfonl273gl8rt09ehsn98shflk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204552.8347 cfonl273gl8rt09ehsn98shflk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204552.8389 cfonl273gl8rt09ehsn98shflk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb86188866cb89f0ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cb87950266cb89efeb' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20240825@204552.8699 cfonl273gl8rt09ehsn98shflk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb87950266cb89efeb','2405525','wait',39,'adm09112754980.682000002')
20240825@204552.8779 cfonl273gl8rt09ehsn98shflk Query : use flama_phc
20240825@204552.8783 cfonl273gl8rt09ehsn98shflk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204552.8818 cfonl273gl8rt09ehsn98shflk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1661';
20240825@204552.8849 cfonl273gl8rt09ehsn98shflk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1661';
20240825@204552.8889 cfonl273gl8rt09ehsn98shflk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1661';
20240825@204552.8915 cfonl273gl8rt09ehsn98shflk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1661';
20240825@204552.9500 59tbf73a3lc1hodkb24dd8png5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204552.9511 59tbf73a3lc1hodkb24dd8png5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204552.9571 59tbf73a3lc1hodkb24dd8png5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1662';
20240825@204552.9634 59tbf73a3lc1hodkb24dd8png5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1662';
20240825@204552.9688 59tbf73a3lc1hodkb24dd8png5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1662';
20240825@204552.9714 59tbf73a3lc1hodkb24dd8png5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1662';
20240825@204552.9762 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204552.9766 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204552.9835 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204552.9839 59tbf73a3lc1hodkb24dd8png5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240825@204552.9885 59tbf73a3lc1hodkb24dd8png5 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'
20240825@204552.9908 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405527 and bi.ref ='328.9326.00.1' and bi.lordem =1
20240825@204553.2790 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.2820 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204553.3170 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.3200 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204553.3500 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.3540 59tbf73a3lc1hodkb24dd8png5 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')
20240825@204553.3820 59tbf73a3lc1hodkb24dd8png5 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
20240825@204553.4190 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.4220 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240825@204553.4550 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.4590 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204553.4920 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.4960 59tbf73a3lc1hodkb24dd8png5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204553.5390 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.5430 59tbf73a3lc1hodkb24dd8png5 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240825@204553.5940 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.5970 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from td where ndoc = 39
20240825@204553.6120 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204553.6290 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.6500 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204553.6720 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.6900 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204553.7240 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.7440 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204553.7590 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204553.9080 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204553.9280 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.9500 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204553.9700 59tbf73a3lc1hodkb24dd8png5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb83280666cb89f112' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204553.1219 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.1249 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204553.1293 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204553.1308 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204553.1321 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204553.1335 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204553.1348 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204553.1362 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204553.1375 59tbf73a3lc1hodkb24dd8png5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb83280666cb89f112',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204553.1661 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204553.1700 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.1722 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204553.1745 59tbf73a3lc1hodkb24dd8png5 Query : select 'normal' from dummy
20240825@204553.1760 59tbf73a3lc1hodkb24dd8png5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb83280666cb89f112',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',462,100810,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204553.2090 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.2094 59tbf73a3lc1hodkb24dd8png5 Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20240825@204553.2118 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20240825@204553.2133 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.2150 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204553.2181 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.2196 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204553.2206 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204553.2220 59tbf73a3lc1hodkb24dd8png5 Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20240825@204553.2234 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.2250 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204553.2266 59tbf73a3lc1hodkb24dd8png5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84438466cb89f136','aut66cb83280666cb89f112' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204553.2272 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.2291 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204553.2328 59tbf73a3lc1hodkb24dd8png5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84438466cb89f136',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cb83280666cb89f112' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204553.2615 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.2638 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204553.2671 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.2690 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204553.2702 59tbf73a3lc1hodkb24dd8png5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204553.2720 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.2740 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204553.2763 59tbf73a3lc1hodkb24dd8png5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb83095566cb89f142','aut66cb83280666cb89f112' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204553.2769 59tbf73a3lc1hodkb24dd8png5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.2786 59tbf73a3lc1hodkb24dd8png5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204553.2819 59tbf73a3lc1hodkb24dd8png5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb83095566cb89f142',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb83280666cb89f112' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204553.3142 59tbf73a3lc1hodkb24dd8png5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb83280666cb89f112','2405527','wait',39,'adm09112754980.682000002')
20240825@204553.3221 59tbf73a3lc1hodkb24dd8png5 Query : use flama_phc
20240825@204553.3226 59tbf73a3lc1hodkb24dd8png5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204553.3263 59tbf73a3lc1hodkb24dd8png5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1662';
20240825@204553.3310 59tbf73a3lc1hodkb24dd8png5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1662';
20240825@204553.3355 59tbf73a3lc1hodkb24dd8png5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1662';
20240825@204553.3387 59tbf73a3lc1hodkb24dd8png5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1662';
20240825@204553.4920 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204553.4932 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204553.4988 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1663';
20240825@204553.5058 44ifcr0kv7d6o8gh0o8l5rg0lp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1663';
20240825@204553.5111 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1663';
20240825@204553.5144 44ifcr0kv7d6o8gh0o8l5rg0lp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1663';
20240825@204553.5194 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.5199 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204553.5269 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.5273 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20240825@204553.5373 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240825@204553.5593 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405529 and bi.ref ='324.1832.00.2' and bi.lordem =1
20240825@204553.6049 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240825@204553.6072 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405529 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240825@204553.6537 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.6541 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204553.6579 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.6582 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204553.6615 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.6618 44ifcr0kv7d6o8gh0o8l5rg0lp 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')
20240825@204553.6653 44ifcr0kv7d6o8gh0o8l5rg0lp 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
20240825@204553.6690 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.6693 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240825@204553.6857 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.6862 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204553.6906 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.6911 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204553.6960 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.6965 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20240825@204553.7027 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.7031 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from td where ndoc = 39
20240825@204553.7049 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204553.7068 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.7098 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204553.7121 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.7141 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204553.7173 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.7195 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204553.7212 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204553.7318 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204553.7337 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.7355 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204553.7372 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb85182766cb89f1b0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204553.7586 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.7610 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204553.7685 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204553.7698 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204553.7711 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204553.7724 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204553.7737 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204553.7752 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204553.7765 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb85182766cb89f1b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204553.8058 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204553.8081 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204553.8100 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204553.8125 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 'normal' from dummy
20240825@204553.8142 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb85182766cb89f1b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',463,101621,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204553.8530 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204553.8535 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240825@204553.8564 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240825@204554.5000 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7000 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.1010 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1210 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.1330 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204554.1480 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240825@204554.1740 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1920 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.2090 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85673166cb89f204','aut66cb85182766cb89f1b0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204554.2150 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.2340 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.2710 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb85673166cb89f204',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cb85182766cb89f1b0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204554.6050 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.6270 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.6590 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.6770 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.6860 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204554.7000 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7160 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.7300 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb89258766cb89f211','aut66cb85182766cb89f1b0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204554.7350 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7510 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.7840 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb89258766cb89f211',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb85182766cb89f1b0' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204554.1088 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204554.1092 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240825@204554.1116 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240825@204554.1133 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1151 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.1179 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1199 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.1210 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204554.1226 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240825@204554.1242 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1261 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.1275 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb86458266cb89f21e','aut66cb85182766cb89f1b0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204554.1281 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1300 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.1332 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb86458266cb89f21e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cb85182766cb89f1b0' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240825@204554.1741 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1766 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.1800 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1818 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.1828 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204554.1843 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1861 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.1875 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb80673866cb89f22d','aut66cb85182766cb89f1b0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204554.1882 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.1903 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.1937 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb80673866cb89f22d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb85182766cb89f1b0' ,0,0 ,2,23.00,50000,?,?,?)
20240825@204554.2282 44ifcr0kv7d6o8gh0o8l5rg0lp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb85182766cb89f1b0','2405529','wait',39,'adm09112754980.682000002')
20240825@204554.2366 44ifcr0kv7d6o8gh0o8l5rg0lp Query : use flama_phc
20240825@204554.2370 44ifcr0kv7d6o8gh0o8l5rg0lp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204554.2406 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1663';
20240825@204554.2438 44ifcr0kv7d6o8gh0o8l5rg0lp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1663';
20240825@204554.2484 44ifcr0kv7d6o8gh0o8l5rg0lp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1663';
20240825@204554.2514 44ifcr0kv7d6o8gh0o8l5rg0lp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1663';
20240825@204554.3124 e44cuv7ssuiduu8hnusq2b356d Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204554.3136 e44cuv7ssuiduu8hnusq2b356d Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204554.3193 e44cuv7ssuiduu8hnusq2b356d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1664';
20240825@204554.3264 e44cuv7ssuiduu8hnusq2b356d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1664';
20240825@204554.3321 e44cuv7ssuiduu8hnusq2b356d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1664';
20240825@204554.3351 e44cuv7ssuiduu8hnusq2b356d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1664';
20240825@204554.3402 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.3406 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204554.3473 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.3476 e44cuv7ssuiduu8hnusq2b356d Query : select no, estab,szadrsdesc from szadrs where u_coddest=634
20240825@204554.3575 e44cuv7ssuiduu8hnusq2b356d 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'
20240825@204554.3599 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405530 and bi.ref ='324.5396.00.1' and bi.lordem =1
20240825@204554.3958 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.3961 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204554.3999 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.4007 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204554.4039 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.4042 e44cuv7ssuiduu8hnusq2b356d 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')
20240825@204554.4073 e44cuv7ssuiduu8hnusq2b356d 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
20240825@204554.4110 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.4114 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240825@204554.4144 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.4153 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204554.4185 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.4188 e44cuv7ssuiduu8hnusq2b356d Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204554.4229 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.4232 e44cuv7ssuiduu8hnusq2b356d Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom - covilhã'
20240825@204554.4282 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.4285 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from td where ndoc = 39
20240825@204554.4299 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204554.4314 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.4332 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204554.4353 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.4368 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204554.4403 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.4418 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204554.4432 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204554.4507 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204554.4521 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.4538 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204554.4553 e44cuv7ssuiduu8hnusq2b356d Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb84426666cb89f26c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204554.4754 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.4776 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204554.6160 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204554.6173 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204554.6185 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204554.6197 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204554.6209 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204554.6221 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204554.6232 e44cuv7ssuiduu8hnusq2b356d Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb84426666cb89f26c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204554.6508 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204554.6530 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.6547 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204554.6569 e44cuv7ssuiduu8hnusq2b356d Query : select 'normal' from dummy
20240825@204554.6585 e44cuv7ssuiduu8hnusq2b356d Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb84426666cb89f26c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',464,101621,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204554.6921 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.6926 e44cuv7ssuiduu8hnusq2b356d Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240825@204554.6960 e44cuv7ssuiduu8hnusq2b356d 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'
20240825@204554.6977 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.6995 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.7024 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7047 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.7057 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204554.7075 e44cuv7ssuiduu8hnusq2b356d Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240825@204554.7090 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7109 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.7123 e44cuv7ssuiduu8hnusq2b356d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb87510266cb89f2ad','aut66cb84426666cb89f26c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204554.7128 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7146 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.7183 e44cuv7ssuiduu8hnusq2b356d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb87510266cb89f2ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66cb84426666cb89f26c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204554.7490 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7512 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.7544 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7563 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.7685 e44cuv7ssuiduu8hnusq2b356d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204554.7705 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7724 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204554.7740 e44cuv7ssuiduu8hnusq2b356d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb85593766cb89f2bc','aut66cb84426666cb89f26c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204554.7746 e44cuv7ssuiduu8hnusq2b356d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204554.7762 e44cuv7ssuiduu8hnusq2b356d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204554.7794 e44cuv7ssuiduu8hnusq2b356d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb85593766cb89f2bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb84426666cb89f26c' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204554.8075 e44cuv7ssuiduu8hnusq2b356d Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb84426666cb89f26c','2405530','wait',39,'adm09112754980.682000002')
20240825@204554.8148 e44cuv7ssuiduu8hnusq2b356d Query : use flama_phc
20240825@204554.8153 e44cuv7ssuiduu8hnusq2b356d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204554.8182 e44cuv7ssuiduu8hnusq2b356d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1664';
20240825@204554.8213 e44cuv7ssuiduu8hnusq2b356d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1664';
20240825@204554.8252 e44cuv7ssuiduu8hnusq2b356d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1664';
20240825@204554.8277 e44cuv7ssuiduu8hnusq2b356d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1664';
20240825@204554.8814 ovr8sslioslf3ag4l29d252vja Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240825@204554.8826 ovr8sslioslf3ag4l29d252vja Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240825@204554.8881 ovr8sslioslf3ag4l29d252vja Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1665';
20240825@204554.8944 ovr8sslioslf3ag4l29d252vja Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1665';
20240825@204554.8994 ovr8sslioslf3ag4l29d252vja Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1665';
20240825@204554.9020 ovr8sslioslf3ag4l29d252vja Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1665';
20240825@204554.9069 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204554.9073 ovr8sslioslf3ag4l29d252vja Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240825@204554.9141 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204554.9145 ovr8sslioslf3ag4l29d252vja Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20240825@204554.9260 ovr8sslioslf3ag4l29d252vja 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'
20240825@204554.9284 ovr8sslioslf3ag4l29d252vja Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405531 and bi.ref ='324.5396.00.1' and bi.lordem =1
20240825@204554.9889 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204554.9894 ovr8sslioslf3ag4l29d252vja Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240825@204554.9933 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204554.9937 ovr8sslioslf3ag4l29d252vja Query : select top 1 1 valor from td where td.ndoc = 39
20240825@204554.9973 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204554.9976 ovr8sslioslf3ag4l29d252vja 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')
20240825@204555.6000 ovr8sslioslf3ag4l29d252vja 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
20240825@204555.4300 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204555.4600 ovr8sslioslf3ag4l29d252vja Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240825@204555.7800 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204555.8200 ovr8sslioslf3ag4l29d252vja Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240825@204555.1120 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204555.1150 ovr8sslioslf3ag4l29d252vja Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240825@204555.1590 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204555.1620 ovr8sslioslf3ag4l29d252vja Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20240825@204555.2090 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204555.2140 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from td where ndoc = 39
20240825@204555.2260 ovr8sslioslf3ag4l29d252vja Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240825@204555.2420 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.2600 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204555.2800 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.2990 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204555.3280 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.3430 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204555.3560 ovr8sslioslf3ag4l29d252vja Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204555.4640 ovr8sslioslf3ag4l29d252vja Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240825@204555.4810 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.5010 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240825@204555.5190 ovr8sslioslf3ag4l29d252vja Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cb87045966cb89f308' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240825@204555.7430 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.7680 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240825@204555.8070 ovr8sslioslf3ag4l29d252vja Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240825@204555.8190 ovr8sslioslf3ag4l29d252vja Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240825@204555.8320 ovr8sslioslf3ag4l29d252vja Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240825@204555.8440 ovr8sslioslf3ag4l29d252vja Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240825@204555.8560 ovr8sslioslf3ag4l29d252vja Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240825@204555.8680 ovr8sslioslf3ag4l29d252vja Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240825@204555.8790 ovr8sslioslf3ag4l29d252vja Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cb87045966cb89f308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240825@204555.1218 ovr8sslioslf3ag4l29d252vja Query : select top 1 fno valor from wsftdata order by fno desc
20240825@204555.1243 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.1262 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240825@204555.1289 ovr8sslioslf3ag4l29d252vja Query : select 'normal' from dummy
20240825@204555.1309 ovr8sslioslf3ag4l29d252vja Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cb87045966cb89f308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',465,101621,0,'2024-08-25',39,'euro',0,0,2024 ,?,?)
20240825@204555.2787 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204555.2797 ovr8sslioslf3ag4l29d252vja Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240825@204555.2830 ovr8sslioslf3ag4l29d252vja 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'
20240825@204555.2847 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.2876 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204555.2919 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.2938 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204555.2949 ovr8sslioslf3ag4l29d252vja Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204555.2964 ovr8sslioslf3ag4l29d252vja Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240825@204555.2983 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.3002 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204555.3016 ovr8sslioslf3ag4l29d252vja Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84788966cb89f348','aut66cb87045966cb89f308' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204555.3029 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.3048 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204555.3083 ovr8sslioslf3ag4l29d252vja Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cb84788966cb89f348',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66cb87045966cb89f308' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240825@204555.3395 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.3414 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204555.3446 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.3463 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204555.3473 ovr8sslioslf3ag4l29d252vja Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240825@204555.3488 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.3505 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240825@204555.3518 ovr8sslioslf3ag4l29d252vja Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cb84185866cb89f355','aut66cb87045966cb89f308' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240825@204555.3523 ovr8sslioslf3ag4l29d252vja Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240825@204555.3539 ovr8sslioslf3ag4l29d252vja Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240825@204555.3570 ovr8sslioslf3ag4l29d252vja Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cb84185866cb89f355',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cb87045966cb89f308' ,0,0 ,2,23.00,20000,?,?,?)
20240825@204555.3853 ovr8sslioslf3ag4l29d252vja Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cb87045966cb89f308','2405531','wait',39,'adm09112754980.682000002')
20240825@204555.3926 ovr8sslioslf3ag4l29d252vja Query : use flama_phc
20240825@204555.3930 ovr8sslioslf3ag4l29d252vja Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240825@204555.3960 ovr8sslioslf3ag4l29d252vja Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1665';
20240825@204555.3990 ovr8sslioslf3ag4l29d252vja Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1665';
