20241014@085255.7123 aq8mvl15afv2j46lq8kimo3goq INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241014@085255.7121 aq8mvl15afv2j46lq8kimo3goq Query : use flama_phc
20241014@085255.7127 aq8mvl15afv2j46lq8kimo3goq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@085255.7212 aq8mvl15afv2j46lq8kimo3goq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2608';
20241014@085255.7257 aq8mvl15afv2j46lq8kimo3goq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2608';
20241014@085255.7922 4hjppm9e3lcq5lqm03ebh9qtbv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@085255.7936 4hjppm9e3lcq5lqm03ebh9qtbv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@085255.8006 4hjppm9e3lcq5lqm03ebh9qtbv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2609';
20241014@085255.8077 4hjppm9e3lcq5lqm03ebh9qtbv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2609';
20241014@085255.8153 4hjppm9e3lcq5lqm03ebh9qtbv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2609';
20241014@085255.8187 4hjppm9e3lcq5lqm03ebh9qtbv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2609';
20241014@085255.8242 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085255.8246 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@085255.8329 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2388.00.1'
20241014@085255.8695 4hjppm9e3lcq5lqm03ebh9qtbv 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 = 2400490 and bi.ref ='324.2388.00.1' and bi.lordem =10000
20241014@085255.9425 4hjppm9e3lcq5lqm03ebh9qtbv 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 = 'cps24050760904,092000003 ' 
20241014@085255.9958 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085255.9969 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 1 valor from ts where ts.ndos = 61
20241014@085256.1840 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085256.2130 4hjppm9e3lcq5lqm03ebh9qtbv 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')
20241014@085256.5730 4hjppm9e3lcq5lqm03ebh9qtbv 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
20241014@085256.3582 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085256.3604 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 ~inactivo valor from fl where no = '202556' and estab = 00 order by inactivo desc
20241014@085256.4278 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085256.4281 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from ts where ndos = 61
20241014@085256.4297 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085256.4318 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20241014@085256.4328 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085256.4345 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20241014@085256.4470 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085256.4747 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20241014@085256.4757 4hjppm9e3lcq5lqm03ebh9qtbv 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
20241014@085256.4895 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241014@085256.4916 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241014@085256.4938 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085256.4945 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202556' and estab=00
20241014@085256.5039 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085256.5056 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20241014@085256.5069 4hjppm9e3lcq5lqm03ebh9qtbv Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670cc50009670ccdd878',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241014@085256.5074 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085256.5090 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20241014@085256.5103 4hjppm9e3lcq5lqm03ebh9qtbv Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670cc50009670ccdd878','--','bo',7.8658536585365853658 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241014@085256.5107 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085256.5154 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20241014@085256.5167 4hjppm9e3lcq5lqm03ebh9qtbv 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 ('aut670cc50009670ccdd878','guia r. fornecedor','2024-10-14',61,2403030,?,?,?,?,?,?,?,?,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')
20241014@085258.9196 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085258.9200 4hjppm9e3lcq5lqm03ebh9qtbv Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241014@085258.9228 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241014@085258.9348 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085258.9367 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241014@085258.9381 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085258.9396 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241014@085258.9405 4hjppm9e3lcq5lqm03ebh9qtbv Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241014@085258.9419 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085258.9435 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20241014@085258.9445 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085258.9471 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20241014@085258.9483 4hjppm9e3lcq5lqm03ebh9qtbv Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670cc61539670ccddae6',?,?,'20241014',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20241014@085258.9551 4hjppm9e3lcq5lqm03ebh9qtbv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@085258.9564 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085258.9579 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241014@085258.9593 4hjppm9e3lcq5lqm03ebh9qtbv Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut670cc10741670ccddae9','aut670cc50009670ccdd878',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 = 'aut670cc50009670ccdd878'
20241014@085258.9721 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@085258.9743 4hjppm9e3lcq5lqm03ebh9qtbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241014@085258.9759 4hjppm9e3lcq5lqm03ebh9qtbv 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 'aut670cc10741670ccddae9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1260, 1260*.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 ,16.4,16.4*200.48,16.4,16.4*200.48 ,0,0,'un ','' ,bo.marcada,1 ,16.4*1260,16.4*1260*200.48 ,.000000,.000000*200.48 ,.000000,.000000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,16.4,16.4*200.48,16.4*1260,16.4*1260*200.48,'cps24050760904,092000003 ',129,129*1260,129,129*1260,?,?,?,4 from bo bo where bo.bostamp = 'aut670cc50009670ccdd878'
20241014@085259.1075 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085259.1079 4hjppm9e3lcq5lqm03ebh9qtbv Query : declare @bostamp varchar(25) = 'aut670cc50009670ccdd878' ,@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 
20241014@085259.2497 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085259.2507 4hjppm9e3lcq5lqm03ebh9qtbv Query : select 1 valor from bo where bo.bostamp = 'aut670cc50009670ccdd878'
20241014@085259.2575 4hjppm9e3lcq5lqm03ebh9qtbv 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) = 'aut670cc50009670ccdd878' 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 
20241014@085259.6292 4hjppm9e3lcq5lqm03ebh9qtbv Query : use flama_phc
20241014@085259.6350 4hjppm9e3lcq5lqm03ebh9qtbv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@085259.6533 4hjppm9e3lcq5lqm03ebh9qtbv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2609';
20241014@085259.6630 4hjppm9e3lcq5lqm03ebh9qtbv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2609';
20241014@091911.4764 or18s0dh3fka0vkt83pi4e076c Query : use flama_phc
20241014@091911.4768 or18s0dh3fka0vkt83pi4e076c Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@091911.4871 or18s0dh3fka0vkt83pi4e076c Query : use flama_phc
20241014@091911.4874 or18s0dh3fka0vkt83pi4e076c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@093611.2401 2d3j7g493ms7pqd88qusbcj47a Query : use flama_phc
20241014@093611.2406 2d3j7g493ms7pqd88qusbcj47a Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@093611.2520 2d3j7g493ms7pqd88qusbcj47a Query : use flama_phc
20241014@093611.2524 2d3j7g493ms7pqd88qusbcj47a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@101915.2373 najntttdmd3dun1si7rlc7mtgf Query : use flama_phc
20241014@101915.2377 najntttdmd3dun1si7rlc7mtgf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@101915.2470 najntttdmd3dun1si7rlc7mtgf Query : use flama_phc
20241014@101915.2473 najntttdmd3dun1si7rlc7mtgf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@103615.6059 50ag496t4336rjs9qstcv2pv24 Query : use flama_phc
20241014@103615.6069 50ag496t4336rjs9qstcv2pv24 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@103615.6409 50ag496t4336rjs9qstcv2pv24 Query : use flama_phc
20241014@103615.6414 50ag496t4336rjs9qstcv2pv24 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@111913.5755 crh76o1bq0btav6rb6tci904oh Query : use flama_phc
20241014@111913.5759 crh76o1bq0btav6rb6tci904oh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@111913.6053 crh76o1bq0btav6rb6tci904oh Query : use flama_phc
20241014@111913.6057 crh76o1bq0btav6rb6tci904oh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@113613.5682 5m9kvmha6vf58653hgotaepltv Query : use flama_phc
20241014@113613.5687 5m9kvmha6vf58653hgotaepltv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@113613.5789 5m9kvmha6vf58653hgotaepltv Query : use flama_phc
20241014@113613.5792 5m9kvmha6vf58653hgotaepltv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@121911.8895 t4u1793gb5k0c992r2jb1ovdlq Query : use flama_phc
20241014@121911.8900 t4u1793gb5k0c992r2jb1ovdlq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@121911.9048 t4u1793gb5k0c992r2jb1ovdlq Query : use flama_phc
20241014@121911.9051 t4u1793gb5k0c992r2jb1ovdlq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@123611.8343 jlnhuev1nt36s67eakqa72k9ae Query : use flama_phc
20241014@123611.8347 jlnhuev1nt36s67eakqa72k9ae Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@123611.8437 jlnhuev1nt36s67eakqa72k9ae Query : use flama_phc
20241014@123611.8440 jlnhuev1nt36s67eakqa72k9ae Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@131919.8831 3799kfj9ialflbkdlaevujkvkk Query : use flama_phc
20241014@131919.8836 3799kfj9ialflbkdlaevujkvkk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@131919.8930 3799kfj9ialflbkdlaevujkvkk Query : use flama_phc
20241014@131919.8933 3799kfj9ialflbkdlaevujkvkk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@133619.6493 ip8o03d1km05kmtkhr86tmemjd Query : use flama_phc
20241014@133619.6497 ip8o03d1km05kmtkhr86tmemjd Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@133619.6589 ip8o03d1km05kmtkhr86tmemjd Query : use flama_phc
20241014@133619.6592 ip8o03d1km05kmtkhr86tmemjd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@141912.8577 2d02k4jufqb6ik5ptomif1asuk Query : use flama_phc
20241014@141912.8581 2d02k4jufqb6ik5ptomif1asuk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@141913.5610 2d02k4jufqb6ik5ptomif1asuk Query : use flama_phc
20241014@141913.5650 2d02k4jufqb6ik5ptomif1asuk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@143613.1200 gq9l6dgvsecgv8pap79seh48j2 Query : use flama_phc
20241014@143613.1240 gq9l6dgvsecgv8pap79seh48j2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@143613.2210 gq9l6dgvsecgv8pap79seh48j2 Query : use flama_phc
20241014@143613.2240 gq9l6dgvsecgv8pap79seh48j2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@151913.2548 2fvufi1drb6tl59eadi9ht2ln6 Query : use flama_phc
20241014@151913.2552 2fvufi1drb6tl59eadi9ht2ln6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@151913.2634 2fvufi1drb6tl59eadi9ht2ln6 Query : use flama_phc
20241014@151913.2637 2fvufi1drb6tl59eadi9ht2ln6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@153613.8796 pkvho6vj1ga4qabaeltndvcngg Query : use flama_phc
20241014@153613.8801 pkvho6vj1ga4qabaeltndvcngg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@153614.5610 pkvho6vj1ga4qabaeltndvcngg Query : use flama_phc
20241014@153614.5640 pkvho6vj1ga4qabaeltndvcngg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@161918.6151 0jdvqkgc47m4j7om0i1alg6pmc Query : use flama_phc
20241014@161918.6156 0jdvqkgc47m4j7om0i1alg6pmc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@161918.6242 0jdvqkgc47m4j7om0i1alg6pmc Query : use flama_phc
20241014@161918.6245 0jdvqkgc47m4j7om0i1alg6pmc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@163618.7833 8j54ok87lq5138djl5o2jee6fe Query : use flama_phc
20241014@163618.7852 8j54ok87lq5138djl5o2jee6fe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@163618.8684 8j54ok87lq5138djl5o2jee6fe Query : use flama_phc
20241014@163618.8744 8j54ok87lq5138djl5o2jee6fe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@171912.2033 25diic4qdhero9t145ate90it4 Query : use flama_phc
20241014@171912.2038 25diic4qdhero9t145ate90it4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@171912.2132 25diic4qdhero9t145ate90it4 Query : use flama_phc
20241014@171912.2137 25diic4qdhero9t145ate90it4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@173612.4893 5dtsffiqeu5c4te24pukkr83aa Query : use flama_phc
20241014@173612.4897 5dtsffiqeu5c4te24pukkr83aa Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@173612.4976 5dtsffiqeu5c4te24pukkr83aa Query : use flama_phc
20241014@173612.4979 5dtsffiqeu5c4te24pukkr83aa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@181912.8041 ghao7foqku1pnrbg12a2ogt1pp Query : use flama_phc
20241014@181912.8045 ghao7foqku1pnrbg12a2ogt1pp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241014@181912.8135 ghao7foqku1pnrbg12a2ogt1pp Query : use flama_phc
20241014@181912.8139 ghao7foqku1pnrbg12a2ogt1pp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182826.5548 6btadvb6tfbsh5rfim2urr43i2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182826.5570 6btadvb6tfbsh5rfim2urr43i2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182826.5788 6btadvb6tfbsh5rfim2urr43i2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2610';
20241014@182826.5849 6btadvb6tfbsh5rfim2urr43i2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2610';
20241014@182826.5921 6btadvb6tfbsh5rfim2urr43i2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2610';
20241014@182826.5948 6btadvb6tfbsh5rfim2urr43i2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2610';
20241014@182826.6014 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182826.6018 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182826.6149 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182826.6152 6btadvb6tfbsh5rfim2urr43i2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20241014@182826.6228 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.6340 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.6662 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.6692 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.6709 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.6730 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.6746 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.6765 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.6783 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.6804 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.6821 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.6842 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.6860 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7065 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.7082 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7103 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.7120 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7141 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.7158 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7177 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.7193 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7213 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.7229 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7251 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.7268 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7287 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.7303 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7324 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.7340 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.7360 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9304 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9334 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9353 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9372 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9388 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9407 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9423 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9442 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9457 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9479 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9494 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9513 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9529 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9549 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9564 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9583 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9598 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9616 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9632 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9652 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9667 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9686 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9703 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9722 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9738 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182826.9756 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406631 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182826.9772 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182826.9775 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182826.9932 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182826.9936 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182827.1000 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.5000 6btadvb6tfbsh5rfim2urr43i2 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')
20241014@182827.7300 6btadvb6tfbsh5rfim2urr43i2 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
20241014@182827.1810 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.1840 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20241014@182827.2730 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.2760 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182827.3380 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.3410 6btadvb6tfbsh5rfim2urr43i2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182827.4440 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.4700 6btadvb6tfbsh5rfim2urr43i2 Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20241014@182827.5200 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.5230 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from td where ndoc = 39
20241014@182827.5740 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182827.6190 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9030 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182827.9780 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9930 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182827.1024 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.1039 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182827.1053 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182827.1210 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182827.1277 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.1292 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182827.1331 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182827.1579 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.1596 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182827.1632 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182827.1697 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182827.1792 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182827.1849 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182827.1905 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182827.1963 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182827.2023 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d580624670d54bb19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182827.2510 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182827.2589 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.2605 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182827.2814 6btadvb6tfbsh5rfim2urr43i2 Query : select 'normal' from dummy
20241014@182827.2862 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d580624670d54bb19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1235,199506,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182827.3267 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.3270 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.3358 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.3463 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.3486 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.3512 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.3526 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.3535 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.3570 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.3775 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.3790 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.3804 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d533646670d54bb5c','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.3854 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.3869 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.3897 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d533646670d54bb5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182827.4208 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.4212 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.4232 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.4245 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.4260 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.4286 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.4301 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.4310 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.4345 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.4358 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.4373 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.4386 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d561272670d54bb6a','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.4391 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.4406 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.4449 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d561272670d54bb6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241014@182827.4661 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.4665 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.4690 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.4707 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.4725 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.4753 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.4771 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.4781 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.4795 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.4810 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.4828 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.4841 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d598476670d54bb75','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.4846 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.4862 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.4896 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d598476670d54bb75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241014@182827.5105 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.5109 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.5174 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.5190 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.5207 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.5237 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.5254 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.5263 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.5279 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.5294 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.5311 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.5324 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d523262670d54bb81','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.5329 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.5346 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.5380 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d523262670d54bb81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241014@182827.5602 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.5606 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.5628 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.5643 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.5660 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.5689 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.5706 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.5715 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.5732 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.5745 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.6836 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.6898 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d570821670d54bb8c','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.6903 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.6919 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.6946 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d570821670d54bb8c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241014@182827.7196 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.7237 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.7360 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.7373 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.7389 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.7420 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.7437 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.7446 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.7457 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.7470 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.7484 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.7495 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d579467670d54bbb6','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.7500 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.7514 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.7542 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d579467670d54bbb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241014@182827.7756 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.7759 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.7779 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.7795 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.7812 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.7838 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.7853 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.7862 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.7875 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.7888 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.7904 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.7917 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d574528670d54bbc0','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.7922 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.7938 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.7968 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d574528670d54bbc0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241014@182827.8174 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.8178 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.8197 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.8211 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.8228 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.8253 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.8268 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.8276 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.8288 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.8300 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.8315 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.8327 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d569417670d54bbca','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.8330 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.8345 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.8374 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d569417670d54bbca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241014@182827.8591 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.8594 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.8614 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.8628 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.8645 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.8671 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.8686 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.8694 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.8705 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.8717 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.8731 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.8743 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d555760670d54bbd4','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.8747 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.8761 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.8792 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d555760670d54bbd4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241014@182827.9079 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.9083 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.9103 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.9119 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9135 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.9160 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9178 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.9187 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.9200 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.9213 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9228 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.9240 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d529180670d54bbe0','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.9244 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9258 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.9285 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d529180670d54bbe0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241014@182827.9497 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.9500 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.9520 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.9533 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9548 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.9577 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9592 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.9601 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182827.9613 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182827.9625 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9640 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182827.9651 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d556412670d54bbeb','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182827.9655 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9670 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.9700 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d556412670d54bbeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241014@182827.9906 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182827.9909 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182827.9930 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182827.9943 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9958 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182827.9982 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182827.9997 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.5000 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.1700 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.2900 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5300 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.6400 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d539184670d54bc00','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.6800 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.8300 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.1110 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d539184670d54bc00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20241014@182828.3340 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.3370 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.3580 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.3740 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.3900 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.4160 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4300 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.4380 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.4500 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.4630 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6340 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.6680 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d555611670d54bc0b','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.6730 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6890 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.7210 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d555611670d54bc0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241014@182828.9400 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.9430 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.9620 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.9760 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.9910 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.1017 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1031 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.1039 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.1053 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.1065 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1079 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.1090 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d523466670d54bc1a','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.1094 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1108 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.1136 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d523466670d54bc1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241014@182828.1343 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.1346 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.1364 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.1378 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1392 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.1416 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1430 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.1438 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.1449 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.1461 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1477 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.1488 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d554647670d54bc23','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.1492 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1507 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.1535 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d554647670d54bc23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20241014@182828.1748 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.1750 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.1769 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.1782 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1796 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.1820 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1840 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.1849 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.1861 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.1872 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1885 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.1897 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d525400670d54bc2d','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.1901 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.1915 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.1941 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d525400670d54bc2d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241014@182828.2140 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.2143 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.2161 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.2175 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.2190 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.2215 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.2229 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.2237 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.2249 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.2261 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.2275 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.2286 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d519068670d54bc37','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.2290 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.2303 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.2375 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d519068670d54bc37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241014@182828.3256 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.3298 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.3564 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.3579 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.3595 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.3621 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.3635 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.3644 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.3656 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.3669 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.3683 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.3695 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d528144670d54bc59','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.3699 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.3714 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.3772 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d528144670d54bc59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20241014@182828.4064 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.4106 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.4179 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.4193 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4210 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.4238 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4253 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.4261 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.4273 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.4286 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4302 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.4315 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d520149670d54bc68','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.4320 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4339 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.4367 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d520149670d54bc68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241014@182828.4597 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.4600 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.4619 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.4632 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4647 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.4672 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4686 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.4694 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.4706 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.4719 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4733 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.4744 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d509380670d54bc73','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.4748 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.4762 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.4790 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d509380670d54bc73',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241014@182828.5000 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.5003 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.5023 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.5035 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5050 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.5077 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5091 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.5099 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.5111 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.5123 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5136 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.5147 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d501354670d54bc7d','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.5151 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5165 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.5193 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d501354670d54bc7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241014@182828.5401 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.5405 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.5426 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.5441 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5458 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.5483 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5498 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.5508 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.5521 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.5534 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5553 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.5564 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d536327670d54bc87','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.5568 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5583 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.5613 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d536327670d54bc87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241014@182828.5840 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.5843 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.5862 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.5878 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5895 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.5933 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.5952 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.5962 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.5977 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.5991 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6009 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.6023 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d530667670d54bc92','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.6028 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6046 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.6077 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d530667670d54bc92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241014@182828.6311 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.6314 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.6334 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.6347 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6363 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.6387 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6403 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.6413 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.6543 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.6615 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6631 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.6643 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d579715670d54bca1','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.6648 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6664 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.6690 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d579715670d54bca1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241014@182828.6911 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.6914 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.6933 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.6946 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.6962 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.6989 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7004 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.7013 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.7026 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.7039 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7054 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.7066 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d590469670d54bcab','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.7070 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7084 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.7112 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d590469670d54bcab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241014@182828.7335 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.7338 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.7361 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.7374 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7389 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.7414 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7428 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.7436 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.7449 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.7461 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7475 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.7487 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d518942670d54bcb6','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.7491 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7505 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.7534 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d518942670d54bcb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20241014@182828.7742 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.7745 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.7766 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.7779 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7793 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.7817 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7831 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.7839 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.7851 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.7863 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7878 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.7890 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d507932670d54bcbf','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.7894 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.7908 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.7934 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d507932670d54bcbf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,270000,?,?,?,?,?)
20241014@182828.8143 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.8146 6btadvb6tfbsh5rfim2urr43i2 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182828.8166 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182828.8180 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.8196 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.8225 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.8240 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.8248 6btadvb6tfbsh5rfim2urr43i2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182828.8262 6btadvb6tfbsh5rfim2urr43i2 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182828.8276 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.8291 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182828.8303 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d580622670d54bcca','aut670d580624670d54bb19' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182828.8308 6btadvb6tfbsh5rfim2urr43i2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182828.8325 6btadvb6tfbsh5rfim2urr43i2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182828.8355 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d580622670d54bcca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d580624670d54bb19' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241014@182828.8560 6btadvb6tfbsh5rfim2urr43i2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d580624670d54bb19','2406631','wait',39,'adm09112754980.682000002')
20241014@182828.8657 6btadvb6tfbsh5rfim2urr43i2 Query : use flama_phc
20241014@182828.8661 6btadvb6tfbsh5rfim2urr43i2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182828.8692 6btadvb6tfbsh5rfim2urr43i2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2610';
20241014@182828.8725 6btadvb6tfbsh5rfim2urr43i2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2610';
20241014@182828.8769 6btadvb6tfbsh5rfim2urr43i2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2610';
20241014@182828.8926 6btadvb6tfbsh5rfim2urr43i2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2610';
20241014@182828.9833 hb0b45ds1ef601bjfneg39ippm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182829.9540 hb0b45ds1ef601bjfneg39ippm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182829.1017 hb0b45ds1ef601bjfneg39ippm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2611';
20241014@182829.1245 hb0b45ds1ef601bjfneg39ippm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2611';
20241014@182829.1300 hb0b45ds1ef601bjfneg39ippm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2611';
20241014@182829.1333 hb0b45ds1ef601bjfneg39ippm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2611';
20241014@182829.1385 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.1389 hb0b45ds1ef601bjfneg39ippm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182829.1459 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.1462 hb0b45ds1ef601bjfneg39ippm Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20241014@182829.1502 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.1614 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.1925 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.1947 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.1965 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.1987 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2003 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2025 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2044 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2063 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2080 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2100 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2117 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2138 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2156 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2176 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2194 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2215 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2232 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2253 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2271 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2292 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2322 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2344 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2361 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2380 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2396 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2416 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2433 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2453 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2470 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2490 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2507 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2528 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2545 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2564 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2580 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2599 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2615 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2633 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2650 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2669 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2685 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2704 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2721 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2739 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2755 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2783 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2800 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2819 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2835 hb0b45ds1ef601bjfneg39ippm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241014@182829.2854 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406632 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241014@182829.2871 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.2874 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182829.2906 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.2909 hb0b45ds1ef601bjfneg39ippm Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182829.2939 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.2942 hb0b45ds1ef601bjfneg39ippm 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')
20241014@182829.2970 hb0b45ds1ef601bjfneg39ippm 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
20241014@182829.3004 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.3007 hb0b45ds1ef601bjfneg39ippm Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20241014@182829.3038 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.3041 hb0b45ds1ef601bjfneg39ippm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182829.3074 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.3077 hb0b45ds1ef601bjfneg39ippm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182829.3119 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.3122 hb0b45ds1ef601bjfneg39ippm Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20241014@182829.3169 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.3172 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from td where ndoc = 39
20241014@182829.3185 hb0b45ds1ef601bjfneg39ippm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182829.3199 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.3216 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182829.3237 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.3252 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182829.3279 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.3294 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182829.3307 hb0b45ds1ef601bjfneg39ippm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182829.3370 hb0b45ds1ef601bjfneg39ippm Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182829.3383 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.3397 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182829.3413 hb0b45ds1ef601bjfneg39ippm Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182829.3701 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.3863 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182829.3895 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182829.3932 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182829.3944 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182829.3955 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182829.3967 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182829.3979 hb0b45ds1ef601bjfneg39ippm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182829.3989 hb0b45ds1ef601bjfneg39ippm Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d547293670d54bd50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182829.4337 hb0b45ds1ef601bjfneg39ippm Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182829.4415 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.4432 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182829.4454 hb0b45ds1ef601bjfneg39ippm Query : select 'normal' from dummy
20241014@182829.4695 hb0b45ds1ef601bjfneg39ippm Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d547293670d54bd50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1236,199506,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182829.5006 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.5009 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182829.5038 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182829.5148 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.5163 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.5187 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.5202 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.5210 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182829.5221 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241014@182829.5240 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.5254 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.5266 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d551887670d54bd7f','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182829.5276 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.5292 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.5322 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d551887670d54bd7f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182829.5539 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.5542 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182829.5563 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182829.5576 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.5591 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.5616 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.5630 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.5638 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182829.5650 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182829.5665 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.5681 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.5695 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d523827670d54bd8a','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182829.5706 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.5723 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.5753 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d523827670d54bd8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241014@182829.6216 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.6963 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182829.6995 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182829.7011 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7027 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.7056 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7072 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.7081 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182829.7095 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241014@182829.7110 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7125 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.7138 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d594337670d54bdad','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182829.7143 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7163 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.7192 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d594337670d54bdad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241014@182829.7411 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.7414 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182829.7437 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182829.7450 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7466 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.7490 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7505 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.7514 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182829.7526 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241014@182829.7538 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7552 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.7564 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d590993670d54bdb8','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182829.7568 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7584 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.7614 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d590993670d54bdb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241014@182829.7830 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.7833 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182829.7852 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182829.7866 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7883 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.7909 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7923 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.7932 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182829.7944 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241014@182829.7957 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.7971 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.7983 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d548223670d54bdc2','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182829.7987 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8002 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.8040 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d548223670d54bdc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241014@182829.8254 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.8257 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182829.8275 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182829.8289 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8305 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.8330 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8344 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.8352 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182829.8364 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241014@182829.8376 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8389 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.8400 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d562646670d54bdcc','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182829.8404 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8418 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.8446 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d562646670d54bdcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241014@182829.8649 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.8652 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182829.8672 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182829.8685 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8701 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.8726 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8740 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.8749 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182829.8760 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182829.8773 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8787 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.8799 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d596456670d54bdd6','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182829.8804 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.8818 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.8844 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d596456670d54bdd6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241014@182829.9188 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182829.9209 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182829.9270 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182829.9283 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.9300 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.9326 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.9341 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.9349 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182829.9362 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182829.9375 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.9389 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182829.9401 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d565796670d54bde4','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182829.9406 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182829.9421 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182829.9449 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d565796670d54bde4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241014@182830.2810 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.3240 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.7130 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.7310 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7460 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.7710 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7850 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.7930 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.8050 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.8170 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.8310 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.8430 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d575047670d54be13','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.8470 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.8620 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.8890 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d575047670d54be13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241014@182830.1095 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.1098 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.1117 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.1131 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1145 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.1179 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1193 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.1202 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.1214 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.1226 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1240 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.1252 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d567056670d54be1d','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.1257 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1271 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.1299 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d567056670d54be1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241014@182830.1506 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.1510 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.1529 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.1543 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1557 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.1582 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1597 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.1606 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.1618 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.1630 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1644 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.1655 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d592170670d54be27','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.1659 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1674 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.1702 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d592170670d54be27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241014@182830.1902 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.1905 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.1926 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.1940 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1955 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.1983 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.1997 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.2006 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.2020 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.2035 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2052 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.2064 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d581212670d54be31','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.2069 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2084 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.2114 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d581212670d54be31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20241014@182830.2341 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.2345 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.2368 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.2384 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2401 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.2427 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2443 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.2452 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.2465 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.2477 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2492 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.2504 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d541296670d54be3c','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.2508 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2525 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.2563 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d541296670d54be3c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241014@182830.2775 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.2778 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.2800 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.2814 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2830 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.2855 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2871 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.2879 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.2891 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.2903 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2917 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.2928 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d594826670d54be46','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.2932 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.2946 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.2974 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d594826670d54be46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241014@182830.3180 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.3183 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.3202 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.3215 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.3232 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.3256 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.3269 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.3277 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.3290 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.3301 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.3316 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.3327 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d566338670d54be50','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.3331 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.3347 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.3374 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d566338670d54be50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20241014@182830.3693 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.3708 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.3882 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.3898 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.3915 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.3940 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.3954 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.3962 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.3974 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.3988 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.4002 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.4014 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d579826670d54be61','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.4018 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.4043 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.4071 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d579826670d54be61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241014@182830.4301 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.4304 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.4325 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.4340 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.4356 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.4381 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.4396 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.4404 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.4416 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.4428 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.4443 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.4457 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d507765670d54be6c','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.4461 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.4478 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.4508 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d507765670d54be6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241014@182830.5289 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.5935 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.6587 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.6602 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.6618 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.6642 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.6656 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.6664 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.6676 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.6688 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.6704 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.6717 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d564074670d54bea3','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.6721 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.6737 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.6766 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d564074670d54bea3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20241014@182830.6983 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.6987 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.7008 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.7023 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7039 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.7067 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7083 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.7093 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.7107 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.7121 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7137 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.7149 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d579578670d54bead','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.7153 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7168 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.7197 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d579578670d54bead',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241014@182830.7423 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.7426 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.7447 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.7462 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7478 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.7504 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7521 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.7530 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.7544 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.7558 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7575 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.7589 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d567652670d54beb8','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.7593 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7609 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.7639 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d567652670d54beb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241014@182830.7867 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.7871 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.7898 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.7913 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7938 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.7982 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.7997 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.8005 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.8017 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.8029 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.8043 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.8054 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d535487670d54bec4','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.8059 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.8073 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.8099 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d535487670d54bec4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241014@182830.8317 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.8320 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.8339 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.8352 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.8368 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.8392 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.8406 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.8414 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182830.8425 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182830.8437 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.8457 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.8467 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d514195670d54becd','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182830.8472 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.8486 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.8512 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d514195670d54becd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241014@182830.8862 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182830.9673 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182830.9920 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182830.9933 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.9949 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182830.9975 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182830.9989 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182830.9998 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182831.1000 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182831.2200 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.3500 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.4700 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d502111670d54bf00','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182831.5200 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6700 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.1010 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d502111670d54bf00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241014@182831.3200 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182831.3230 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182831.3430 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182831.3580 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.3750 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.3990 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.4150 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.4330 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182831.4460 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182831.4580 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.4730 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.4840 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d560692670d54bf0b','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182831.4890 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.5030 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.5360 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d560692670d54bf0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241014@182831.7570 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182831.7600 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182831.7800 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182831.7930 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.8090 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.8340 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.8490 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.8570 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182831.8710 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182831.8840 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.8990 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.9110 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d500483670d54bf15','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182831.9150 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.9300 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.9620 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d500483670d54bf15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241014@182831.1187 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182831.1190 hb0b45ds1ef601bjfneg39ippm Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241014@182831.1213 hb0b45ds1ef601bjfneg39ippm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241014@182831.1228 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.1244 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.1273 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.1289 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.1298 hb0b45ds1ef601bjfneg39ippm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182831.1311 hb0b45ds1ef601bjfneg39ippm Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400499200a'
20241014@182831.1325 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.1346 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.1358 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d519373670d54bf20','aut670d547293670d54bd50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182831.1363 hb0b45ds1ef601bjfneg39ippm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.1378 hb0b45ds1ef601bjfneg39ippm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.1408 hb0b45ds1ef601bjfneg39ippm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d519373670d54bf20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut670d547293670d54bd50' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20241014@182831.1625 hb0b45ds1ef601bjfneg39ippm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d547293670d54bd50','2406632','wait',39,'adm09112754980.682000002')
20241014@182831.1699 hb0b45ds1ef601bjfneg39ippm Query : use flama_phc
20241014@182831.1703 hb0b45ds1ef601bjfneg39ippm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182831.1734 hb0b45ds1ef601bjfneg39ippm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2611';
20241014@182831.1765 hb0b45ds1ef601bjfneg39ippm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2611';
20241014@182831.1811 hb0b45ds1ef601bjfneg39ippm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2611';
20241014@182831.1837 hb0b45ds1ef601bjfneg39ippm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2611';
20241014@182831.2450 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182831.2462 nlcnuqfj2ig7r64m6r8cin9dep Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182831.2517 nlcnuqfj2ig7r64m6r8cin9dep Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2612';
20241014@182831.2569 nlcnuqfj2ig7r64m6r8cin9dep Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2612';
20241014@182831.2626 nlcnuqfj2ig7r64m6r8cin9dep Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2612';
20241014@182831.2651 nlcnuqfj2ig7r64m6r8cin9dep Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2612';
20241014@182831.2702 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.2705 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182831.2766 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.2769 nlcnuqfj2ig7r64m6r8cin9dep Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241014@182831.2842 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20241014@182831.2948 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406640 and bi.ref ='304.4320.00.1' and bi.lordem =1
20241014@182831.3239 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20241014@182831.3260 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406640 and bi.ref ='304.4320.00.1' and bi.lordem =1
20241014@182831.3278 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20241014@182831.3298 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406640 and bi.ref ='304.4320.00.1' and bi.lordem =1
20241014@182831.3315 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.3318 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182831.3354 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.3357 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182831.3391 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.3394 nlcnuqfj2ig7r64m6r8cin9dep 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')
20241014@182831.3420 nlcnuqfj2ig7r64m6r8cin9dep 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
20241014@182831.4606 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.4611 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241014@182831.4707 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.4710 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182831.4741 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.4745 nlcnuqfj2ig7r64m6r8cin9dep Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182831.4784 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.4786 nlcnuqfj2ig7r64m6r8cin9dep Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241014@182831.4840 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.4842 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from td where ndoc = 39
20241014@182831.4855 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182831.4869 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.4884 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182831.4901 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.4915 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182831.4943 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.4958 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182831.4971 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182831.5034 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182831.5046 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.5061 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182831.5076 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d513127670d54bf79' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182831.5216 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.5233 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182831.5266 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182831.5278 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182831.5290 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182831.5301 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182831.5314 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182831.5326 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182831.5352 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d513127670d54bf79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182831.5560 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182831.5582 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.5599 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182831.5623 nlcnuqfj2ig7r64m6r8cin9dep Query : select 'normal' from dummy
20241014@182831.5639 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d513127670d54bf79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1237,100810,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182831.5885 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.5888 nlcnuqfj2ig7r64m6r8cin9dep Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241014@182831.5913 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241014@182831.6029 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6045 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.6073 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6087 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.6095 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182831.6107 nlcnuqfj2ig7r64m6r8cin9dep Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241183'
20241014@182831.6133 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6148 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.6159 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d557937670d54bf95','aut670d513127670d54bf79' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182831.6169 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6184 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.6221 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d557937670d54bf95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut670d513127670d54bf79' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182831.6429 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.6432 nlcnuqfj2ig7r64m6r8cin9dep Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241014@182831.6451 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241014@182831.6465 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6480 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.6507 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6521 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.6529 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182831.6540 nlcnuqfj2ig7r64m6r8cin9dep Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241183'
20241014@182831.6552 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6566 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.6577 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d514244670d54bf9f','aut670d513127670d54bf79' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182831.6581 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6595 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.6623 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d514244670d54bf9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut670d513127670d54bf79' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241014@182831.6819 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.6822 nlcnuqfj2ig7r64m6r8cin9dep Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241014@182831.6842 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241014@182831.6856 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6870 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.6896 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.6910 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.6955 nlcnuqfj2ig7r64m6r8cin9dep Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182831.6968 nlcnuqfj2ig7r64m6r8cin9dep Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241183'
20241014@182831.6984 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.7013 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182831.7028 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d554534670d54bfaa','aut670d513127670d54bf79' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182831.7032 nlcnuqfj2ig7r64m6r8cin9dep Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.7047 nlcnuqfj2ig7r64m6r8cin9dep Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182831.7075 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d554534670d54bfaa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut670d513127670d54bf79' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241014@182831.7292 nlcnuqfj2ig7r64m6r8cin9dep Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d513127670d54bf79','2406640','wait',39,'adm09112754980.682000002')
20241014@182831.7390 nlcnuqfj2ig7r64m6r8cin9dep Query : use flama_phc
20241014@182831.7393 nlcnuqfj2ig7r64m6r8cin9dep Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182831.7422 nlcnuqfj2ig7r64m6r8cin9dep Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2612';
20241014@182831.7464 nlcnuqfj2ig7r64m6r8cin9dep Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2612';
20241014@182831.7541 nlcnuqfj2ig7r64m6r8cin9dep Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2612';
20241014@182831.7572 nlcnuqfj2ig7r64m6r8cin9dep Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2612';
20241014@182831.8180 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182831.8190 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182831.8249 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2613';
20241014@182831.8304 ga3tkcjs6m5vgkh0c27hrcspt3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2613';
20241014@182831.8359 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2613';
20241014@182831.8387 ga3tkcjs6m5vgkh0c27hrcspt3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2613';
20241014@182831.8440 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.8443 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182831.8502 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.8505 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241014@182831.8546 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241014@182831.8663 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406641 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241014@182831.8946 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241014@182831.8966 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406641 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241014@182831.8982 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241014@182831.9000 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406641 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241014@182831.9018 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.9020 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182831.9051 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.9054 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182831.9081 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.9084 ga3tkcjs6m5vgkh0c27hrcspt3 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')
20241014@182831.9111 ga3tkcjs6m5vgkh0c27hrcspt3 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
20241014@182831.9145 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.9147 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241014@182831.9176 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.9179 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182831.9208 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.9210 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182831.9250 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.9253 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241014@182831.9296 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182831.9299 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from td where ndoc = 39
20241014@182831.9312 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182831.9326 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.9341 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182831.9360 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.9374 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182831.9400 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.9414 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182831.9428 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182831.9517 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182831.9554 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.9568 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182831.9598 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d579796670d54bfe6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182831.9753 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182831.9770 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182831.9800 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182831.9812 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182831.9823 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182831.9834 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182831.9845 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182831.9857 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182831.9868 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d579796670d54bfe6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182832.7300 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182832.1000 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1190 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182832.1440 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 'normal' from dummy
20241014@182832.1620 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d579796670d54bfe6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1238,100810,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182832.4190 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182832.4220 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241014@182832.4440 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1416.00.1'
20241014@182832.5580 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.5760 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.6060 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.6230 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.6330 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.6470 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241014@182832.6630 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.6800 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.6940 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d521961670d54c010','aut670d579796670d54bfe6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.6980 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7150 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.7480 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d521961670d54c010',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut670d579796670d54bfe6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182832.9750 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.9950 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.1025 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1042 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.1050 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.1063 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1078 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.1089 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d538851670d54c019','aut670d579796670d54bfe6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.1093 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1107 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.1134 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d538851670d54c019',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d579796670d54bfe6' ,0,0 ,2,23.00,20000,?,?,?)
20241014@182832.1340 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182832.1343 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241014@182832.1361 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1416.00.1'
20241014@182832.1374 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1389 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.1414 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1428 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.1436 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.1448 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241014@182832.1460 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1474 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.1485 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d562306670d54c023','aut670d579796670d54bfe6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.1489 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1503 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.1531 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d562306670d54c023',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d579796670d54bfe6' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241014@182832.1745 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1761 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.1787 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1801 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.1809 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.1821 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1836 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.1847 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d582998670d54c02c','aut670d579796670d54bfe6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.1850 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.1864 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.1893 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d582998670d54c02c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d579796670d54bfe6' ,0,0 ,2,23.00,50000,?,?,?)
20241014@182832.2107 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182832.2110 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241014@182832.2137 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1416.00.1'
20241014@182832.2152 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.2169 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.2197 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.2212 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.2221 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.2235 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241014@182832.2250 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.2265 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.2277 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d591103670d54c036','aut670d579796670d54bfe6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.2281 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.2298 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.2331 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d591103670d54c036',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut670d579796670d54bfe6' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241014@182832.2548 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.2563 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.2589 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.2603 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.2612 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.2624 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.2638 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.2650 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d573306670d54c040','aut670d579796670d54bfe6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.2653 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.2668 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.2696 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d573306670d54c040',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d579796670d54bfe6' ,0,0 ,2,23.00,80000,?,?,?)
20241014@182832.2903 ga3tkcjs6m5vgkh0c27hrcspt3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d579796670d54bfe6','2406641','wait',39,'adm09112754980.682000002')
20241014@182832.2978 ga3tkcjs6m5vgkh0c27hrcspt3 Query : use flama_phc
20241014@182832.2981 ga3tkcjs6m5vgkh0c27hrcspt3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182832.3015 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2613';
20241014@182832.3046 ga3tkcjs6m5vgkh0c27hrcspt3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2613';
20241014@182832.3093 ga3tkcjs6m5vgkh0c27hrcspt3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2613';
20241014@182832.3122 ga3tkcjs6m5vgkh0c27hrcspt3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2613';
20241014@182832.5004 9urk9i59ks7isnpmvgsd2503ck Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182832.5017 9urk9i59ks7isnpmvgsd2503ck Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182832.5072 9urk9i59ks7isnpmvgsd2503ck Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2614';
20241014@182832.5125 9urk9i59ks7isnpmvgsd2503ck Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2614';
20241014@182832.5180 9urk9i59ks7isnpmvgsd2503ck Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2614';
20241014@182832.5207 9urk9i59ks7isnpmvgsd2503ck Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2614';
20241014@182832.5258 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.5261 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182832.5322 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.5325 9urk9i59ks7isnpmvgsd2503ck Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241014@182832.5365 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20241014@182832.5476 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406642 and bi.ref ='324.4585.00.1' and bi.lordem =1
20241014@182832.5759 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20241014@182832.5778 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406642 and bi.ref ='324.4585.00.1' and bi.lordem =1
20241014@182832.5794 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20241014@182832.5815 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406642 and bi.ref ='324.4585.00.1' and bi.lordem =1
20241014@182832.5831 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20241014@182832.5853 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406642 and bi.ref ='324.4585.00.1' and bi.lordem =1
20241014@182832.5870 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.5873 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182832.5907 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.5910 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182832.5946 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.5950 9urk9i59ks7isnpmvgsd2503ck 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')
20241014@182832.5976 9urk9i59ks7isnpmvgsd2503ck 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
20241014@182832.6008 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.6011 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241014@182832.6039 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.6042 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182832.6070 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.6073 9urk9i59ks7isnpmvgsd2503ck Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182832.6116 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.6120 9urk9i59ks7isnpmvgsd2503ck Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241014@182832.6163 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.6166 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from td where ndoc = 39
20241014@182832.6178 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182832.6191 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.6206 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182832.6225 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.6239 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182832.6266 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.6280 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182832.6292 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182832.6354 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182832.6367 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.6380 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182832.6395 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d553278670d54c099' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182832.6539 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.6554 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182832.6584 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182832.6596 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182832.6607 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182832.6618 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182832.6629 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182832.6641 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182832.6651 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d553278670d54c099',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182832.6842 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182832.6863 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.6878 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182832.6922 9urk9i59ks7isnpmvgsd2503ck Query : select 'normal' from dummy
20241014@182832.6937 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d553278670d54c099',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1239,100810,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182832.7191 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.7194 9urk9i59ks7isnpmvgsd2503ck Query : select st.usalote valor from st where st.ref = '324.4585.00.1'
20241014@182832.7215 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4585.00.1'
20241014@182832.7324 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7340 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.7368 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7383 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.7391 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.7403 9urk9i59ks7isnpmvgsd2503ck Query : select sestamp valor from se where ref ='324.4585.00.1' and lote = 'r2300381200a'
20241014@182832.7427 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7441 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.7452 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d551950670d54c0b5','aut670d553278670d54c099' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.7456 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7470 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.7499 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d551950670d54c0b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13.000 ,'aut670d553278670d54c099' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182832.7702 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.7704 9urk9i59ks7isnpmvgsd2503ck Query : select st.usalote valor from st where st.ref = '324.4585.00.1'
20241014@182832.7723 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4585.00.1'
20241014@182832.7735 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7749 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.7773 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7787 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.7795 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.7816 9urk9i59ks7isnpmvgsd2503ck Query : select sestamp valor from se where ref ='324.4585.00.1' and lote = 'r2300381200a'
20241014@182832.7828 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7841 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.7854 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d519295670d54c0bf','aut670d553278670d54c099' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.7857 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.7871 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.7897 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d519295670d54c0bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut670d553278670d54c099' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241014@182832.8277 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.8356 9urk9i59ks7isnpmvgsd2503ck Query : select st.usalote valor from st where st.ref = '324.4585.00.1'
20241014@182832.8413 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4585.00.1'
20241014@182832.8490 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.8506 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.8531 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.8545 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.8553 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.8565 9urk9i59ks7isnpmvgsd2503ck Query : select sestamp valor from se where ref ='324.4585.00.1' and lote = 'r2300381200a'
20241014@182832.8577 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.8590 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.8654 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d593880670d54c0d1','aut670d553278670d54c099' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.8805 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.8926 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.8954 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d593880670d54c0d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut670d553278670d54c099' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241014@182832.9162 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.9166 9urk9i59ks7isnpmvgsd2503ck Query : select st.usalote valor from st where st.ref = '324.4585.00.1'
20241014@182832.9185 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4585.00.1'
20241014@182832.9198 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.9213 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.9236 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.9249 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.9257 9urk9i59ks7isnpmvgsd2503ck Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182832.9270 9urk9i59ks7isnpmvgsd2503ck Query : select sestamp valor from se where ref ='324.4585.00.1' and lote = 'r2300381200a'
20241014@182832.9282 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.9296 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182832.9307 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d581770670d54c0e2','aut670d553278670d54c099' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182832.9311 9urk9i59ks7isnpmvgsd2503ck Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182832.9325 9urk9i59ks7isnpmvgsd2503ck Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182832.9351 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d581770670d54c0e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut670d553278670d54c099' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241014@182832.9555 9urk9i59ks7isnpmvgsd2503ck Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d553278670d54c099','2406642','wait',39,'adm09112754980.682000002')
20241014@182832.9627 9urk9i59ks7isnpmvgsd2503ck Query : use flama_phc
20241014@182832.9629 9urk9i59ks7isnpmvgsd2503ck Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182832.9658 9urk9i59ks7isnpmvgsd2503ck Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2614';
20241014@182832.9689 9urk9i59ks7isnpmvgsd2503ck Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2614';
20241014@182832.9728 9urk9i59ks7isnpmvgsd2503ck Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2614';
20241014@182832.9754 9urk9i59ks7isnpmvgsd2503ck Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2614';
20241014@182833.3430 rqb8m23ib0c5se747somd43scb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182833.3530 rqb8m23ib0c5se747somd43scb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182833.4120 rqb8m23ib0c5se747somd43scb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2615';
20241014@182833.4690 rqb8m23ib0c5se747somd43scb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2615';
20241014@182833.5250 rqb8m23ib0c5se747somd43scb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2615';
20241014@182833.5510 rqb8m23ib0c5se747somd43scb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2615';
20241014@182833.6000 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.6030 rqb8m23ib0c5se747somd43scb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182833.6660 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.6690 rqb8m23ib0c5se747somd43scb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241014@182833.7080 rqb8m23ib0c5se747somd43scb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241014@182833.8240 rqb8m23ib0c5se747somd43scb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406643 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241014@182833.1116 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.1119 rqb8m23ib0c5se747somd43scb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182833.1150 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.1154 rqb8m23ib0c5se747somd43scb Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182833.1182 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.1185 rqb8m23ib0c5se747somd43scb 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')
20241014@182833.1214 rqb8m23ib0c5se747somd43scb 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
20241014@182833.1250 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.1253 rqb8m23ib0c5se747somd43scb Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241014@182833.1284 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.1288 rqb8m23ib0c5se747somd43scb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182833.1318 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.1322 rqb8m23ib0c5se747somd43scb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182833.1363 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.1366 rqb8m23ib0c5se747somd43scb Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241014@182833.1413 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.1416 rqb8m23ib0c5se747somd43scb Query : select 1 valor from td where ndoc = 39
20241014@182833.1428 rqb8m23ib0c5se747somd43scb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182833.1442 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.1458 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182833.1539 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.1555 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182833.1583 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.1601 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182833.1615 rqb8m23ib0c5se747somd43scb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182833.1677 rqb8m23ib0c5se747somd43scb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182833.1690 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.1706 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182833.1721 rqb8m23ib0c5se747somd43scb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d505129670d54c127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182833.1863 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.1879 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182833.1911 rqb8m23ib0c5se747somd43scb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182833.1923 rqb8m23ib0c5se747somd43scb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182833.1937 rqb8m23ib0c5se747somd43scb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182833.1948 rqb8m23ib0c5se747somd43scb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182833.1961 rqb8m23ib0c5se747somd43scb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182833.1976 rqb8m23ib0c5se747somd43scb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182833.1987 rqb8m23ib0c5se747somd43scb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d505129670d54c127',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182833.2225 rqb8m23ib0c5se747somd43scb Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182833.2268 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.2285 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182833.2306 rqb8m23ib0c5se747somd43scb Query : select 'normal' from dummy
20241014@182833.2328 rqb8m23ib0c5se747somd43scb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d505129670d54c127',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1240,100810,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182833.2561 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.2564 rqb8m23ib0c5se747somd43scb Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241014@182833.2585 rqb8m23ib0c5se747somd43scb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4980.00.1'
20241014@182833.2904 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.3021 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182833.3049 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.3066 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182833.3074 rqb8m23ib0c5se747somd43scb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182833.3088 rqb8m23ib0c5se747somd43scb Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241014@182833.3108 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.3123 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182833.3135 rqb8m23ib0c5se747somd43scb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d537549670d54c14b','aut670d505129670d54c127' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182833.3139 rqb8m23ib0c5se747somd43scb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.3153 rqb8m23ib0c5se747somd43scb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182833.3183 rqb8m23ib0c5se747somd43scb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d537549670d54c14b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut670d505129670d54c127' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182833.3457 rqb8m23ib0c5se747somd43scb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d505129670d54c127','2406643','wait',39,'adm09112754980.682000002')
20241014@182833.3716 rqb8m23ib0c5se747somd43scb Query : use flama_phc
20241014@182833.3720 rqb8m23ib0c5se747somd43scb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182833.3752 rqb8m23ib0c5se747somd43scb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2615';
20241014@182833.4079 rqb8m23ib0c5se747somd43scb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2615';
20241014@182833.4129 rqb8m23ib0c5se747somd43scb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2615';
20241014@182833.4158 rqb8m23ib0c5se747somd43scb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2615';
20241014@182833.4830 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182833.4840 9vkl4qvqiia2ngtg1v2b00vibv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182833.4893 9vkl4qvqiia2ngtg1v2b00vibv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2616';
20241014@182833.4957 9vkl4qvqiia2ngtg1v2b00vibv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2616';
20241014@182833.5036 9vkl4qvqiia2ngtg1v2b00vibv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2616';
20241014@182833.5064 9vkl4qvqiia2ngtg1v2b00vibv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2616';
20241014@182833.5115 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.5118 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182833.5181 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.5184 9vkl4qvqiia2ngtg1v2b00vibv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241014@182833.5225 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5335 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5611 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5632 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5648 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5668 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5685 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5704 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5722 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5744 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5760 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5781 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5798 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5818 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5834 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5854 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5870 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241014@182833.5891 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406647 and bi.ref ='324.682.00.01' and bi.lordem =1
20241014@182833.5910 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.5913 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182833.5945 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.5948 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182833.5979 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.5982 9vkl4qvqiia2ngtg1v2b00vibv 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')
20241014@182833.6009 9vkl4qvqiia2ngtg1v2b00vibv 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
20241014@182833.6044 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.6047 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241014@182833.6079 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.6081 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182833.6111 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.6114 9vkl4qvqiia2ngtg1v2b00vibv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182833.6152 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.6155 9vkl4qvqiia2ngtg1v2b00vibv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241014@182833.6200 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.6203 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from td where ndoc = 39
20241014@182833.6216 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182833.6230 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.6245 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182833.6267 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.6322 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182833.6503 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.6521 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182833.6535 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182833.6597 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182833.6610 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.6626 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182833.6649 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182833.6799 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.6818 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182833.6852 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182833.6865 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182833.6880 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182833.6892 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182833.6905 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182833.6917 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182833.6929 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d528126670d54c19f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182833.8195 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182833.8547 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.8564 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182833.8586 9vkl4qvqiia2ngtg1v2b00vibv Query : select 'normal' from dummy
20241014@182833.8601 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d528126670d54c19f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1241,100810,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182833.8849 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.8853 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182833.8875 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182833.8991 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.9008 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182833.9033 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.9047 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182833.9056 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182833.9068 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20241014@182833.9089 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.9104 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182833.9116 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d537807670d54c1dd','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182833.9120 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.9136 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182833.9165 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d537807670d54c1dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182833.9528 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.9589 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182833.9616 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.9631 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182833.9639 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182833.9659 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.9675 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182833.9686 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d539345670d54c1eb','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182833.9690 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182833.9704 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182833.9733 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d539345670d54c1eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,20000,?,?,?)
20241014@182833.9950 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182833.9953 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182833.9972 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182833.9986 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.0000 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.2600 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4000 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4900 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.6100 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20241014@182834.7300 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.8700 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.9800 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d552064670d54c201','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.1020 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1160 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.1450 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d552064670d54c201',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241014@182834.3620 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.3780 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.4030 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4180 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4260 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.4380 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4520 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4640 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d506596670d54c20a','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.4680 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4820 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.5100 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d506596670d54c20a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,50000,?,?,?)
20241014@182834.7210 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182834.7240 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182834.7430 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182834.7570 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.7720 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.7960 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.8100 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.8190 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.8300 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20241014@182834.8420 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.8560 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.8670 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d575987670d54c214','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.8710 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.8850 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.9130 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d575987670d54c214',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241014@182834.1124 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1140 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.1165 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1179 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.1187 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.1199 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1213 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.1225 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d593583670d54c21d','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.1229 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1245 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.1276 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d593583670d54c21d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,80000,?,?,?)
20241014@182834.1504 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182834.1507 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182834.1526 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182834.1539 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1556 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.1584 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1600 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.1609 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.1623 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20241014@182834.1636 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1651 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.1664 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d530231670d54c227','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.1668 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1683 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.1712 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d530231670d54c227',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241014@182834.1919 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.1935 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.2159 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2176 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.2185 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.2197 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2213 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.2225 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d556481670d54c235','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.2229 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2244 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.2273 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d556481670d54c235',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,110000,?,?,?)
20241014@182834.2487 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182834.2490 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182834.2509 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182834.2523 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2538 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.2565 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2579 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.2587 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.2599 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20241014@182834.2612 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2626 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.2637 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d537113670d54c23f','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.2642 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2656 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.2685 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d537113670d54c23f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241014@182834.2909 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2925 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.2951 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.2966 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.2975 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.2988 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.3003 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.3015 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d580499670d54c248','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.3020 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.3034 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.3064 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d580499670d54c248',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,140000,?,?,?)
20241014@182834.3282 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182834.3284 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182834.3401 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182834.3650 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.3671 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.3696 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.3765 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.3774 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.3786 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241014@182834.3801 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.3817 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.3828 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d525629670d54c25c','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.3832 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.3845 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.3880 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d525629670d54c25c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241014@182834.4099 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4115 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.4139 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4155 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4163 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.4175 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4189 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4202 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d513790670d54c265','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.4206 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4220 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.4246 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d513790670d54c265',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,170000,?,?,?)
20241014@182834.4453 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182834.4456 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182834.4477 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182834.4492 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4507 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.4531 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4544 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4552 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.4565 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241014@182834.4577 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4591 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4606 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d501748670d54c26f','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.4611 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4626 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.4655 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d501748670d54c26f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241014@182834.4873 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4889 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.4917 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4933 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4942 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.4954 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4968 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.4980 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d540880670d54c278','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.4984 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.4999 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.5027 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d540880670d54c278',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,200000,?,?,?)
20241014@182834.5244 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182834.5247 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182834.5266 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182834.5280 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.5295 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.5330 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.5345 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.5353 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.5365 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241014@182834.5377 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.5391 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.5402 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d556483670d54c283','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.5406 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.5422 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.5452 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d556483670d54c283',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241014@182834.5669 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.5685 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.5710 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.5727 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.5737 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.5749 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.5763 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.5774 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d510232670d54c28c','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.5778 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.5982 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.6013 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d510232670d54c28c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,230000,?,?,?)
20241014@182834.6229 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182834.6232 9vkl4qvqiia2ngtg1v2b00vibv Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241014@182834.6250 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.682.00.01'
20241014@182834.6266 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.6282 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.6308 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.6325 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.6334 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.6346 9vkl4qvqiia2ngtg1v2b00vibv Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400221200a'
20241014@182834.6358 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.6373 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.6384 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d521977670d54c29b','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.6388 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.6403 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.6431 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d521977670d54c29b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241014@182834.6653 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.6670 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.6696 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.6712 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.6721 9vkl4qvqiia2ngtg1v2b00vibv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182834.6733 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.6748 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182834.6761 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d517800670d54c2a4','aut670d528126670d54c19f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182834.6765 9vkl4qvqiia2ngtg1v2b00vibv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.6780 9vkl4qvqiia2ngtg1v2b00vibv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182834.6808 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d517800670d54c2a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d528126670d54c19f' ,0,0 ,2,23.00,260000,?,?,?)
20241014@182834.7037 9vkl4qvqiia2ngtg1v2b00vibv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d528126670d54c19f','2406647','wait',39,'adm09112754980.682000002')
20241014@182834.7110 9vkl4qvqiia2ngtg1v2b00vibv Query : use flama_phc
20241014@182834.7113 9vkl4qvqiia2ngtg1v2b00vibv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182834.7142 9vkl4qvqiia2ngtg1v2b00vibv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2616';
20241014@182834.7176 9vkl4qvqiia2ngtg1v2b00vibv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2616';
20241014@182834.7222 9vkl4qvqiia2ngtg1v2b00vibv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2616';
20241014@182834.7247 9vkl4qvqiia2ngtg1v2b00vibv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2616';
20241014@182834.7804 4tflbkgev83h3spbe2j0lkeiom Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182834.7814 4tflbkgev83h3spbe2j0lkeiom Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182834.7870 4tflbkgev83h3spbe2j0lkeiom Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2617';
20241014@182834.7924 4tflbkgev83h3spbe2j0lkeiom Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2617';
20241014@182834.7979 4tflbkgev83h3spbe2j0lkeiom Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2617';
20241014@182834.8007 4tflbkgev83h3spbe2j0lkeiom Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2617';
20241014@182834.8059 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8062 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182834.8122 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8125 4tflbkgev83h3spbe2j0lkeiom Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241014@182834.8164 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20241014@182834.8278 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406648 and bi.ref ='324.728.00.01' and bi.lordem =1
20241014@182834.8558 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20241014@182834.8577 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406648 and bi.ref ='324.728.00.01' and bi.lordem =1
20241014@182834.8595 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8598 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182834.8630 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8633 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182834.8665 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8668 4tflbkgev83h3spbe2j0lkeiom 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')
20241014@182834.8694 4tflbkgev83h3spbe2j0lkeiom 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
20241014@182834.8728 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8730 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241014@182834.8768 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8771 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182834.8799 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8802 4tflbkgev83h3spbe2j0lkeiom Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182834.8853 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8856 4tflbkgev83h3spbe2j0lkeiom Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241014@182834.8903 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182834.8905 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from td where ndoc = 39
20241014@182834.8920 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182834.8934 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.8950 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182834.8971 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.8985 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182834.9013 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.9028 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182834.9041 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182834.9102 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182834.9123 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.9138 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182834.9154 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d569021670d54c2dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182834.9295 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.9310 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182834.9537 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182834.9550 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182834.9563 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182834.9576 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182834.9587 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182834.9599 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182834.9610 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d569021670d54c2dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182834.9813 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182834.9834 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182834.9849 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182834.9871 4tflbkgev83h3spbe2j0lkeiom Query : select 'normal' from dummy
20241014@182834.9887 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d569021670d54c2dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1242,100810,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182835.1250 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182835.1280 4tflbkgev83h3spbe2j0lkeiom Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20241014@182835.1500 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.728.00.01'
20241014@182835.2650 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.2910 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.3170 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.3320 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.3410 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182835.3530 4tflbkgev83h3spbe2j0lkeiom Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20241014@182835.3680 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.3830 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.3940 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d576079670d54c308','aut670d569021670d54c2dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182835.3980 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.4160 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.4480 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d576079670d54c308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut670d569021670d54c2dc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182835.6660 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.6820 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.7090 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.7370 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.7450 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182835.7650 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.7790 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.7910 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d554399670d54c312','aut670d569021670d54c2dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182835.7950 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.8100 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.8390 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d554399670d54c312',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d569021670d54c2dc' ,0,0 ,2,23.00,20000,?,?,?)
20241014@182835.1050 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182835.1053 4tflbkgev83h3spbe2j0lkeiom Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20241014@182835.1073 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.728.00.01'
20241014@182835.1086 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.1103 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.1130 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.1144 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.1152 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182835.1164 4tflbkgev83h3spbe2j0lkeiom Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20241014@182835.1181 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.1195 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.1206 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d587726670d54c31c','aut670d569021670d54c2dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182835.1210 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.1224 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.1252 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d587726670d54c31c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut670d569021670d54c2dc' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241014@182835.1478 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.1495 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.1520 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.1536 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.1546 4tflbkgev83h3spbe2j0lkeiom Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182835.1558 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.1576 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.1588 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d571052670d54c326','aut670d569021670d54c2dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182835.1591 4tflbkgev83h3spbe2j0lkeiom Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.1606 4tflbkgev83h3spbe2j0lkeiom Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.1644 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670d571052670d54c326',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670d569021670d54c2dc' ,0,0 ,2,23.00,50000,?,?,?)
20241014@182835.1852 4tflbkgev83h3spbe2j0lkeiom Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d569021670d54c2dc','2406648','wait',39,'adm09112754980.682000002')
20241014@182835.1930 4tflbkgev83h3spbe2j0lkeiom Query : use flama_phc
20241014@182835.1933 4tflbkgev83h3spbe2j0lkeiom Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182835.1963 4tflbkgev83h3spbe2j0lkeiom Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2617';
20241014@182835.2003 4tflbkgev83h3spbe2j0lkeiom Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2617';
20241014@182835.2043 4tflbkgev83h3spbe2j0lkeiom Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2617';
20241014@182835.2072 4tflbkgev83h3spbe2j0lkeiom Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2617';
20241014@182835.3753 mq4iism0k8pb2b6sif61tln9gb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182835.3767 mq4iism0k8pb2b6sif61tln9gb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182835.3840 mq4iism0k8pb2b6sif61tln9gb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2618';
20241014@182835.3907 mq4iism0k8pb2b6sif61tln9gb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2618';
20241014@182835.3962 mq4iism0k8pb2b6sif61tln9gb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2618';
20241014@182835.4016 mq4iism0k8pb2b6sif61tln9gb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2618';
20241014@182835.4067 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4070 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182835.4143 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4147 mq4iism0k8pb2b6sif61tln9gb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241014@182835.4193 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20241014@182835.4303 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406649 and bi.ref ='324.988.00.01' and bi.lordem =1
20241014@182835.4586 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20241014@182835.4606 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406649 and bi.ref ='324.988.00.01' and bi.lordem =1
20241014@182835.4624 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20241014@182835.4647 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406649 and bi.ref ='324.988.00.01' and bi.lordem =1
20241014@182835.4664 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20241014@182835.4683 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406649 and bi.ref ='324.988.00.01' and bi.lordem =1
20241014@182835.4700 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4703 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182835.4745 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4748 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182835.4779 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4786 mq4iism0k8pb2b6sif61tln9gb 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')
20241014@182835.4818 mq4iism0k8pb2b6sif61tln9gb 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
20241014@182835.4866 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4869 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241014@182835.4899 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4902 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182835.4933 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4936 mq4iism0k8pb2b6sif61tln9gb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182835.4979 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.4983 mq4iism0k8pb2b6sif61tln9gb Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241014@182835.5029 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.5032 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from td where ndoc = 39
20241014@182835.5046 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182835.5061 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.5080 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182835.5102 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.5119 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182835.5154 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.5169 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182835.5187 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182835.5256 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182835.5269 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.5287 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182835.5304 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d509505670d54c37e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182835.5453 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.5469 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182835.5513 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182835.5531 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182835.5543 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182835.5555 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182835.5567 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182835.5578 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182835.5589 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d509505670d54c37e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182835.5782 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182835.5804 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.5830 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182835.5859 mq4iism0k8pb2b6sif61tln9gb Query : select 'normal' from dummy
20241014@182835.5873 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d509505670d54c37e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1243,100810,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182835.6118 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.6121 mq4iism0k8pb2b6sif61tln9gb Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20241014@182835.6143 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.988.00.01'
20241014@182835.6256 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.6272 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.6308 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.6323 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.6332 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182835.6344 mq4iism0k8pb2b6sif61tln9gb Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20241014@182835.6365 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.6378 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.6390 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d567523670d54c39b','aut670d509505670d54c37e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182835.6393 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.6410 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.6443 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d567523670d54c39b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut670d509505670d54c37e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182835.7018 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.7058 mq4iism0k8pb2b6sif61tln9gb Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20241014@182835.7788 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.988.00.01'
20241014@182835.7801 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.7831 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.7856 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.7871 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.7879 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182835.7890 mq4iism0k8pb2b6sif61tln9gb Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20241014@182835.7902 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.7915 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.7926 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d537832670d54c3c0','aut670d509505670d54c37e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182835.7930 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.7957 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.7985 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d537832670d54c3c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut670d509505670d54c37e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241014@182835.8399 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.8402 mq4iism0k8pb2b6sif61tln9gb Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20241014@182835.8421 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.988.00.01'
20241014@182835.8437 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.8452 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.8481 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.8495 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.8514 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182835.8525 mq4iism0k8pb2b6sif61tln9gb Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20241014@182835.8545 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.8561 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.8572 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d581427670d54c3d0','aut670d509505670d54c37e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182835.8576 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.8590 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.8617 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d581427670d54c3d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut670d509505670d54c37e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241014@182835.8838 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.8841 mq4iism0k8pb2b6sif61tln9gb Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20241014@182835.8868 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.988.00.01'
20241014@182835.8887 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.8902 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.8940 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.8960 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.8969 mq4iism0k8pb2b6sif61tln9gb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182835.8981 mq4iism0k8pb2b6sif61tln9gb Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20241014@182835.8993 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.9007 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182835.9041 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d516295670d54c3db','aut670d509505670d54c37e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182835.9058 mq4iism0k8pb2b6sif61tln9gb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182835.9072 mq4iism0k8pb2b6sif61tln9gb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182835.9101 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d516295670d54c3db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut670d509505670d54c37e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241014@182835.9305 mq4iism0k8pb2b6sif61tln9gb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670d509505670d54c37e','2406649','wait',39,'adm09112754980.682000002')
20241014@182835.9410 mq4iism0k8pb2b6sif61tln9gb Query : use flama_phc
20241014@182835.9413 mq4iism0k8pb2b6sif61tln9gb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241014@182835.9458 mq4iism0k8pb2b6sif61tln9gb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2618';
20241014@182835.9500 mq4iism0k8pb2b6sif61tln9gb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2618';
20241014@182835.9560 mq4iism0k8pb2b6sif61tln9gb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2618';
20241014@182835.9589 mq4iism0k8pb2b6sif61tln9gb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2618';
20241014@182836.3130 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241014@182836.3230 f3k9t6hgkn11o4dgn33abni1h0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241014@182836.3780 f3k9t6hgkn11o4dgn33abni1h0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2619';
20241014@182836.4370 f3k9t6hgkn11o4dgn33abni1h0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2619';
20241014@182836.4930 f3k9t6hgkn11o4dgn33abni1h0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2619';
20241014@182836.5190 f3k9t6hgkn11o4dgn33abni1h0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2619';
20241014@182836.5700 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.5730 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241014@182836.6370 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.6400 f3k9t6hgkn11o4dgn33abni1h0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20241014@182836.6800 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.9120 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1245 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1266 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1283 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1303 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1323 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1343 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1360 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1378 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1395 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1415 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1432 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1451 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1466 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1486 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1502 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1520 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1536 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1555 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1571 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1590 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1606 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1625 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1640 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1660 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1676 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1694 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1711 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1730 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1745 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1764 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1779 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1798 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1813 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1832 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1849 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1869 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1884 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1903 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1919 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1938 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1953 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.1973 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.1988 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.2007 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.2025 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.2044 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.2061 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.2079 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.2096 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.2114 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.2131 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.2150 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.2166 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.2185 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.2203 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1308.00.1'
20241014@182836.2223 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2066 and bo.obrano = 2406656 and bi.ref ='324.1308.00.1' and bi.lordem =1
20241014@182836.2241 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.2244 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241014@182836.2278 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.2281 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 1 valor from td where td.ndoc = 39
20241014@182836.2310 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.2320 f3k9t6hgkn11o4dgn33abni1h0 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')
20241014@182836.2354 f3k9t6hgkn11o4dgn33abni1h0 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
20241014@182836.2397 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.2400 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20241014@182836.2432 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.2435 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241014@182836.2465 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.2469 f3k9t6hgkn11o4dgn33abni1h0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241014@182836.2511 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.2514 f3k9t6hgkn11o4dgn33abni1h0 Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20241014@182836.2561 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.2564 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from td where ndoc = 39
20241014@182836.2577 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241014@182836.2591 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.2608 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182836.2627 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.2642 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182836.2673 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.2688 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182836.2701 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182836.2765 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241014@182836.2778 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.2792 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241014@182836.2807 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670d519383670d54c441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241014@182836.2950 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.2972 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241014@182836.3007 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241014@182836.3019 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241014@182836.3032 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241014@182836.3043 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241014@182836.3055 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241014@182836.3067 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241014@182836.3078 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670d519383670d54c441',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241014@182836.3285 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 fno valor from wsftdata order by fno desc
20241014@182836.3307 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.3324 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241014@182836.3347 f3k9t6hgkn11o4dgn33abni1h0 Query : select 'normal' from dummy
20241014@182836.3362 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670d519383670d54c441',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1244,199506,0,'2024-10-14',39,'euro',0,0,2024 ,?,?)
20241014@182836.3808 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.3812 f3k9t6hgkn11o4dgn33abni1h0 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182836.3834 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182836.3847 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.3869 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182836.3893 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.3907 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182836.3915 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182836.3927 f3k9t6hgkn11o4dgn33abni1h0 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182836.3939 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.3953 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182836.3964 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d518429670d54c460','aut670d519383670d54c441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182836.3968 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.3982 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182836.4009 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d518429670d54c460',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11.000 ,'aut670d519383670d54c441' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241014@182836.4232 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.4235 f3k9t6hgkn11o4dgn33abni1h0 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182836.4253 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182836.4266 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.4283 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182836.4306 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.4321 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182836.4330 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182836.4341 f3k9t6hgkn11o4dgn33abni1h0 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182836.4353 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.4367 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182836.4378 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d573103670d54c46a','aut670d519383670d54c441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182836.4382 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.4396 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182836.4423 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d573103670d54c46a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670d519383670d54c441' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241014@182836.4640 f3k9t6hgkn11o4dgn33abni1h0 Query : use flama_phc
20241014@182836.4643 f3k9t6hgkn11o4dgn33abni1h0 Query : select st.usalote valor from st where st.ref = '324.1308.00.1'
20241014@182836.4662 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1308.00.1'
20241014@182836.4675 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.4691 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182836.4716 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.4731 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182836.4739 f3k9t6hgkn11o4dgn33abni1h0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241014@182836.4751 f3k9t6hgkn11o4dgn33abni1h0 Query : select sestamp valor from se where ref ='324.1308.00.1' and lote = 'r2400720200a'
20241014@182836.4763 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.4778 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241014@182836.4796 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670d562647670d54c474','aut670d519383670d54c441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241014@182836.4800 f3k9t6hgkn11o4dgn33abni1h0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241014@182836.4814 f3k9t6hgkn11o4dgn33abni1h0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241014@182836.4842 f3k9t6hgkn11o4dgn33abni1h0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670d562647670d54c474',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut670d519383670d54c441' ,0,0 ,2,23.00,30000,?,?,?,?,?)
