20240314@183627.6294 m2aqkt2mnab5npd84viopgmebs INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240314@183627.6291 m2aqkt2mnab5npd84viopgmebs Query : use flama_phc
20240314@183627.6297 m2aqkt2mnab5npd84viopgmebs Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183627.6308 m2aqkt2mnab5npd84viopgmebs Query : use flama_phc
20240314@183627.6310 m2aqkt2mnab5npd84viopgmebs Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183627.6334 m2aqkt2mnab5npd84viopgmebs Query : use flama_phc
20240314@183627.6337 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from td where ndoc = 39
20240314@183627.6360 m2aqkt2mnab5npd84viopgmebs Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183627.6371 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183627.6389 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183627.6406 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183627.6443 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183627.6484 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183627.6497 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183627.6507 m2aqkt2mnab5npd84viopgmebs Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183627.6630 m2aqkt2mnab5npd84viopgmebs Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183627.6643 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183627.6678 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183627.6710 m2aqkt2mnab5npd84viopgmebs Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f340353665f343ab9e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183627.6902 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183627.6923 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183627.6956 m2aqkt2mnab5npd84viopgmebs Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183627.6961 m2aqkt2mnab5npd84viopgmebs Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183627.6986 m2aqkt2mnab5npd84viopgmebs Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183627.6991 m2aqkt2mnab5npd84viopgmebs Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183627.6999 m2aqkt2mnab5npd84viopgmebs Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183627.7013 m2aqkt2mnab5npd84viopgmebs Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183627.7017 m2aqkt2mnab5npd84viopgmebs Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f340353665f343ab9e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183627.7302 m2aqkt2mnab5npd84viopgmebs Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183627.7333 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183627.7380 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183627.7418 m2aqkt2mnab5npd84viopgmebs Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f340353665f343ab9e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',467,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183627.7767 m2aqkt2mnab5npd84viopgmebs Query : use flama_phc
20240314@183627.7778 m2aqkt2mnab5npd84viopgmebs Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20240314@183627.7803 m2aqkt2mnab5npd84viopgmebs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20240314@183627.7814 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183627.7828 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183627.7874 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183627.7888 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183627.7907 m2aqkt2mnab5npd84viopgmebs Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20240314@183627.7970 m2aqkt2mnab5npd84viopgmebs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183627.9469 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183627.9956 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183627.9992 m2aqkt2mnab5npd84viopgmebs Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f345538465f343abe7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65f340353665f343ab9e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183628.2900 m2aqkt2mnab5npd84viopgmebs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.3060 m2aqkt2mnab5npd84viopgmebs Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183628.3110 m2aqkt2mnab5npd84viopgmebs Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f345538465f343abe7','aut65f340353665f343ab9e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183628.3150 m2aqkt2mnab5npd84viopgmebs Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f340353665f343ab9e','2402133','wait',39,'ari17112337378,753000005')
20240314@183628.3310 m2aqkt2mnab5npd84viopgmebs Query : use flama_phc
20240314@183628.3470 m2aqkt2mnab5npd84viopgmebs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183628.3590 m2aqkt2mnab5npd84viopgmebs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='632';
20240314@183628.3760 m2aqkt2mnab5npd84viopgmebs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='632';
20240314@183628.3890 m2aqkt2mnab5npd84viopgmebs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='632';
20240314@183628.4110 m2aqkt2mnab5npd84viopgmebs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='632';
20240314@183628.8200 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183628.8410 ktf95s0sl12hrd5u16ru1cqvl2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183628.8660 ktf95s0sl12hrd5u16ru1cqvl2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='633';
20240314@183628.9080 ktf95s0sl12hrd5u16ru1cqvl2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='633';
20240314@183628.9230 ktf95s0sl12hrd5u16ru1cqvl2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='633';
20240314@183628.9420 ktf95s0sl12hrd5u16ru1cqvl2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='633';
20240314@183628.9550 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.9580 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183628.9710 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.9740 ktf95s0sl12hrd5u16ru1cqvl2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240314@183628.1016 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20240314@183628.1198 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402134 and bi.ref ='324.4966.00.1' and bi.lordem =1
20240314@183628.1546 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20240314@183628.1558 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402134 and bi.ref ='324.4966.00.1' and bi.lordem =1
20240314@183628.1563 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.1566 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183628.1579 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.1593 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183628.1711 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.1715 ktf95s0sl12hrd5u16ru1cqvl2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183628.1725 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183628.1744 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.1747 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183628.1780 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.1785 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183628.1797 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.1800 ktf95s0sl12hrd5u16ru1cqvl2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183628.1816 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.1819 ktf95s0sl12hrd5u16ru1cqvl2 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183628.1832 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.1836 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from td where ndoc = 39
20240314@183628.1854 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183628.1867 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183628.1893 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183628.1911 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183628.1937 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183628.1976 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183628.1992 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183628.2003 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183628.2150 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183628.2168 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183628.2182 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183628.2192 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f345324665f343ac30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183628.2387 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183628.2412 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183628.2445 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183628.2450 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183628.2455 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183628.2459 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183628.2464 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183628.2469 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183628.2473 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f345324665f343ac30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183628.2769 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183628.2785 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183628.2813 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183628.2833 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f345324665f343ac30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',468,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183628.3177 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.3191 ktf95s0sl12hrd5u16ru1cqvl2 Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20240314@183628.3203 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20240314@183628.3374 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.3388 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183628.3422 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.3436 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183628.3440 ktf95s0sl12hrd5u16ru1cqvl2 Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2300825100a'
20240314@183628.3453 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183628.3486 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.3499 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183628.3526 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f347517065f343ac55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',68.000 ,'aut65f345324665f343ac30' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183628.3834 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.3867 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183628.3872 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347517065f343ac55','aut65f345324665f343ac30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183628.3876 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.3879 ktf95s0sl12hrd5u16ru1cqvl2 Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20240314@183628.3891 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20240314@183628.3902 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.3932 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183628.3976 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.3991 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183628.3996 ktf95s0sl12hrd5u16ru1cqvl2 Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2300825100a'
20240314@183628.4005 ktf95s0sl12hrd5u16ru1cqvl2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183628.4014 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.4026 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183628.4086 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f343980465f343ac62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f345324665f343ac30' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240314@183628.4397 ktf95s0sl12hrd5u16ru1cqvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.4413 ktf95s0sl12hrd5u16ru1cqvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183628.4418 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f343980465f343ac62','aut65f345324665f343ac30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183628.4423 ktf95s0sl12hrd5u16ru1cqvl2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f345324665f343ac30','2402134','wait',39,'ari17112337378,753000005')
20240314@183628.4452 ktf95s0sl12hrd5u16ru1cqvl2 Query : use flama_phc
20240314@183628.4455 ktf95s0sl12hrd5u16ru1cqvl2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183628.4467 ktf95s0sl12hrd5u16ru1cqvl2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='633';
20240314@183628.4484 ktf95s0sl12hrd5u16ru1cqvl2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='633';
20240314@183628.4514 ktf95s0sl12hrd5u16ru1cqvl2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='633';
20240314@183628.4527 ktf95s0sl12hrd5u16ru1cqvl2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='633';
20240314@183628.4897 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183628.4914 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183628.4934 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='634';
20240314@183628.4985 6fpms9sdlrmjoaf6gdhst6bqh8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='634';
20240314@183628.5001 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='634';
20240314@183628.5014 6fpms9sdlrmjoaf6gdhst6bqh8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='634';
20240314@183628.5042 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5046 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183628.5062 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5072 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240314@183628.5116 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240314@183628.5302 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402135 and bi.ref ='324.727.00.01' and bi.lordem =1
20240314@183628.5672 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240314@183628.5684 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402135 and bi.ref ='324.727.00.01' and bi.lordem =1
20240314@183628.5689 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240314@183628.5699 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402135 and bi.ref ='324.727.00.01' and bi.lordem =1
20240314@183628.5704 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5707 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183628.5721 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5724 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183628.5737 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5740 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183628.5756 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183628.5773 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5776 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183628.5786 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5788 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183628.5800 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5803 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183628.5814 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5818 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183628.5829 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.5832 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from td where ndoc = 39
20240314@183628.5867 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183628.5879 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183628.5899 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183628.5915 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183628.5933 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183628.5977 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183628.5991 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183628.6004 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183628.6122 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183628.6138 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183628.6162 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183628.6184 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f346825565f343ac92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183628.6375 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183628.6399 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183628.6428 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183628.6433 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183628.6438 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183628.6444 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183628.6462 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183628.6467 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183628.6471 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f346825565f343ac92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183628.6821 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183628.6859 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183628.6872 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183628.6889 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f346825565f343ac92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',469,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183628.7502 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.8100 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240314@183628.8116 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240314@183628.8292 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.8307 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183628.8329 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.8343 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183628.8348 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240314@183628.8391 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183628.8408 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.8424 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183628.8467 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f341446965f343accd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65f346825565f343ac92' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183628.8740 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.8764 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183628.8770 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f341446965f343accd','aut65f346825565f343ac92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183628.8776 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.8814 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183628.8844 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.8862 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183628.8866 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183628.8878 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.8892 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183628.8939 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f344447465f343acd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f346825565f343ac92' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183628.9225 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.9252 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183628.9257 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344447465f343acd8','aut65f346825565f343ac92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183628.9262 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183628.9265 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240314@183628.9288 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240314@183628.9327 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.9345 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183628.9385 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.9398 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183628.9417 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240314@183628.9427 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183628.9442 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.9457 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183628.9481 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f344681765f343ace6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut65f346825565f343ac92' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183628.9798 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.9819 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183628.9824 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344681765f343ace6','aut65f346825565f343ac92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183628.9828 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.9852 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183628.9898 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183628.9915 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183628.9922 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183628.9932 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183628.9962 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183628.9994 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f347895565f343acf2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f346825565f343ac92' ,0,0 ,2,23.00,50000,?,?,?)
20240314@183629.2750 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.2970 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183629.3020 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347895565f343acf2','aut65f346825565f343ac92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183629.3060 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183629.3100 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240314@183629.3200 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240314@183629.3310 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.3590 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183629.3880 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.4080 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183629.4110 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240314@183629.4210 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183629.4310 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.4430 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183629.4830 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f347006665f343ad0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut65f346825565f343ac92' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240314@183629.7800 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.8160 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183629.8220 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347006665f343ad0a','aut65f346825565f343ac92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183629.8270 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.9190 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183629.9450 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.9760 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183629.9810 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183629.9940 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.1010 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183629.1038 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f343955165f343ad18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f346825565f343ac92' ,0,0 ,2,23.00,80000,?,?,?)
20240314@183629.1328 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.1363 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183629.1372 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f343955165f343ad18','aut65f346825565f343ac92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183629.1379 6fpms9sdlrmjoaf6gdhst6bqh8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f346825565f343ac92','2402135','wait',39,'ari17112337378,753000005')
20240314@183629.1398 6fpms9sdlrmjoaf6gdhst6bqh8 Query : use flama_phc
20240314@183629.1401 6fpms9sdlrmjoaf6gdhst6bqh8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183629.1413 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='634';
20240314@183629.1429 6fpms9sdlrmjoaf6gdhst6bqh8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='634';
20240314@183629.1458 6fpms9sdlrmjoaf6gdhst6bqh8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='634';
20240314@183629.1471 6fpms9sdlrmjoaf6gdhst6bqh8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='634';
20240314@183629.1932 slaqd20ovv1kgueilra1sg2d3c Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183629.1951 slaqd20ovv1kgueilra1sg2d3c Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183629.1969 slaqd20ovv1kgueilra1sg2d3c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='635';
20240314@183629.2034 slaqd20ovv1kgueilra1sg2d3c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='635';
20240314@183629.2049 slaqd20ovv1kgueilra1sg2d3c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='635';
20240314@183629.2062 slaqd20ovv1kgueilra1sg2d3c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='635';
20240314@183629.2074 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2088 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183629.2113 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2116 slaqd20ovv1kgueilra1sg2d3c Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240314@183629.2172 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240314@183629.2398 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402136 and bi.ref ='324.4902.00.1' and bi.lordem =1
20240314@183629.2733 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240314@183629.2744 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402136 and bi.ref ='324.4902.00.1' and bi.lordem =1
20240314@183629.2757 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2760 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183629.2778 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2782 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183629.2791 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2794 slaqd20ovv1kgueilra1sg2d3c Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183629.2804 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183629.2817 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2820 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183629.2873 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2876 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183629.2889 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2893 slaqd20ovv1kgueilra1sg2d3c Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183629.2903 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2906 slaqd20ovv1kgueilra1sg2d3c Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183629.2940 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.2943 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from td where ndoc = 39
20240314@183629.2968 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183629.2979 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183629.3006 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183629.3023 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183629.3046 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183629.3076 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183629.3090 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183629.3119 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183629.3216 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183629.3225 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183629.3240 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183629.3250 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f345068065f343ad4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183629.3454 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183629.3473 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183629.3537 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183629.3542 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183629.3547 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183629.3552 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183629.3557 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183629.3561 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183629.3566 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f345068065f343ad4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183629.3847 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183629.3868 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183629.3884 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183629.3906 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f345068065f343ad4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',470,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183629.4247 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.4258 slaqd20ovv1kgueilra1sg2d3c Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240314@183629.4270 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240314@183629.4433 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.4450 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183629.4476 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.4493 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183629.4499 slaqd20ovv1kgueilra1sg2d3c Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240314@183629.4518 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183629.4528 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.4544 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183629.4602 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f349563965f343ad6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f345068065f343ad4c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183629.4900 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.4918 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183629.4923 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f349563965f343ad6e','aut65f345068065f343ad4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183629.4928 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.4944 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183629.4983 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.4996 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183629.5002 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183629.5012 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.5047 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183629.5073 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f344715665f343ad7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f345068065f343ad4c' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183629.5351 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.5371 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183629.5375 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344715665f343ad7a','aut65f345068065f343ad4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183629.5380 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.5385 slaqd20ovv1kgueilra1sg2d3c Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240314@183629.5396 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240314@183629.5437 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.5453 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183629.5480 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.5492 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183629.5501 slaqd20ovv1kgueilra1sg2d3c Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240314@183629.5516 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183629.5526 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.5548 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183629.5613 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f341611565f343ad86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut65f345068065f343ad4c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183629.5917 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.5933 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183629.5952 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f341611565f343ad86','aut65f345068065f343ad4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183629.5957 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.5972 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183629.6017 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.6031 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183629.6036 slaqd20ovv1kgueilra1sg2d3c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183629.6068 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183629.6083 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183629.6113 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f346294665f343ad94',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f345068065f343ad4c' ,0,0 ,2,23.00,50000,?,?,?)
20240314@183629.6394 slaqd20ovv1kgueilra1sg2d3c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183629.6417 slaqd20ovv1kgueilra1sg2d3c Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183629.6422 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f346294665f343ad94','aut65f345068065f343ad4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183629.6426 slaqd20ovv1kgueilra1sg2d3c Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f345068065f343ad4c','2402136','wait',39,'ari17112337378,753000005')
20240314@183629.6447 slaqd20ovv1kgueilra1sg2d3c Query : use flama_phc
20240314@183629.6450 slaqd20ovv1kgueilra1sg2d3c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183629.6479 slaqd20ovv1kgueilra1sg2d3c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='635';
20240314@183629.6495 slaqd20ovv1kgueilra1sg2d3c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='635';
20240314@183629.6514 slaqd20ovv1kgueilra1sg2d3c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='635';
20240314@183629.6526 slaqd20ovv1kgueilra1sg2d3c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='635';
20240314@183629.7665 nadsq1uihp6vg07aadenm03443 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183629.8065 nadsq1uihp6vg07aadenm03443 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183629.8393 nadsq1uihp6vg07aadenm03443 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='636';
20240314@183629.8440 nadsq1uihp6vg07aadenm03443 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='636';
20240314@183629.8455 nadsq1uihp6vg07aadenm03443 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='636';
20240314@183629.8490 nadsq1uihp6vg07aadenm03443 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='636';
20240314@183629.8503 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.8507 nadsq1uihp6vg07aadenm03443 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183629.8522 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.8525 nadsq1uihp6vg07aadenm03443 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240314@183629.8572 nadsq1uihp6vg07aadenm03443 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4968.00.1'
20240314@183629.8758 nadsq1uihp6vg07aadenm03443 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402137 and bi.ref ='324.4968.00.1' and bi.lordem =1
20240314@183629.9113 nadsq1uihp6vg07aadenm03443 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4968.00.1'
20240314@183629.9131 nadsq1uihp6vg07aadenm03443 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402137 and bi.ref ='324.4968.00.1' and bi.lordem =1
20240314@183629.9145 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.9148 nadsq1uihp6vg07aadenm03443 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183629.9172 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.9175 nadsq1uihp6vg07aadenm03443 Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183629.9185 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.9188 nadsq1uihp6vg07aadenm03443 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183629.9210 nadsq1uihp6vg07aadenm03443 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183629.9230 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.9234 nadsq1uihp6vg07aadenm03443 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183629.9244 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.9247 nadsq1uihp6vg07aadenm03443 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183629.9258 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.9275 nadsq1uihp6vg07aadenm03443 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183629.9289 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.9293 nadsq1uihp6vg07aadenm03443 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183629.9308 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183629.9311 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from td where ndoc = 39
20240314@183629.9324 nadsq1uihp6vg07aadenm03443 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183629.9338 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183629.9364 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183629.9380 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183629.9405 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183629.9441 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183629.9454 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183629.9475 nadsq1uihp6vg07aadenm03443 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183629.9572 nadsq1uihp6vg07aadenm03443 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183629.9633 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183629.9652 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183629.9679 nadsq1uihp6vg07aadenm03443 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f342690665f343ade7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183629.9870 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183629.9885 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183629.9926 nadsq1uihp6vg07aadenm03443 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183629.9932 nadsq1uihp6vg07aadenm03443 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183629.9946 nadsq1uihp6vg07aadenm03443 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183629.9951 nadsq1uihp6vg07aadenm03443 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183629.9956 nadsq1uihp6vg07aadenm03443 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183629.9975 nadsq1uihp6vg07aadenm03443 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183629.9979 nadsq1uihp6vg07aadenm03443 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f342690665f343ade7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183630.2620 nadsq1uihp6vg07aadenm03443 Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183630.2860 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183630.3000 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183630.3260 nadsq1uihp6vg07aadenm03443 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f342690665f343ade7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',471,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183630.6610 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183630.6660 nadsq1uihp6vg07aadenm03443 Query : select st.usalote valor from st where st.ref = '324.4968.00.1'
20240314@183630.6900 nadsq1uihp6vg07aadenm03443 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4968.00.1'
20240314@183630.8480 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.8760 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183630.9110 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.9400 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183630.9500 nadsq1uihp6vg07aadenm03443 Query : select sestamp valor from se where ref ='324.4968.00.1' and lote = 'r2300824100a'
20240314@183630.9620 nadsq1uihp6vg07aadenm03443 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183630.9790 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.1006 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183630.1041 nadsq1uihp6vg07aadenm03443 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f347613065f343ae17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f342690665f343ade7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183630.1316 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.1350 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183630.1356 nadsq1uihp6vg07aadenm03443 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347613065f343ae17','aut65f342690665f343ade7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183630.1362 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183630.1366 nadsq1uihp6vg07aadenm03443 Query : select st.usalote valor from st where st.ref = '324.4968.00.1'
20240314@183630.1381 nadsq1uihp6vg07aadenm03443 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4968.00.1'
20240314@183630.1395 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.1413 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183630.1455 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.1470 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183630.1476 nadsq1uihp6vg07aadenm03443 Query : select sestamp valor from se where ref ='324.4968.00.1' and lote = 'r2300824100a'
20240314@183630.1489 nadsq1uihp6vg07aadenm03443 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183630.1499 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.1513 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183630.1567 nadsq1uihp6vg07aadenm03443 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f347579165f343ae24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut65f342690665f343ade7' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240314@183630.1851 nadsq1uihp6vg07aadenm03443 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.1873 nadsq1uihp6vg07aadenm03443 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183630.1886 nadsq1uihp6vg07aadenm03443 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347579165f343ae24','aut65f342690665f343ade7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183630.1890 nadsq1uihp6vg07aadenm03443 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f342690665f343ade7','2402137','wait',39,'ari17112337378,753000005')
20240314@183630.1987 nadsq1uihp6vg07aadenm03443 Query : use flama_phc
20240314@183630.1991 nadsq1uihp6vg07aadenm03443 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183630.2005 nadsq1uihp6vg07aadenm03443 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='636';
20240314@183630.2023 nadsq1uihp6vg07aadenm03443 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='636';
20240314@183630.2041 nadsq1uihp6vg07aadenm03443 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='636';
20240314@183630.2055 nadsq1uihp6vg07aadenm03443 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='636';
20240314@183630.3162 kmcepforo64nag6c3md2clvfqg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183630.3183 kmcepforo64nag6c3md2clvfqg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183630.3202 kmcepforo64nag6c3md2clvfqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='637';
20240314@183630.3359 kmcepforo64nag6c3md2clvfqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='637';
20240314@183630.3375 kmcepforo64nag6c3md2clvfqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='637';
20240314@183630.3391 kmcepforo64nag6c3md2clvfqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='637';
20240314@183630.3422 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.3431 kmcepforo64nag6c3md2clvfqg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183630.3452 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.3455 kmcepforo64nag6c3md2clvfqg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240314@183630.3510 kmcepforo64nag6c3md2clvfqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240314@183630.3705 kmcepforo64nag6c3md2clvfqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402138 and bi.ref ='324.4988.00.1' and bi.lordem =1
20240314@183630.4052 kmcepforo64nag6c3md2clvfqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240314@183630.4086 kmcepforo64nag6c3md2clvfqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402138 and bi.ref ='324.4988.00.1' and bi.lordem =1
20240314@183630.4092 kmcepforo64nag6c3md2clvfqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240314@183630.4107 kmcepforo64nag6c3md2clvfqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402138 and bi.ref ='324.4988.00.1' and bi.lordem =1
20240314@183630.4112 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.4115 kmcepforo64nag6c3md2clvfqg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183630.4130 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.4137 kmcepforo64nag6c3md2clvfqg Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183630.4152 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.4156 kmcepforo64nag6c3md2clvfqg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183630.4166 kmcepforo64nag6c3md2clvfqg Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183630.4192 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.4194 kmcepforo64nag6c3md2clvfqg Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183630.4208 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.4213 kmcepforo64nag6c3md2clvfqg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183630.4224 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.4227 kmcepforo64nag6c3md2clvfqg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183630.4238 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.4241 kmcepforo64nag6c3md2clvfqg Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183630.4252 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.4256 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from td where ndoc = 39
20240314@183630.4291 kmcepforo64nag6c3md2clvfqg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183630.4309 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183630.4331 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183630.4365 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183630.4393 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183630.4420 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183630.4438 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183630.4455 kmcepforo64nag6c3md2clvfqg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183630.4622 kmcepforo64nag6c3md2clvfqg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183630.4632 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183630.4646 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183630.4659 kmcepforo64nag6c3md2clvfqg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f341806465f343ae6c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183630.4888 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183630.4903 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183630.4954 kmcepforo64nag6c3md2clvfqg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183630.4965 kmcepforo64nag6c3md2clvfqg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183630.4971 kmcepforo64nag6c3md2clvfqg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183630.4976 kmcepforo64nag6c3md2clvfqg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183630.4980 kmcepforo64nag6c3md2clvfqg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183630.4984 kmcepforo64nag6c3md2clvfqg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183630.5009 kmcepforo64nag6c3md2clvfqg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f341806465f343ae6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183630.5295 kmcepforo64nag6c3md2clvfqg Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183630.5320 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183630.5334 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183630.5352 kmcepforo64nag6c3md2clvfqg Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f341806465f343ae6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',472,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183630.5695 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.5699 kmcepforo64nag6c3md2clvfqg Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240314@183630.5724 kmcepforo64nag6c3md2clvfqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240314@183630.5890 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.5905 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183630.5935 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.5962 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183630.5967 kmcepforo64nag6c3md2clvfqg Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100743100a'
20240314@183630.5991 kmcepforo64nag6c3md2clvfqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183630.6001 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.6036 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183630.6065 kmcepforo64nag6c3md2clvfqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f341130865f343ae92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f341806465f343ae6c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183630.6348 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.6369 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183630.6373 kmcepforo64nag6c3md2clvfqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f341130865f343ae92','aut65f341806465f343ae6c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183630.6377 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.6381 kmcepforo64nag6c3md2clvfqg Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240314@183630.6394 kmcepforo64nag6c3md2clvfqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240314@183630.6406 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.6442 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183630.6473 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.6487 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183630.6491 kmcepforo64nag6c3md2clvfqg Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100743100a'
20240314@183630.6505 kmcepforo64nag6c3md2clvfqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183630.6516 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.6529 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183630.6561 kmcepforo64nag6c3md2clvfqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f344365165f343ae9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f341806465f343ae6c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240314@183630.6890 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.6908 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183630.6913 kmcepforo64nag6c3md2clvfqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344365165f343ae9f','aut65f341806465f343ae6c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183630.6918 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.6921 kmcepforo64nag6c3md2clvfqg Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240314@183630.6931 kmcepforo64nag6c3md2clvfqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240314@183630.6964 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.6979 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183630.7011 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.7027 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183630.7032 kmcepforo64nag6c3md2clvfqg Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100743100a'
20240314@183630.7044 kmcepforo64nag6c3md2clvfqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183630.7077 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183630.7097 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183630.7122 kmcepforo64nag6c3md2clvfqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f348311765f343aeac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut65f341806465f343ae6c' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240314@183630.7490 kmcepforo64nag6c3md2clvfqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183630.7509 kmcepforo64nag6c3md2clvfqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183630.7513 kmcepforo64nag6c3md2clvfqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f348311765f343aeac','aut65f341806465f343ae6c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183630.7518 kmcepforo64nag6c3md2clvfqg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f341806465f343ae6c','2402138','wait',39,'ari17112337378,753000005')
20240314@183630.7536 kmcepforo64nag6c3md2clvfqg Query : use flama_phc
20240314@183630.7541 kmcepforo64nag6c3md2clvfqg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183630.7552 kmcepforo64nag6c3md2clvfqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='637';
20240314@183630.7568 kmcepforo64nag6c3md2clvfqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='637';
20240314@183630.8760 kmcepforo64nag6c3md2clvfqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='637';
20240314@183630.8779 kmcepforo64nag6c3md2clvfqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='637';
20240314@183630.9200 t86rcmmtse22vaukhq6f2menmk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183630.9222 t86rcmmtse22vaukhq6f2menmk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183630.9251 t86rcmmtse22vaukhq6f2menmk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='638';
20240314@183630.9303 t86rcmmtse22vaukhq6f2menmk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='638';
20240314@183630.9333 t86rcmmtse22vaukhq6f2menmk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='638';
20240314@183630.9346 t86rcmmtse22vaukhq6f2menmk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='638';
20240314@183630.9358 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183630.9372 t86rcmmtse22vaukhq6f2menmk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183630.9385 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183630.9388 t86rcmmtse22vaukhq6f2menmk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240314@183630.9439 t86rcmmtse22vaukhq6f2menmk 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'
20240314@183630.9604 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402139 and bi.ref ='324.988.00.01' and bi.lordem =1
20240314@183630.9927 t86rcmmtse22vaukhq6f2menmk 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'
20240314@183630.9960 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402139 and bi.ref ='324.988.00.01' and bi.lordem =1
20240314@183630.9967 t86rcmmtse22vaukhq6f2menmk 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'
20240314@183630.9980 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402139 and bi.ref ='324.988.00.01' and bi.lordem =1
20240314@183630.9986 t86rcmmtse22vaukhq6f2menmk 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'
20240314@183630.9997 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402139 and bi.ref ='324.988.00.01' and bi.lordem =1
20240314@183631.3000 t86rcmmtse22vaukhq6f2menmk 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'
20240314@183631.1400 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402139 and bi.ref ='324.988.00.01' and bi.lordem =1
20240314@183631.2000 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.2300 t86rcmmtse22vaukhq6f2menmk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183631.4300 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.4600 t86rcmmtse22vaukhq6f2menmk Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183631.6500 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.6900 t86rcmmtse22vaukhq6f2menmk Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183631.8000 t86rcmmtse22vaukhq6f2menmk Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183631.9900 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.1020 t86rcmmtse22vaukhq6f2menmk Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183631.1130 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.1160 t86rcmmtse22vaukhq6f2menmk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183631.1460 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.1490 t86rcmmtse22vaukhq6f2menmk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183631.1660 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.1690 t86rcmmtse22vaukhq6f2menmk Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183631.1910 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.2050 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from td where ndoc = 39
20240314@183631.2150 t86rcmmtse22vaukhq6f2menmk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183631.2270 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183631.2540 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183631.2730 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183631.2860 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183631.3110 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183631.3240 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183631.3360 t86rcmmtse22vaukhq6f2menmk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183631.4550 t86rcmmtse22vaukhq6f2menmk Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183631.4660 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183631.4800 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183631.4980 t86rcmmtse22vaukhq6f2menmk Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f346738065f343af08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183631.6910 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183631.7200 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183631.7580 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183631.7650 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183631.7700 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183631.7760 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183631.7810 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183631.7860 t86rcmmtse22vaukhq6f2menmk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183631.7990 t86rcmmtse22vaukhq6f2menmk Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f346738065f343af08',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183631.1082 t86rcmmtse22vaukhq6f2menmk Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183631.1106 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183631.1131 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183631.1150 t86rcmmtse22vaukhq6f2menmk Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f346738065f343af08',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',473,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183631.1506 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.1510 t86rcmmtse22vaukhq6f2menmk Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240314@183631.1524 t86rcmmtse22vaukhq6f2menmk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240314@183631.1725 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.1742 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183631.1773 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.1787 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183631.1791 t86rcmmtse22vaukhq6f2menmk Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2301090200a'
20240314@183631.1823 t86rcmmtse22vaukhq6f2menmk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183631.1835 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.1849 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183631.1892 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f341718065f343af2c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f346738065f343af08' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183631.2171 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.2192 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183631.2196 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f341718065f343af2c','aut65f346738065f343af08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183631.2201 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.2205 t86rcmmtse22vaukhq6f2menmk Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240314@183631.2216 t86rcmmtse22vaukhq6f2menmk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240314@183631.2227 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.2240 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183631.2276 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.2289 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183631.2293 t86rcmmtse22vaukhq6f2menmk Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2301090200a'
20240314@183631.2326 t86rcmmtse22vaukhq6f2menmk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183631.2338 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.2352 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183631.2399 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f341691065f343af39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut65f346738065f343af08' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240314@183631.2687 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.2704 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183631.2709 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f341691065f343af39','aut65f346738065f343af08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183631.2714 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.2717 t86rcmmtse22vaukhq6f2menmk Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240314@183631.2729 t86rcmmtse22vaukhq6f2menmk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240314@183631.2741 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.2754 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183631.2776 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.2796 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183631.2801 t86rcmmtse22vaukhq6f2menmk Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2301090200a'
20240314@183631.2812 t86rcmmtse22vaukhq6f2menmk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183631.2822 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.2843 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183631.2869 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f345076165f343af44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut65f346738065f343af08' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240314@183631.3174 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.3191 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183631.3210 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f345076165f343af44','aut65f346738065f343af08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183631.3215 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.3218 t86rcmmtse22vaukhq6f2menmk Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240314@183631.3231 t86rcmmtse22vaukhq6f2menmk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240314@183631.3258 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.3290 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183631.3319 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.3332 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183631.3337 t86rcmmtse22vaukhq6f2menmk Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2301090200a'
20240314@183631.3348 t86rcmmtse22vaukhq6f2menmk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183631.3360 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.3386 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183631.3411 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f347452965f343af52',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut65f346738065f343af08' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183631.3720 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.3736 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183631.3747 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347452965f343af52','aut65f346738065f343af08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183631.3752 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.3763 t86rcmmtse22vaukhq6f2menmk Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240314@183631.3773 t86rcmmtse22vaukhq6f2menmk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240314@183631.3787 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.3802 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183631.3828 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.3867 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183631.3871 t86rcmmtse22vaukhq6f2menmk Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2301090200a'
20240314@183631.3887 t86rcmmtse22vaukhq6f2menmk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183631.3899 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.3914 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183631.3968 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f340785765f343af5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut65f346738065f343af08' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240314@183631.4253 t86rcmmtse22vaukhq6f2menmk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.4293 t86rcmmtse22vaukhq6f2menmk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183631.4299 t86rcmmtse22vaukhq6f2menmk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f340785765f343af5f','aut65f346738065f343af08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183631.4303 t86rcmmtse22vaukhq6f2menmk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f346738065f343af08','2402139','wait',39,'ari17112337378,753000005')
20240314@183631.4320 t86rcmmtse22vaukhq6f2menmk Query : use flama_phc
20240314@183631.4323 t86rcmmtse22vaukhq6f2menmk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183631.4336 t86rcmmtse22vaukhq6f2menmk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='638';
20240314@183631.4361 t86rcmmtse22vaukhq6f2menmk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='638';
20240314@183631.4383 t86rcmmtse22vaukhq6f2menmk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='638';
20240314@183631.4398 t86rcmmtse22vaukhq6f2menmk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='638';
20240314@183631.6269 cvsopat4p0m7v4hdctgndlcmqo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183631.6288 cvsopat4p0m7v4hdctgndlcmqo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183631.6307 cvsopat4p0m7v4hdctgndlcmqo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='639';
20240314@183631.6616 cvsopat4p0m7v4hdctgndlcmqo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='639';
20240314@183631.6634 cvsopat4p0m7v4hdctgndlcmqo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='639';
20240314@183631.6676 cvsopat4p0m7v4hdctgndlcmqo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='639';
20240314@183631.6689 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.6693 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183631.6707 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.6710 cvsopat4p0m7v4hdctgndlcmqo Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240314@183631.6758 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240314@183631.6922 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402140 and bi.ref ='324.2907.00.1' and bi.lordem =1
20240314@183631.7249 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.7252 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183631.7265 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.7268 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183631.7295 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.7298 cvsopat4p0m7v4hdctgndlcmqo Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183631.7311 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183631.7325 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.7328 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183631.7338 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.7341 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183631.7350 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.7353 cvsopat4p0m7v4hdctgndlcmqo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183631.7373 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.7376 cvsopat4p0m7v4hdctgndlcmqo Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183631.7405 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.7408 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from td where ndoc = 39
20240314@183631.7417 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183631.7431 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183631.7444 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183631.7511 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183631.7524 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183631.7587 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183631.7606 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183631.7621 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183631.7733 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183631.7748 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183631.7762 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183631.7771 cvsopat4p0m7v4hdctgndlcmqo Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f349796265f343afba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183631.7962 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183631.7986 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183631.8016 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183631.8021 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183631.8025 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183631.8048 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183631.8063 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183631.8068 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183631.8073 cvsopat4p0m7v4hdctgndlcmqo Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f349796265f343afba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183631.8341 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183631.8368 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183631.8384 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183631.8402 cvsopat4p0m7v4hdctgndlcmqo Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f349796265f343afba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',474,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183631.8720 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.8729 cvsopat4p0m7v4hdctgndlcmqo Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240314@183631.8742 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20240314@183631.8902 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.8925 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183631.8962 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.8977 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183631.8982 cvsopat4p0m7v4hdctgndlcmqo Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2200799200a'
20240314@183631.9010 cvsopat4p0m7v4hdctgndlcmqo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183631.9020 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183631.9038 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183631.9065 cvsopat4p0m7v4hdctgndlcmqo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f349115365f343afdc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut65f349796265f343afba' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183631.9346 cvsopat4p0m7v4hdctgndlcmqo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183631.9369 cvsopat4p0m7v4hdctgndlcmqo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183631.9373 cvsopat4p0m7v4hdctgndlcmqo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f349115365f343afdc','aut65f349796265f343afba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183631.9377 cvsopat4p0m7v4hdctgndlcmqo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f349796265f343afba','2402140','wait',39,'ari17112337378,753000005')
20240314@183631.9393 cvsopat4p0m7v4hdctgndlcmqo Query : use flama_phc
20240314@183631.9419 cvsopat4p0m7v4hdctgndlcmqo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183631.9431 cvsopat4p0m7v4hdctgndlcmqo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='639';
20240314@183631.9449 cvsopat4p0m7v4hdctgndlcmqo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='639';
20240314@183631.9463 cvsopat4p0m7v4hdctgndlcmqo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='639';
20240314@183631.9475 cvsopat4p0m7v4hdctgndlcmqo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='639';
20240314@183631.9856 bi3dj8gpslv4mld402bqvq1n27 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183631.9873 bi3dj8gpslv4mld402bqvq1n27 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183631.9890 bi3dj8gpslv4mld402bqvq1n27 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='640';
20240314@183631.9932 bi3dj8gpslv4mld402bqvq1n27 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='640';
20240314@183631.9955 bi3dj8gpslv4mld402bqvq1n27 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='640';
20240314@183631.9984 bi3dj8gpslv4mld402bqvq1n27 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='640';
20240314@183631.9997 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.0000 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183632.2000 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.2300 bi3dj8gpslv4mld402bqvq1n27 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240314@183632.8800 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20240314@183632.2430 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402141 and bi.ref ='324.4965.00.1' and bi.lordem =1
20240314@183632.5740 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20240314@183632.6040 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402141 and bi.ref ='324.4965.00.1' and bi.lordem =1
20240314@183632.6170 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.6200 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183632.6380 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.6410 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183632.6570 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.6600 bi3dj8gpslv4mld402bqvq1n27 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183632.6700 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183632.7130 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.7160 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183632.7270 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.7300 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183632.7420 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.7450 bi3dj8gpslv4mld402bqvq1n27 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183632.7970 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.8000 bi3dj8gpslv4mld402bqvq1n27 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240314@183632.8170 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.8370 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from td where ndoc = 39
20240314@183632.8480 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183632.8590 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183632.8970 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183632.9140 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183632.9290 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183632.9580 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183632.9710 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183632.9820 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183632.1104 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183632.1119 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183632.1136 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183632.1146 bi3dj8gpslv4mld402bqvq1n27 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f348747665f343b017' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183632.1347 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183632.1384 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183632.1412 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183632.1417 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183632.1422 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183632.1434 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183632.1439 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183632.1444 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183632.1448 bi3dj8gpslv4mld402bqvq1n27 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f348747665f343b017',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183632.1725 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183632.1742 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183632.1760 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183632.1779 bi3dj8gpslv4mld402bqvq1n27 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f348747665f343b017',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',475,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183632.2118 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.2128 bi3dj8gpslv4mld402bqvq1n27 Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20240314@183632.2141 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20240314@183632.2323 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.2373 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183632.2412 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.2439 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183632.2444 bi3dj8gpslv4mld402bqvq1n27 Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2300825100a'
20240314@183632.2459 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183632.2471 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.2504 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183632.2533 bi3dj8gpslv4mld402bqvq1n27 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f349954365f343b03c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut65f348747665f343b017' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183632.2806 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.2827 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183632.2832 bi3dj8gpslv4mld402bqvq1n27 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f349954365f343b03c','aut65f348747665f343b017' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183632.2836 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.2839 bi3dj8gpslv4mld402bqvq1n27 Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20240314@183632.2851 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20240314@183632.2861 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.2896 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183632.2921 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.2934 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183632.2938 bi3dj8gpslv4mld402bqvq1n27 Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2300825100a'
20240314@183632.2962 bi3dj8gpslv4mld402bqvq1n27 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183632.2971 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.2984 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183632.3018 bi3dj8gpslv4mld402bqvq1n27 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f342612265f343b048',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut65f348747665f343b017' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240314@183632.3343 bi3dj8gpslv4mld402bqvq1n27 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.3359 bi3dj8gpslv4mld402bqvq1n27 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183632.3364 bi3dj8gpslv4mld402bqvq1n27 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f342612265f343b048','aut65f348747665f343b017' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183632.3388 bi3dj8gpslv4mld402bqvq1n27 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f348747665f343b017','2402141','wait',39,'ari17112337378,753000005')
20240314@183632.3405 bi3dj8gpslv4mld402bqvq1n27 Query : use flama_phc
20240314@183632.3408 bi3dj8gpslv4mld402bqvq1n27 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183632.3420 bi3dj8gpslv4mld402bqvq1n27 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='640';
20240314@183632.3435 bi3dj8gpslv4mld402bqvq1n27 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='640';
20240314@183632.3449 bi3dj8gpslv4mld402bqvq1n27 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='640';
20240314@183632.3466 bi3dj8gpslv4mld402bqvq1n27 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='640';
20240314@183632.3888 9ajejgkjtc2al1osndnjnibmm4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183632.3906 9ajejgkjtc2al1osndnjnibmm4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183632.3935 9ajejgkjtc2al1osndnjnibmm4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='641';
20240314@183632.3986 9ajejgkjtc2al1osndnjnibmm4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='641';
20240314@183632.4003 9ajejgkjtc2al1osndnjnibmm4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='641';
20240314@183632.4016 9ajejgkjtc2al1osndnjnibmm4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='641';
20240314@183632.4028 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.4031 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183632.4045 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.4055 9ajejgkjtc2al1osndnjnibmm4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2064
20240314@183632.4146 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240314@183632.4303 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402142 and bi.ref ='324.1832.00.2' and bi.lordem =1
20240314@183632.4678 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240314@183632.4691 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402142 and bi.ref ='324.1832.00.2' and bi.lordem =1
20240314@183632.4697 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.4700 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183632.4722 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.4725 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183632.4735 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.4738 9ajejgkjtc2al1osndnjnibmm4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183632.4750 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183632.4774 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.4777 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 ~inactivo valor from cl where no = '101645' and estab = 0 order by inactivo desc
20240314@183632.6024 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.6028 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183632.6042 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.6047 9ajejgkjtc2al1osndnjnibmm4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183632.6061 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.6064 9ajejgkjtc2al1osndnjnibmm4 Query : select szadrsstamp valor from szadrs where szadrsdesc='macorlux - electrodomÉsticos, s.a.'
20240314@183632.6078 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.6082 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from td where ndoc = 39
20240314@183632.6092 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183632.6111 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183632.6125 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183632.6142 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183632.6156 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183632.6180 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183632.6196 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183632.6205 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183632.6303 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183632.6315 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183632.6329 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183632.6347 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f341387965f343b097' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183632.6550 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183632.6565 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183632.6599 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183632.6604 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183632.6609 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183632.6613 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183632.6618 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183632.6634 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183632.6639 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f341387965f343b097',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183632.6936 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183632.6963 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183632.6977 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183632.7005 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f341387965f343b097',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',476,101645,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183632.7338 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.7342 9ajejgkjtc2al1osndnjnibmm4 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240314@183632.7356 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240314@183632.7527 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.7553 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183632.7585 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.7602 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183632.7647 9ajejgkjtc2al1osndnjnibmm4 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240314@183632.7740 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183632.7816 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.7847 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183632.7880 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f341717065f343b0be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f341387965f343b097' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183632.8165 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.8192 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183632.8198 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f341717065f343b0be','aut65f341387965f343b097' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183632.8206 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.8219 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183632.8245 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.8275 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183632.8279 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183632.8290 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.8303 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183632.8349 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f340082365f343b0ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f341387965f343b097' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183632.8631 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.8655 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183632.8659 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f340082365f343b0ca','aut65f341387965f343b097' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183632.8664 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.8668 9ajejgkjtc2al1osndnjnibmm4 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240314@183632.8679 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240314@183632.8692 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.8706 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183632.8766 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.8779 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183632.8784 9ajejgkjtc2al1osndnjnibmm4 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240314@183632.8805 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183632.8817 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.8842 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183632.8868 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f344670565f343b0d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f341387965f343b097' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183632.9178 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.9214 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183632.9219 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344670565f343b0d7','aut65f341387965f343b097' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183632.9223 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.9237 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183632.9271 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.9285 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183632.9298 9ajejgkjtc2al1osndnjnibmm4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183632.9308 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183632.9322 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183632.9347 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f347843065f343b0e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f341387965f343b097' ,0,0 ,2,23.00,50000,?,?,?)
20240314@183632.9641 9ajejgkjtc2al1osndnjnibmm4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183632.9664 9ajejgkjtc2al1osndnjnibmm4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183632.9669 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347843065f343b0e3','aut65f341387965f343b097' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183632.9673 9ajejgkjtc2al1osndnjnibmm4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f341387965f343b097','2402142','wait',39,'ari17112337378,753000005')
20240314@183632.9763 9ajejgkjtc2al1osndnjnibmm4 Query : use flama_phc
20240314@183632.9767 9ajejgkjtc2al1osndnjnibmm4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183632.9782 9ajejgkjtc2al1osndnjnibmm4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='641';
20240314@183632.9802 9ajejgkjtc2al1osndnjnibmm4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='641';
20240314@183632.9852 9ajejgkjtc2al1osndnjnibmm4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='641';
20240314@183633.2080 9ajejgkjtc2al1osndnjnibmm4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='641';
20240314@183633.6460 9701f34j4sr7hpbl33gegn8c9s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183633.6630 9701f34j4sr7hpbl33gegn8c9s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183633.6840 9701f34j4sr7hpbl33gegn8c9s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='642';
20240314@183633.7320 9701f34j4sr7hpbl33gegn8c9s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='642';
20240314@183633.7480 9701f34j4sr7hpbl33gegn8c9s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='642';
20240314@183633.8450 9701f34j4sr7hpbl33gegn8c9s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='642';
20240314@183633.8590 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.8670 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183633.9970 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1001 9701f34j4sr7hpbl33gegn8c9s Query : select no, estab,szadrsdesc from szadrs where u_coddest=1328
20240314@183633.1111 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240314@183633.1270 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402143 and bi.ref ='324.1461.00.1' and bi.lordem =1
20240314@183633.1645 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1649 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183633.1666 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1669 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183633.1682 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1685 9701f34j4sr7hpbl33gegn8c9s Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183633.1699 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183633.1713 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1717 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240314@183633.1857 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1860 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183633.1871 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1874 9701f34j4sr7hpbl33gegn8c9s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183633.1888 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1891 9701f34j4sr7hpbl33gegn8c9s Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - mealhada'
20240314@183633.1927 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.1930 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from td where ndoc = 39
20240314@183633.1940 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183633.1958 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183633.1973 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183633.1990 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183633.2003 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183633.2030 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183633.2043 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183633.2053 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183633.2153 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183633.2163 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183633.2178 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183633.2189 9701f34j4sr7hpbl33gegn8c9s Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f343133565f343b132' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183633.2383 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183633.2404 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183633.2432 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183633.2438 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183633.2443 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183633.2449 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183633.2454 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183633.2459 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183633.2464 9701f34j4sr7hpbl33gegn8c9s Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f343133565f343b132',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183633.2758 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183633.2774 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183633.2789 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183633.2813 9701f34j4sr7hpbl33gegn8c9s Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f343133565f343b132',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',477,101621,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183633.3131 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.3137 9701f34j4sr7hpbl33gegn8c9s Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240314@183633.3149 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240314@183633.3318 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.3341 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183633.3388 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.3400 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183633.3405 9701f34j4sr7hpbl33gegn8c9s Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240314@183633.3428 9701f34j4sr7hpbl33gegn8c9s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183633.3440 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.3453 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183633.3476 9701f34j4sr7hpbl33gegn8c9s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f343312365f343b153',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f343133565f343b132' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183633.3761 9701f34j4sr7hpbl33gegn8c9s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.3786 9701f34j4sr7hpbl33gegn8c9s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183633.3793 9701f34j4sr7hpbl33gegn8c9s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f343312365f343b153','aut65f343133565f343b132' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183633.3798 9701f34j4sr7hpbl33gegn8c9s Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f343133565f343b132','2402143','wait',39,'ari17112337378,753000005')
20240314@183633.3819 9701f34j4sr7hpbl33gegn8c9s Query : use flama_phc
20240314@183633.3843 9701f34j4sr7hpbl33gegn8c9s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183633.3854 9701f34j4sr7hpbl33gegn8c9s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='642';
20240314@183633.3875 9701f34j4sr7hpbl33gegn8c9s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='642';
20240314@183633.3888 9701f34j4sr7hpbl33gegn8c9s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='642';
20240314@183633.3913 9701f34j4sr7hpbl33gegn8c9s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='642';
20240314@183633.4274 o7gggh1dbc3eq174rckf33b928 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183633.4296 o7gggh1dbc3eq174rckf33b928 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183633.4344 o7gggh1dbc3eq174rckf33b928 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='643';
20240314@183633.4399 o7gggh1dbc3eq174rckf33b928 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='643';
20240314@183633.4416 o7gggh1dbc3eq174rckf33b928 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='643';
20240314@183633.4432 o7gggh1dbc3eq174rckf33b928 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='643';
20240314@183633.4445 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.4462 o7gggh1dbc3eq174rckf33b928 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183633.4485 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.4488 o7gggh1dbc3eq174rckf33b928 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20240314@183633.4608 o7gggh1dbc3eq174rckf33b928 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240314@183633.4640 o7gggh1dbc3eq174rckf33b928 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402144 and bi.ref ='324.1832.00.2' and bi.lordem =1
20240314@183633.5051 o7gggh1dbc3eq174rckf33b928 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240314@183633.5066 o7gggh1dbc3eq174rckf33b928 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402144 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240314@183633.5410 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.5415 o7gggh1dbc3eq174rckf33b928 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183633.5434 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.5438 o7gggh1dbc3eq174rckf33b928 Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183633.5452 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.5455 o7gggh1dbc3eq174rckf33b928 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183633.5468 o7gggh1dbc3eq174rckf33b928 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183633.5485 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.5488 o7gggh1dbc3eq174rckf33b928 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240314@183633.5506 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.5509 o7gggh1dbc3eq174rckf33b928 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183633.5518 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.5521 o7gggh1dbc3eq174rckf33b928 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183633.5539 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.5542 o7gggh1dbc3eq174rckf33b928 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20240314@183633.5554 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.5557 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from td where ndoc = 39
20240314@183633.5591 o7gggh1dbc3eq174rckf33b928 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183633.5604 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183633.5631 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183633.5647 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183633.5659 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183633.5706 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183633.5720 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183633.5752 o7gggh1dbc3eq174rckf33b928 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183633.5848 o7gggh1dbc3eq174rckf33b928 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183633.5859 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183633.5874 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183633.5889 o7gggh1dbc3eq174rckf33b928 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f342781665f343b18c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183633.6102 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183633.6117 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183633.6147 o7gggh1dbc3eq174rckf33b928 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183633.6152 o7gggh1dbc3eq174rckf33b928 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183633.6157 o7gggh1dbc3eq174rckf33b928 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183633.6161 o7gggh1dbc3eq174rckf33b928 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183633.6166 o7gggh1dbc3eq174rckf33b928 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183633.6170 o7gggh1dbc3eq174rckf33b928 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183633.6175 o7gggh1dbc3eq174rckf33b928 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f342781665f343b18c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183633.6450 o7gggh1dbc3eq174rckf33b928 Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183633.6469 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183633.6487 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183633.6510 o7gggh1dbc3eq174rckf33b928 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f342781665f343b18c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',478,101621,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183633.6853 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.6862 o7gggh1dbc3eq174rckf33b928 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240314@183633.6882 o7gggh1dbc3eq174rckf33b928 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240314@183633.6894 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.6908 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183633.6931 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.6945 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183633.6950 o7gggh1dbc3eq174rckf33b928 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240314@183633.6961 o7gggh1dbc3eq174rckf33b928 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183633.6973 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.6986 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183633.7011 o7gggh1dbc3eq174rckf33b928 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f346573565f343b1aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f342781665f343b18c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183633.7323 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.7346 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183633.7351 o7gggh1dbc3eq174rckf33b928 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f346573565f343b1aa','aut65f342781665f343b18c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183633.7364 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.7382 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183633.7407 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.7420 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183633.7425 o7gggh1dbc3eq174rckf33b928 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183633.7435 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.7448 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183633.7473 o7gggh1dbc3eq174rckf33b928 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f343519865f343b1b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f342781665f343b18c' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183633.7734 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.7750 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183633.7755 o7gggh1dbc3eq174rckf33b928 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f343519865f343b1b5','aut65f342781665f343b18c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183633.7759 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.7763 o7gggh1dbc3eq174rckf33b928 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240314@183633.7774 o7gggh1dbc3eq174rckf33b928 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240314@183633.7786 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.7799 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183633.7825 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.7838 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183633.7843 o7gggh1dbc3eq174rckf33b928 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240314@183633.7855 o7gggh1dbc3eq174rckf33b928 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183633.7866 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.7881 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183633.7911 o7gggh1dbc3eq174rckf33b928 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f345697265f343b1c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f342781665f343b18c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183633.8184 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.8199 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183633.8203 o7gggh1dbc3eq174rckf33b928 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f345697265f343b1c0','aut65f342781665f343b18c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183633.8208 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.8221 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183633.8245 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.8257 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183633.8261 o7gggh1dbc3eq174rckf33b928 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183633.8271 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183633.8282 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183633.8304 o7gggh1dbc3eq174rckf33b928 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f346642365f343b1c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f342781665f343b18c' ,0,0 ,2,23.00,50000,?,?,?)
20240314@183633.8572 o7gggh1dbc3eq174rckf33b928 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183633.8596 o7gggh1dbc3eq174rckf33b928 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183633.8601 o7gggh1dbc3eq174rckf33b928 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f346642365f343b1c9','aut65f342781665f343b18c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183633.8605 o7gggh1dbc3eq174rckf33b928 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f342781665f343b18c','2402144','wait',39,'ari17112337378,753000005')
20240314@183633.8626 o7gggh1dbc3eq174rckf33b928 Query : use flama_phc
20240314@183633.8629 o7gggh1dbc3eq174rckf33b928 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183633.8640 o7gggh1dbc3eq174rckf33b928 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='643';
20240314@183633.8677 o7gggh1dbc3eq174rckf33b928 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='643';
20240314@183633.8691 o7gggh1dbc3eq174rckf33b928 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='643';
20240314@183633.8704 o7gggh1dbc3eq174rckf33b928 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='643';
20240314@183633.9160 5s4bphef9soc549qrentjet7fu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183633.9184 5s4bphef9soc549qrentjet7fu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183633.9205 5s4bphef9soc549qrentjet7fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='644';
20240314@183633.9248 5s4bphef9soc549qrentjet7fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='644';
20240314@183633.9263 5s4bphef9soc549qrentjet7fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='644';
20240314@183633.9276 5s4bphef9soc549qrentjet7fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='644';
20240314@183633.9288 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9291 5s4bphef9soc549qrentjet7fu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183633.9304 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9307 5s4bphef9soc549qrentjet7fu Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20240314@183633.9397 5s4bphef9soc549qrentjet7fu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240314@183633.9408 5s4bphef9soc549qrentjet7fu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402145 and bi.ref ='324.727.00.01' and bi.lordem =1
20240314@183633.9763 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9767 5s4bphef9soc549qrentjet7fu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183633.9781 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9784 5s4bphef9soc549qrentjet7fu Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183633.9800 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9803 5s4bphef9soc549qrentjet7fu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183633.9817 5s4bphef9soc549qrentjet7fu Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183633.9831 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9834 5s4bphef9soc549qrentjet7fu Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240314@183633.9844 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9847 5s4bphef9soc549qrentjet7fu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183633.9857 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9862 5s4bphef9soc549qrentjet7fu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183633.9872 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9875 5s4bphef9soc549qrentjet7fu Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20240314@183633.9889 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183633.9891 5s4bphef9soc549qrentjet7fu Query : select 1 valor from td where ndoc = 39
20240314@183633.9914 5s4bphef9soc549qrentjet7fu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183633.9927 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183633.9941 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183633.9961 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183633.9993 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183634.2700 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183634.4900 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183634.7100 5s4bphef9soc549qrentjet7fu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183634.1880 5s4bphef9soc549qrentjet7fu Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183634.2010 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183634.2170 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183634.2280 5s4bphef9soc549qrentjet7fu Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f341098965f343b201' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183634.4150 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183634.4370 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183634.4800 5s4bphef9soc549qrentjet7fu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183634.4860 5s4bphef9soc549qrentjet7fu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183634.4930 5s4bphef9soc549qrentjet7fu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183634.4990 5s4bphef9soc549qrentjet7fu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183634.5040 5s4bphef9soc549qrentjet7fu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183634.5130 5s4bphef9soc549qrentjet7fu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183634.5180 5s4bphef9soc549qrentjet7fu Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f341098965f343b201',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183634.7850 5s4bphef9soc549qrentjet7fu Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183634.8020 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183634.8160 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183634.8350 5s4bphef9soc549qrentjet7fu Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f341098965f343b201',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',479,101621,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183634.1136 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183634.1140 5s4bphef9soc549qrentjet7fu Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240314@183634.1151 5s4bphef9soc549qrentjet7fu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240314@183634.1163 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183634.1176 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183634.1200 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183634.1218 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183634.1222 5s4bphef9soc549qrentjet7fu Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240314@183634.1233 5s4bphef9soc549qrentjet7fu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183634.1243 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183634.1255 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183634.1314 5s4bphef9soc549qrentjet7fu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f343402665f343b21e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f341098965f343b201' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183634.1594 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183634.1609 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183634.1613 5s4bphef9soc549qrentjet7fu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f343402665f343b21e','aut65f341098965f343b201' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183634.1618 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183634.1631 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183634.1656 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183634.1668 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183634.1672 5s4bphef9soc549qrentjet7fu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183634.1682 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183634.1695 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183634.1721 5s4bphef9soc549qrentjet7fu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f342650665f343b229',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f341098965f343b201' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183634.1991 5s4bphef9soc549qrentjet7fu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183634.2022 5s4bphef9soc549qrentjet7fu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183634.2026 5s4bphef9soc549qrentjet7fu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f342650665f343b229','aut65f341098965f343b201' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183634.2031 5s4bphef9soc549qrentjet7fu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f341098965f343b201','2402145','wait',39,'ari17112337378,753000005')
20240314@183634.2057 5s4bphef9soc549qrentjet7fu Query : use flama_phc
20240314@183634.2060 5s4bphef9soc549qrentjet7fu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183634.2071 5s4bphef9soc549qrentjet7fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='644';
20240314@183634.2098 5s4bphef9soc549qrentjet7fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='644';
20240314@183634.2111 5s4bphef9soc549qrentjet7fu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='644';
20240314@183634.2133 5s4bphef9soc549qrentjet7fu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='644';
20240314@183634.2500 l868j91mc78jak6efv3emnpbh2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183634.2518 l868j91mc78jak6efv3emnpbh2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183634.2537 l868j91mc78jak6efv3emnpbh2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='645';
20240314@183634.2598 l868j91mc78jak6efv3emnpbh2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='645';
20240314@183634.2613 l868j91mc78jak6efv3emnpbh2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='645';
20240314@183634.2626 l868j91mc78jak6efv3emnpbh2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='645';
20240314@183634.2639 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.2642 l868j91mc78jak6efv3emnpbh2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183634.2658 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.2661 l868j91mc78jak6efv3emnpbh2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3304
20240314@183634.2756 l868j91mc78jak6efv3emnpbh2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240314@183634.2767 l868j91mc78jak6efv3emnpbh2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402146 and bi.ref ='324.1461.00.1' and bi.lordem =1
20240314@183634.3308 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.3341 l868j91mc78jak6efv3emnpbh2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183634.3360 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.3363 l868j91mc78jak6efv3emnpbh2 Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183634.3437 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.3441 l868j91mc78jak6efv3emnpbh2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183634.3579 l868j91mc78jak6efv3emnpbh2 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183634.3595 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.3599 l868j91mc78jak6efv3emnpbh2 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240314@183634.4006 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.4010 l868j91mc78jak6efv3emnpbh2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183634.4756 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.4762 l868j91mc78jak6efv3emnpbh2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183634.4777 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.4782 l868j91mc78jak6efv3emnpbh2 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - chaves'
20240314@183634.4814 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.4817 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from td where ndoc = 39
20240314@183634.4827 l868j91mc78jak6efv3emnpbh2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183634.4848 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183634.4861 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183634.4877 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183634.4891 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183634.4917 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183634.4929 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183634.4963 l868j91mc78jak6efv3emnpbh2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183634.5060 l868j91mc78jak6efv3emnpbh2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183634.5071 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183634.5085 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183634.5095 l868j91mc78jak6efv3emnpbh2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f345891265f343b279' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183634.5287 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183634.5310 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183634.5342 l868j91mc78jak6efv3emnpbh2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183634.5347 l868j91mc78jak6efv3emnpbh2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183634.5352 l868j91mc78jak6efv3emnpbh2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183634.5357 l868j91mc78jak6efv3emnpbh2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183634.5363 l868j91mc78jak6efv3emnpbh2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183634.5368 l868j91mc78jak6efv3emnpbh2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183634.5373 l868j91mc78jak6efv3emnpbh2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f345891265f343b279',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183634.5663 l868j91mc78jak6efv3emnpbh2 Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183634.5687 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183634.5716 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183634.5736 l868j91mc78jak6efv3emnpbh2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f345891265f343b279',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',480,101621,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183634.6072 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.6076 l868j91mc78jak6efv3emnpbh2 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240314@183634.6088 l868j91mc78jak6efv3emnpbh2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240314@183634.6113 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183634.6130 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183634.6177 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183634.6196 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183634.6200 l868j91mc78jak6efv3emnpbh2 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240314@183634.6210 l868j91mc78jak6efv3emnpbh2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183634.6219 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183634.6244 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183634.6287 l868j91mc78jak6efv3emnpbh2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f349869565f343b297',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f345891265f343b279' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183634.6588 l868j91mc78jak6efv3emnpbh2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183634.6779 l868j91mc78jak6efv3emnpbh2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183634.6868 l868j91mc78jak6efv3emnpbh2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f349869565f343b297','aut65f345891265f343b279' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183634.6877 l868j91mc78jak6efv3emnpbh2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f345891265f343b279','2402146','wait',39,'ari17112337378,753000005')
20240314@183634.6940 l868j91mc78jak6efv3emnpbh2 Query : use flama_phc
20240314@183634.7013 l868j91mc78jak6efv3emnpbh2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183634.7045 l868j91mc78jak6efv3emnpbh2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='645';
20240314@183634.7066 l868j91mc78jak6efv3emnpbh2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='645';
20240314@183634.7088 l868j91mc78jak6efv3emnpbh2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='645';
20240314@183634.7118 l868j91mc78jak6efv3emnpbh2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='645';
20240314@183634.7502 hl13lh38leaj3u82h2sjg14c1a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183634.7520 hl13lh38leaj3u82h2sjg14c1a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183634.7583 hl13lh38leaj3u82h2sjg14c1a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='646';
20240314@183634.7638 hl13lh38leaj3u82h2sjg14c1a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='646';
20240314@183634.7657 hl13lh38leaj3u82h2sjg14c1a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='646';
20240314@183634.7682 hl13lh38leaj3u82h2sjg14c1a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='646';
20240314@183634.7697 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.7700 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183634.7733 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.7736 hl13lh38leaj3u82h2sjg14c1a Query : select no, estab,szadrsdesc from szadrs where u_coddest=4799
20240314@183634.7851 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240314@183634.8040 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402147 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240314@183634.8391 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240314@183634.8403 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402147 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240314@183634.8409 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240314@183634.8418 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402147 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240314@183634.8764 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240314@183634.8775 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402147 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240314@183634.8780 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.8784 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183634.8798 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.8808 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183634.8819 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.8822 hl13lh38leaj3u82h2sjg14c1a Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183634.8833 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183634.8850 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.8853 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240314@183634.8863 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.8866 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183634.8877 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.8880 hl13lh38leaj3u82h2sjg14c1a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183634.8913 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.8916 hl13lh38leaj3u82h2sjg14c1a Query : select szadrsstamp valor from szadrs where szadrsdesc='comercial prieto cerdan, s.l.-entrega'
20240314@183634.8935 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183634.8937 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from td where ndoc = 39
20240314@183634.8947 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183634.8958 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183634.8973 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183634.9010 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183634.9026 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183634.9071 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183634.9088 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183634.9098 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183634.9239 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183634.9249 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183634.9263 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183634.9273 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f347686165f343b2de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183634.9480 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183634.9503 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183634.9615 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183634.9621 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183634.9625 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183634.9630 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183634.9636 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183634.9641 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183634.9645 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f347686165f343b2de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183635.2900 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183635.4900 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183635.6400 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183635.8300 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f347686165f343b2de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',481,200500,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183635.3910 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183635.4020 hl13lh38leaj3u82h2sjg14c1a Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240314@183635.4160 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240314@183635.5690 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.5830 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183635.6060 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.6190 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183635.6480 hl13lh38leaj3u82h2sjg14c1a Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240314@183635.6700 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183635.6870 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.7000 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183635.7240 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f345116065f343b310',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f347686165f343b2de' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183635.9990 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.1023 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183635.1034 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f345116065f343b310','aut65f347686165f343b2de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183635.1038 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.1058 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183635.1083 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.1096 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183635.1101 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183635.1111 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.1125 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183635.1157 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f348869865f343b31b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f347686165f343b2de' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183635.1461 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.1478 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183635.1483 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f348869865f343b31b','aut65f347686165f343b2de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183635.1501 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183635.1504 hl13lh38leaj3u82h2sjg14c1a Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240314@183635.1515 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240314@183635.1529 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.1545 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183635.1589 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.1607 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183635.1611 hl13lh38leaj3u82h2sjg14c1a Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240314@183635.1622 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183635.1638 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.1664 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183635.1706 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f344119065f343b328',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f347686165f343b2de' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183635.2016 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.2036 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183635.2041 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344119065f343b328','aut65f347686165f343b2de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183635.2045 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.2070 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183635.2094 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.2120 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183635.2125 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183635.2136 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.2157 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183635.2194 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f340796965f343b334',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f347686165f343b2de' ,0,0 ,2,23.00,50000,?,?,?)
20240314@183635.2498 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.2522 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183635.2526 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f340796965f343b334','aut65f347686165f343b2de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183635.2531 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183635.2534 hl13lh38leaj3u82h2sjg14c1a Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240314@183635.2544 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240314@183635.2556 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.2584 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183635.2607 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.2623 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183635.2628 hl13lh38leaj3u82h2sjg14c1a Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240314@183635.2638 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183635.2647 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.2660 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183635.2707 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f341764965f343b340',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f347686165f343b2de' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240314@183635.2986 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.3002 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183635.3006 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f341764965f343b340','aut65f347686165f343b2de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183635.3011 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.3037 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183635.3061 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.3078 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183635.3083 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183635.3177 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.3192 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183635.3224 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f344376765f343b34d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f347686165f343b2de' ,0,0 ,2,23.00,80000,?,?,?)
20240314@183635.3519 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.3534 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183635.3539 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344376765f343b34d','aut65f347686165f343b2de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183635.3543 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183635.3546 hl13lh38leaj3u82h2sjg14c1a Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240314@183635.3571 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240314@183635.3583 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.3598 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183635.3729 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183635.3743 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183635.3748 hl13lh38leaj3u82h2sjg14c1a Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20240314@183635.3754 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183635.3764 hl13lh38leaj3u82h2sjg14c1a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183635.3798 hl13lh38leaj3u82h2sjg14c1a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183635.3828 hl13lh38leaj3u82h2sjg14c1a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f346898065f343b35b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f347686165f343b2de' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240314@183635.4156 hl13lh38leaj3u82h2sjg14c1a Query : use flama_phc
20240314@183635.4160 hl13lh38leaj3u82h2sjg14c1a Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240314@183635.5171 hl13lh38leaj3u82h2sjg14c1a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='646';
20240314@183635.5440 hl13lh38leaj3u82h2sjg14c1a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='646';
20240314@183635.5826 5purhho21epkctdrn7cbk9rvpo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183635.5845 5purhho21epkctdrn7cbk9rvpo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183635.5865 5purhho21epkctdrn7cbk9rvpo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='647';
20240314@183635.5928 5purhho21epkctdrn7cbk9rvpo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='647';
20240314@183635.5942 5purhho21epkctdrn7cbk9rvpo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='647';
20240314@183635.5955 5purhho21epkctdrn7cbk9rvpo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='647';
20240314@183635.5966 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.5971 5purhho21epkctdrn7cbk9rvpo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183635.5985 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.5988 5purhho21epkctdrn7cbk9rvpo Query : select no, estab,szadrsdesc from szadrs where u_coddest=2427
20240314@183635.6074 5purhho21epkctdrn7cbk9rvpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240314@183635.6090 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402148 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240314@183635.6457 5purhho21epkctdrn7cbk9rvpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240314@183635.6476 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402148 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240314@183635.6481 5purhho21epkctdrn7cbk9rvpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240314@183635.6491 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402148 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240314@183635.6857 5purhho21epkctdrn7cbk9rvpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240314@183635.6868 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402148 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240314@183635.6873 5purhho21epkctdrn7cbk9rvpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20240314@183635.9060 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402148 and bi.ref ='324.1643.00.1' and bi.lordem =3
20240314@183635.9447 5purhho21epkctdrn7cbk9rvpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20240314@183635.9458 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402148 and bi.ref ='324.1643.00.1' and bi.lordem =3
20240314@183635.9465 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.9468 5purhho21epkctdrn7cbk9rvpo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183635.9484 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.9487 5purhho21epkctdrn7cbk9rvpo Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183635.9500 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.9503 5purhho21epkctdrn7cbk9rvpo Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183635.9539 5purhho21epkctdrn7cbk9rvpo Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183635.9554 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.9557 5purhho21epkctdrn7cbk9rvpo Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240314@183635.9566 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.9569 5purhho21epkctdrn7cbk9rvpo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183635.9585 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.9588 5purhho21epkctdrn7cbk9rvpo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183635.9598 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.9601 5purhho21epkctdrn7cbk9rvpo Query : select szadrsstamp valor from szadrs where szadrsdesc='electrodomesticos divelsa,s.a'
20240314@183635.9621 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183635.9624 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from td where ndoc = 39
20240314@183635.9634 5purhho21epkctdrn7cbk9rvpo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183635.9645 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183635.9659 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183635.9688 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183635.9703 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183635.9743 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183635.9763 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183635.9775 5purhho21epkctdrn7cbk9rvpo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183635.9897 5purhho21epkctdrn7cbk9rvpo Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183635.9912 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183635.9926 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183635.9937 5purhho21epkctdrn7cbk9rvpo Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f343849665f343b3ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183636.1380 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183636.1590 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183636.1990 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183636.2040 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183636.2090 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183636.2360 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183636.2500 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183636.2560 5purhho21epkctdrn7cbk9rvpo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183636.2620 5purhho21epkctdrn7cbk9rvpo Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f343849665f343b3ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183636.5510 5purhho21epkctdrn7cbk9rvpo Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183636.5750 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183636.5900 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183636.6070 5purhho21epkctdrn7cbk9rvpo Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f343849665f343b3ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',481,200500,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183636.9510 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183636.9610 5purhho21epkctdrn7cbk9rvpo Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240314@183636.9730 5purhho21epkctdrn7cbk9rvpo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240314@183636.9860 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.1051 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183636.1079 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.1093 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183636.1097 5purhho21epkctdrn7cbk9rvpo Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240314@183636.1108 5purhho21epkctdrn7cbk9rvpo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183636.1120 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.2268 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183636.2294 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f349888665f343b41b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut65f343849665f343b3ee' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183636.2585 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.2635 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183636.2641 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f349888665f343b41b','aut65f343849665f343b3ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183636.2648 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.2672 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183636.2700 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.2733 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183636.2739 5purhho21epkctdrn7cbk9rvpo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183636.2751 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.2767 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183636.2817 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f344177365f343b443',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f343849665f343b3ee' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183636.3147 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.3172 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183636.3179 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344177365f343b443','aut65f343849665f343b3ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183636.3185 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183636.3189 5purhho21epkctdrn7cbk9rvpo Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240314@183636.3201 5purhho21epkctdrn7cbk9rvpo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240314@183636.3235 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.3250 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183636.3304 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.3323 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183636.3340 5purhho21epkctdrn7cbk9rvpo Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240314@183636.3352 5purhho21epkctdrn7cbk9rvpo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183636.3367 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.3383 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183636.3435 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f346429165f343b452',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut65f343849665f343b3ee' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183636.3737 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.3759 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183636.3763 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f346429165f343b452','aut65f343849665f343b3ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183636.3768 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.3781 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183636.3816 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.3828 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183636.3832 5purhho21epkctdrn7cbk9rvpo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183636.3841 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.3852 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183636.3901 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f342691965f343b45d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f343849665f343b3ee' ,0,0 ,2,23.00,50000,?,?,?)
20240314@183636.4186 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.4212 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183636.4216 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f342691965f343b45d','aut65f343849665f343b3ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183636.4220 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183636.4223 5purhho21epkctdrn7cbk9rvpo Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240314@183636.4237 5purhho21epkctdrn7cbk9rvpo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240314@183636.4248 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.4260 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183636.4305 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.4323 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183636.4327 5purhho21epkctdrn7cbk9rvpo Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20240314@183636.4332 5purhho21epkctdrn7cbk9rvpo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183636.4341 5purhho21epkctdrn7cbk9rvpo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.4353 5purhho21epkctdrn7cbk9rvpo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183636.4389 5purhho21epkctdrn7cbk9rvpo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f344651165f343b469',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut65f343849665f343b3ee' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240314@183636.4682 5purhho21epkctdrn7cbk9rvpo Query : use flama_phc
20240314@183636.4686 5purhho21epkctdrn7cbk9rvpo Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240314@183636.4696 5purhho21epkctdrn7cbk9rvpo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='647';
20240314@183636.4737 5purhho21epkctdrn7cbk9rvpo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='647';
20240314@183636.5111 r8js12rpg0on43u05ocpj82pl4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183636.5131 r8js12rpg0on43u05ocpj82pl4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183636.5148 r8js12rpg0on43u05ocpj82pl4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='648';
20240314@183636.5197 r8js12rpg0on43u05ocpj82pl4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='648';
20240314@183636.5211 r8js12rpg0on43u05ocpj82pl4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='648';
20240314@183636.5227 r8js12rpg0on43u05ocpj82pl4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='648';
20240314@183636.5240 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.5243 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183636.5256 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.5259 r8js12rpg0on43u05ocpj82pl4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1152
20240314@183636.5367 r8js12rpg0on43u05ocpj82pl4 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'
20240314@183636.5538 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402154 and bi.ref ='324.682.00.01' and bi.lordem =1
20240314@183636.5895 r8js12rpg0on43u05ocpj82pl4 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'
20240314@183636.5907 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402154 and bi.ref ='324.682.00.01' and bi.lordem =2
20240314@183636.6245 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.6249 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183636.6263 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.6266 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183636.6276 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.6280 r8js12rpg0on43u05ocpj82pl4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183636.6292 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183636.6305 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.6309 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 ~inactivo valor from cl where no = '101393' and estab = 0 order by inactivo desc
20240314@183636.6420 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.6423 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183636.6434 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.6437 r8js12rpg0on43u05ocpj82pl4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183636.6458 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.6461 r8js12rpg0on43u05ocpj82pl4 Query : select szadrsstamp valor from szadrs where szadrsdesc='antonio solha & irmÃo, lda.'
20240314@183636.6480 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.6483 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from td where ndoc = 39
20240314@183636.6494 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183636.6506 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183636.6520 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183636.6560 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183636.6573 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183636.6601 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183636.6624 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183636.6648 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183636.6807 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183636.6842 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183636.6856 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183636.6867 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f340758165f343b4a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183636.7065 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183636.7085 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183636.7114 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183636.7118 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183636.7123 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183636.7128 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183636.7133 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183636.7138 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183636.7142 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f340758165f343b4a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183636.7439 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183636.7457 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183636.7480 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183636.7498 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f340758165f343b4a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',481,101393,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183636.7848 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183636.7852 r8js12rpg0on43u05ocpj82pl4 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240314@183636.7865 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240314@183636.8036 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.8051 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183636.8076 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.8089 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183636.8094 r8js12rpg0on43u05ocpj82pl4 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2301262200a'
20240314@183636.8680 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183636.9299 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.9315 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183636.9366 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f348070165f343b4e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f340758165f343b4a2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183636.9687 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.9723 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183636.9728 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f348070165f343b4e3','aut65f340758165f343b4a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183636.9734 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183636.9774 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183636.9806 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183636.9957 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183636.9991 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183637.3000 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.2400 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183637.7400 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f342868365f343b500',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f340758165f343b4a2' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183637.3730 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.3890 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183637.3930 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f342868365f343b500','aut65f340758165f343b4a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183637.3980 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183637.4010 r8js12rpg0on43u05ocpj82pl4 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240314@183637.4130 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240314@183637.4240 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.4630 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183637.4920 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.5050 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183637.5090 r8js12rpg0on43u05ocpj82pl4 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2301262200a'
20240314@183637.5190 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183637.5410 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.5570 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183637.5900 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f344591765f343b50d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f340758165f343b4a2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183637.9000 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.9260 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183637.9370 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f344591765f343b50d','aut65f340758165f343b4a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183637.9440 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.9840 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183637.1047 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.1063 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183637.1088 r8js12rpg0on43u05ocpj82pl4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183637.1112 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.1133 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183637.1275 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f347301965f343b51b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f340758165f343b4a2' ,0,0 ,2,23.00,50000,?,?,?)
20240314@183637.1608 r8js12rpg0on43u05ocpj82pl4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.1641 r8js12rpg0on43u05ocpj82pl4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183637.1647 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347301965f343b51b','aut65f340758165f343b4a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183637.1652 r8js12rpg0on43u05ocpj82pl4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f340758165f343b4a2','2402154','wait',39,'ari17112337378,753000005')
20240314@183637.1687 r8js12rpg0on43u05ocpj82pl4 Query : use flama_phc
20240314@183637.1694 r8js12rpg0on43u05ocpj82pl4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183637.1711 r8js12rpg0on43u05ocpj82pl4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='648';
20240314@183637.1729 r8js12rpg0on43u05ocpj82pl4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='648';
20240314@183637.1742 r8js12rpg0on43u05ocpj82pl4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='648';
20240314@183637.1765 r8js12rpg0on43u05ocpj82pl4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='648';
20240314@183637.2307 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183637.2382 qq7k6l1q50ie15oidkq2c6lb5l Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183637.2543 qq7k6l1q50ie15oidkq2c6lb5l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='649';
20240314@183637.2786 qq7k6l1q50ie15oidkq2c6lb5l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='649';
20240314@183637.2801 qq7k6l1q50ie15oidkq2c6lb5l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='649';
20240314@183637.2896 qq7k6l1q50ie15oidkq2c6lb5l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='649';
20240314@183637.2912 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.2916 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183637.2930 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.2934 qq7k6l1q50ie15oidkq2c6lb5l Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240314@183637.3023 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20240314@183637.3196 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402156 and bi.ref ='327.8152.00.1' and bi.lordem =1
20240314@183637.3547 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20240314@183637.3566 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402156 and bi.ref ='327.8152.00.1' and bi.lordem =1
20240314@183637.3572 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.3575 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183637.3589 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.3592 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183637.3601 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.3604 qq7k6l1q50ie15oidkq2c6lb5l Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183637.3615 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183637.3628 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.3632 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240314@183637.3642 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.3645 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183637.3657 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.3660 qq7k6l1q50ie15oidkq2c6lb5l Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183637.3670 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.3673 qq7k6l1q50ie15oidkq2c6lb5l Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240314@183637.3686 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.3689 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from td where ndoc = 39
20240314@183637.3699 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183637.3726 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183637.3743 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183637.3761 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183637.3773 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183637.3822 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183637.3836 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183637.3849 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183637.3955 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183637.3965 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183637.3995 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183637.4005 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f344423765f343b55d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183637.4206 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183637.4228 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183637.4259 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183637.4264 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183637.4268 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183637.4273 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183637.4279 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183637.4298 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183637.4303 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f344423765f343b55d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183637.4588 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183637.4613 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183637.4629 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183637.4648 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f344423765f343b55d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',482,100810,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183637.4985 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.4997 qq7k6l1q50ie15oidkq2c6lb5l Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20240314@183637.5010 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8152.00.1'
20240314@183637.5177 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.5191 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183637.5214 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.5229 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183637.5235 qq7k6l1q50ie15oidkq2c6lb5l Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2200712200a'
20240314@183637.5252 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183637.5270 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.5286 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183637.5313 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f340345265f343b580',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f344423765f343b55d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183637.5613 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.5637 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183637.5642 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f340345265f343b580','aut65f344423765f343b55d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183637.5647 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.5674 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183637.5701 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.5717 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183637.5721 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183637.5731 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.5759 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183637.5788 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f341638165f343b58b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f344423765f343b55d' ,0,0 ,2,23.00,20000,?,?,?)
20240314@183637.6097 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.6115 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183637.6121 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f341638165f343b58b','aut65f344423765f343b55d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183637.6127 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.6134 qq7k6l1q50ie15oidkq2c6lb5l Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20240314@183637.6151 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8152.00.1'
20240314@183637.6163 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.6192 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183637.6223 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.6245 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183637.6249 qq7k6l1q50ie15oidkq2c6lb5l Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2200712200a'
20240314@183637.6258 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183637.6277 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.6290 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183637.6326 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f342006465f343b599',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f344423765f343b55d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240314@183637.6628 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.6652 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183637.6657 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f342006465f343b599','aut65f344423765f343b55d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183637.6662 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.6676 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183637.6721 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.6738 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183637.6747 qq7k6l1q50ie15oidkq2c6lb5l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183637.6756 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183637.6769 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183637.6812 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f345270265f343b5a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f344423765f343b55d' ,0,0 ,2,23.00,50000,?,?,?)
20240314@183637.7091 qq7k6l1q50ie15oidkq2c6lb5l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183637.7114 qq7k6l1q50ie15oidkq2c6lb5l Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183637.7119 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f345270265f343b5a4','aut65f344423765f343b55d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183637.7123 qq7k6l1q50ie15oidkq2c6lb5l Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f344423765f343b55d','2402156','wait',39,'ari17112337378,753000005')
20240314@183637.7140 qq7k6l1q50ie15oidkq2c6lb5l Query : use flama_phc
20240314@183637.7143 qq7k6l1q50ie15oidkq2c6lb5l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183637.7157 qq7k6l1q50ie15oidkq2c6lb5l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='649';
20240314@183637.7172 qq7k6l1q50ie15oidkq2c6lb5l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='649';
20240314@183637.7199 qq7k6l1q50ie15oidkq2c6lb5l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='649';
20240314@183637.7217 qq7k6l1q50ie15oidkq2c6lb5l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='649';
20240314@183637.7589 aplsf35qt5rn6o056pi265c8ft Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240314@183637.7608 aplsf35qt5rn6o056pi265c8ft Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240314@183637.7636 aplsf35qt5rn6o056pi265c8ft Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='650';
20240314@183637.7692 aplsf35qt5rn6o056pi265c8ft Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='650';
20240314@183637.7710 aplsf35qt5rn6o056pi265c8ft Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='650';
20240314@183637.7724 aplsf35qt5rn6o056pi265c8ft Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='650';
20240314@183637.7773 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183637.7811 aplsf35qt5rn6o056pi265c8ft Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240314@183637.7827 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183637.7830 aplsf35qt5rn6o056pi265c8ft Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240314@183637.7939 aplsf35qt5rn6o056pi265c8ft Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240314@183637.7953 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402158 and bi.ref ='324.958.00.01' and bi.lordem =1
20240314@183637.8294 aplsf35qt5rn6o056pi265c8ft Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240314@183637.8552 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402158 and bi.ref ='304.421.00.04' and bi.lordem =2
20240314@183637.9013 aplsf35qt5rn6o056pi265c8ft Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240314@183637.9024 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402158 and bi.ref ='304.421.00.04' and bi.lordem =2
20240314@183637.9030 aplsf35qt5rn6o056pi265c8ft Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240314@183637.9196 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402158 and bi.ref ='324.4970.00.1' and bi.lordem =3
20240314@183637.9572 aplsf35qt5rn6o056pi265c8ft 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'
20240314@183637.9769 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402158 and bi.ref ='324.4980.00.1' and bi.lordem =4
20240314@183638.1440 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.1490 aplsf35qt5rn6o056pi265c8ft Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240314@183638.1630 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.1660 aplsf35qt5rn6o056pi265c8ft Query : select top 1 1 valor from td where td.ndoc = 39
20240314@183638.1770 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.1790 aplsf35qt5rn6o056pi265c8ft Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240314@183638.1900 aplsf35qt5rn6o056pi265c8ft Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240314@183638.2140 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.2170 aplsf35qt5rn6o056pi265c8ft Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240314@183638.3220 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.3250 aplsf35qt5rn6o056pi265c8ft Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240314@183638.3590 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.3620 aplsf35qt5rn6o056pi265c8ft Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240314@183638.3720 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.3800 aplsf35qt5rn6o056pi265c8ft Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240314@183638.3920 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.3950 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from td where ndoc = 39
20240314@183638.4050 aplsf35qt5rn6o056pi265c8ft Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240314@183638.4160 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183638.4300 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240314@183638.4620 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183638.4760 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240314@183638.5210 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183638.5390 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240314@183638.5490 aplsf35qt5rn6o056pi265c8ft Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183638.6690 aplsf35qt5rn6o056pi265c8ft Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240314@183638.6860 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240314@183638.7110 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240314@183638.7220 aplsf35qt5rn6o056pi265c8ft Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f340710065f343b60d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240314@183638.9130 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240314@183638.9350 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240314@183638.9710 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240314@183638.9760 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240314@183638.9820 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240314@183638.1013 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240314@183638.1018 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240314@183638.1023 aplsf35qt5rn6o056pi265c8ft Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240314@183638.1027 aplsf35qt5rn6o056pi265c8ft Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f340710065f343b60d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240314@183638.1298 aplsf35qt5rn6o056pi265c8ft Query : select top 1 fno valor from wsft039data order by fno desc
20240314@183638.1322 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240314@183638.1340 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240314@183638.1358 aplsf35qt5rn6o056pi265c8ft Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f340710065f343b60d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',483,101597,0,'2024-03-14',39,'euro',0,0,2024 ,'20240314','1906',?,?,?,?)
20240314@183638.1737 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.1745 aplsf35qt5rn6o056pi265c8ft Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240314@183638.1757 aplsf35qt5rn6o056pi265c8ft Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240314@183638.1768 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.1783 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183638.1806 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.1842 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183638.1846 aplsf35qt5rn6o056pi265c8ft Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2301081100a'
20240314@183638.1861 aplsf35qt5rn6o056pi265c8ft Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183638.1871 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.1884 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183638.1908 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f348338565f343b62d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut65f340710065f343b60d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240314@183638.2242 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.2260 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183638.2265 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f348338565f343b62d','aut65f340710065f343b60d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183638.2271 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.2276 aplsf35qt5rn6o056pi265c8ft Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240314@183638.2289 aplsf35qt5rn6o056pi265c8ft Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240314@183638.2524 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.2538 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183638.2561 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.2574 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183638.2579 aplsf35qt5rn6o056pi265c8ft Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240314@183638.2602 aplsf35qt5rn6o056pi265c8ft Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183638.2611 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.2634 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183638.2657 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f340768765f343b63f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut65f340710065f343b60d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240314@183638.2968 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.2984 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183638.2988 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f340768765f343b63f','aut65f340710065f343b60d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183638.2993 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.3006 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183638.3031 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.3056 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183638.3061 aplsf35qt5rn6o056pi265c8ft Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183638.3070 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.3085 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183638.3128 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f347492465f343b64a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f340710065f343b60d' ,0,0 ,2,23.00,30000,?,?,?)
20240314@183638.3411 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.3435 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183638.3440 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347492465f343b64a','aut65f340710065f343b60d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183638.3444 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.3447 aplsf35qt5rn6o056pi265c8ft Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240314@183638.3458 aplsf35qt5rn6o056pi265c8ft Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240314@183638.3472 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.3484 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183638.3507 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.3519 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183638.3523 aplsf35qt5rn6o056pi265c8ft Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240314@183638.3534 aplsf35qt5rn6o056pi265c8ft Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183638.3566 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.3578 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183638.3602 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f345046865f343b657',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut65f340710065f343b60d' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240314@183638.3883 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.3904 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183638.3908 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f345046865f343b657','aut65f340710065f343b60d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183638.3913 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.3927 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183638.3950 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.3963 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183638.3990 aplsf35qt5rn6o056pi265c8ft Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183638.4000 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.4014 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183638.4038 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f349834265f343b661',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f340710065f343b60d' ,0,0 ,2,23.00,60000,?,?,?)
20240314@183638.4334 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.4354 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183638.4359 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f349834265f343b661','aut65f340710065f343b60d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183638.4363 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.4366 aplsf35qt5rn6o056pi265c8ft Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240314@183638.4377 aplsf35qt5rn6o056pi265c8ft Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240314@183638.4539 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.4554 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183638.4603 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.4617 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183638.4621 aplsf35qt5rn6o056pi265c8ft Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240314@183638.4632 aplsf35qt5rn6o056pi265c8ft Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183638.4642 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.4653 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183638.4676 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f347333865f343b671',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut65f340710065f343b60d' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240314@183638.4968 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.4983 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183638.4987 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f347333865f343b671','aut65f340710065f343b60d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183638.4992 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.4995 aplsf35qt5rn6o056pi265c8ft Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20240314@183638.5006 aplsf35qt5rn6o056pi265c8ft Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20240314@183638.5191 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.5205 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240314@183638.5228 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.5241 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240314@183638.5245 aplsf35qt5rn6o056pi265c8ft Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20240314@183638.5256 aplsf35qt5rn6o056pi265c8ft Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240314@183638.5265 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240314@183638.5277 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240314@183638.5314 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f345678565f343b680',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut65f340710065f343b60d' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240314@183638.5630 aplsf35qt5rn6o056pi265c8ft Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240314@183638.5646 aplsf35qt5rn6o056pi265c8ft Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240314@183638.5650 aplsf35qt5rn6o056pi265c8ft Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f345678565f343b680','aut65f340710065f343b60d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240314@183638.5654 aplsf35qt5rn6o056pi265c8ft Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f340710065f343b60d','2402158','wait',39,'ari17112337378,753000005')
20240314@183638.5671 aplsf35qt5rn6o056pi265c8ft Query : use flama_phc
20240314@183638.5674 aplsf35qt5rn6o056pi265c8ft Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240314@183638.5687 aplsf35qt5rn6o056pi265c8ft Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='650';
20240314@183638.5706 aplsf35qt5rn6o056pi265c8ft Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='650';
20240314@183638.5724 aplsf35qt5rn6o056pi265c8ft Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='650';
20240314@183638.5740 aplsf35qt5rn6o056pi265c8ft Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='650';

20240315@084930.5970 5cmv7s8hhp5um8kb42k5jflqeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='651';
20240315@084930.6230 5cmv7s8hhp5um8kb42k5jflqeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='651';
20240315@084930.6370 5cmv7s8hhp5um8kb42k5jflqeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='651';
20240315@084930.6490 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.6520 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240315@084930.7000 5cmv7s8hhp5um8kb42k5jflqeu Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20240315@084930.8920 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1847.00.1'
20240315@084930.9970 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1833.00.2'
20240315@084930.1115 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.1118 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 1 valor from ts where ts.ndos = 5
20240315@084930.1214 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.1218 5cmv7s8hhp5um8kb42k5jflqeu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240315@084930.1264 5cmv7s8hhp5um8kb42k5jflqeu 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 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240315@084930.1407 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.1410 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240315@084930.1497 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.1501 5cmv7s8hhp5um8kb42k5jflqeu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240315@084930.1552 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.1555 5cmv7s8hhp5um8kb42k5jflqeu Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20240315@084930.1569 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.1572 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from ts where ndos = 5
20240315@084930.1636 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240315@084930.2018 5cmv7s8hhp5um8kb42k5jflqeu Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20240315@084930.2087 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240315@084930.2377 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240315@084930.2706 5cmv7s8hhp5um8kb42k5jflqeu 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 = 5
20240315@084930.2835 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240315@084930.2981 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240315@084930.3110 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.3114 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240315@084930.3402 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240315@084930.3413 5cmv7s8hhp5um8kb42k5jflqeu Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f409873265f40b9a4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240315@084930.3615 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240315@084930.3624 5cmv7s8hhp5um8kb42k5jflqeu Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut65f409873265f40b9a4b','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240315','09:19',?,?)
20240315@084930.4124 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240315@084930.4140 5cmv7s8hhp5um8kb42k5jflqeu Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20240315@084930.4175 5cmv7s8hhp5um8kb42k5jflqeu Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut65f409873265f40b9a4b','trf entre armazéns a','2024-03-15',5,176,?,?,?,?,?,?,?,?,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',?)
20240315@084930.5253 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.5257 5cmv7s8hhp5um8kb42k5jflqeu Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240315@084930.5376 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1847.00.1'
20240315@084930.5561 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240315@084930.5881 5cmv7s8hhp5um8kb42k5jflqeu Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240315@084930.5932 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240315@084930.6222 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240315@084930.6238 5cmv7s8hhp5um8kb42k5jflqeu Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240315@084930.6251 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240315@084930.6257 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240315@084930.6299 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240315@084930.6313 5cmv7s8hhp5um8kb42k5jflqeu Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20240315@084930.6350 5cmv7s8hhp5um8kb42k5jflqeu Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut65f402529465f40b9a99',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut65f409873265f40b9a4b'
20240315@084930.7111 5cmv7s8hhp5um8kb42k5jflqeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240315@084930.7120 5cmv7s8hhp5um8kb42k5jflqeu Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut65f402529465f40b9a99','aut65f409873265f40b9a4b',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut65f409873265f40b9a4b'
20240315@084930.7439 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.7444 5cmv7s8hhp5um8kb42k5jflqeu Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240315@084930.7463 5cmv7s8hhp5um8kb42k5jflqeu Query : use flama_phc
20240315@084930.7466 5cmv7s8hhp5um8kb42k5jflqeu Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20240315@084930.7525 5cmv7s8hhp5um8kb42k5jflqeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='651';
20240315@084930.7550 5cmv7s8hhp5um8kb42k5jflqeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='651';
20240315@084930.7899 4ne2rjk9btnfo7gnr198h0719o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240315@084930.7912 4ne2rjk9btnfo7gnr198h0719o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240315@084930.7928 4ne2rjk9btnfo7gnr198h0719o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='652';
20240315@084930.7971 4ne2rjk9btnfo7gnr198h0719o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='652';
20240315@084930.7985 4ne2rjk9btnfo7gnr198h0719o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='652';
20240315@084930.7998 4ne2rjk9btnfo7gnr198h0719o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='652';
20240315@084930.8011 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084930.8014 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240315@084930.8046 4ne2rjk9btnfo7gnr198h0719o Query : select no, estab,szadrsdesc from szadrs where u_coddest=39
20240315@084930.8129 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1896.00.1'
20240315@084930.8263 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '321.181.45.00'
20240315@084930.8382 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '321.181.120.0'
20240315@084930.8499 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '321.162.40.00'
20240315@084930.8609 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.698.00.01'
20240315@084930.8721 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1643.00.1'
20240315@084930.8835 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1667.00.1'
20240315@084930.8972 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1547.00.1'
20240315@084930.9087 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5540.00.1'
20240315@084930.9202 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9902.00.1'
20240315@084930.9310 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9902.00.1'
20240315@084930.9320 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084930.9323 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 1 valor from ts where ts.ndos = 5
20240315@084930.9333 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084930.9336 4ne2rjk9btnfo7gnr198h0719o Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240315@084930.9347 4ne2rjk9btnfo7gnr198h0719o 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 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240315@084930.9361 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084930.9365 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240315@084930.9376 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084930.9379 4ne2rjk9btnfo7gnr198h0719o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240315@084930.9389 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084930.9392 4ne2rjk9btnfo7gnr198h0719o Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes - 1685-525 caneÇas'
20240315@084930.9405 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084930.9408 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from ts where ndos = 5
20240315@084930.9417 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240315@084930.9432 4ne2rjk9btnfo7gnr198h0719o Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20240315@084930.9442 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240315@084930.9449 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240315@084930.9456 4ne2rjk9btnfo7gnr198h0719o 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 = 5
20240315@084930.9476 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240315@084930.9506 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240315@084930.9511 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084930.9514 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240315@084930.9524 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240315@084930.9531 4ne2rjk9btnfo7gnr198h0719o Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f405082265f40b9ae8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240315@084930.9535 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240315@084930.9542 4ne2rjk9btnfo7gnr198h0719o Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut65f405082265f40b9ae8','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240315','09:19',?,?)
20240315@084930.9757 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240315@084930.9772 4ne2rjk9btnfo7gnr198h0719o Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20240315@084930.9782 4ne2rjk9btnfo7gnr198h0719o Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut65f405082265f40b9ae8','trf entre armazéns a','2024-03-15',5,176,?,?,?,?,?,?,?,?,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',?)
20240315@084931.6000 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.6040 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '324.1896.00.1'
20240315@084931.6170 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1896.00.1'
20240315@084931.7870 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240315@084931.8020 4ne2rjk9btnfo7gnr198h0719o Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240315@084931.8150 4ne2rjk9btnfo7gnr198h0719o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240315@084931.8220 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.8250 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '321.181.45.00'
20240315@084931.8370 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.8400 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '321.181.120.0'
20240315@084931.8500 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.8530 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '321.162.40.00'
20240315@084931.8630 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.8650 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20240315@084931.8750 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.8780 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20240315@084931.8880 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.8920 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240315@084931.9020 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.9050 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '324.1547.00.1'
20240315@084931.9150 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.9180 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240315@084931.9280 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.9310 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20240315@084931.9410 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.9440 4ne2rjk9btnfo7gnr198h0719o Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20240315@084931.9640 4ne2rjk9btnfo7gnr198h0719o Query : use flama_phc
20240315@084931.9680 4ne2rjk9btnfo7gnr198h0719o Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20240315@084931.9810 4ne2rjk9btnfo7gnr198h0719o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='652';
20240315@084931.9950 4ne2rjk9btnfo7gnr198h0719o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='652';
20240315@091831.7947 pagme6uejafpo5363bkr49skn2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240315@091831.7979 pagme6uejafpo5363bkr49skn2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240315@091831.8048 pagme6uejafpo5363bkr49skn2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='653';
20240315@091831.8094 pagme6uejafpo5363bkr49skn2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='653';
20240315@091831.8130 pagme6uejafpo5363bkr49skn2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='653';
20240315@091831.8195 pagme6uejafpo5363bkr49skn2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='653';
20240315@091831.8218 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091831.8223 pagme6uejafpo5363bkr49skn2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240315@091831.8264 pagme6uejafpo5363bkr49skn2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20240315@091831.8332 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4751.00.1'
20240315@091831.8501 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1803.00.1'
20240315@091831.8672 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1803.00.1'
20240315@091831.8684 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1685.00.1'
20240315@091831.8855 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1690.00.1'
20240315@091831.9222 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1667.00.1'
20240315@091831.9272 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4906.00.1'
20240315@091831.9486 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1896.00.1'
20240315@091831.9529 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1896.00.1'
20240315@091831.9561 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1831.00.2'
20240315@091831.9729 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1833.00.2'
20240315@091831.9764 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1221.00.1'
20240315@091831.9930 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4161.00.1'
20240315@091832.1120 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4900.00.1'
20240315@091832.3000 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5343.00.1'
20240315@091832.5070 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5347.00.1'
20240315@091832.6800 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2301.00.3'
20240315@091832.8750 pagme6uejafpo5363bkr49skn2 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.734.00.01'
20240315@091832.1050 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.1055 pagme6uejafpo5363bkr49skn2 Query : select top 1 1 valor from ts where ts.ndos = 5
20240315@091832.1091 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.1095 pagme6uejafpo5363bkr49skn2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240315@091832.1139 pagme6uejafpo5363bkr49skn2 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 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240315@091832.1201 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.1205 pagme6uejafpo5363bkr49skn2 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240315@091832.1240 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.1252 pagme6uejafpo5363bkr49skn2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240315@091832.1285 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.1288 pagme6uejafpo5363bkr49skn2 Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20240315@091832.1321 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.1325 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from ts where ndos = 5
20240315@091832.1380 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240315@091832.1430 pagme6uejafpo5363bkr49skn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20240315@091832.1442 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240315@091832.1469 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240315@091832.1476 pagme6uejafpo5363bkr49skn2 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 = 5
20240315@091832.1511 pagme6uejafpo5363bkr49skn2 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240315@091832.1561 pagme6uejafpo5363bkr49skn2 Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240315@091832.1598 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.1602 pagme6uejafpo5363bkr49skn2 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240315@091832.1634 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240315@091832.1643 pagme6uejafpo5363bkr49skn2 Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f417142465f4126827',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240315@091832.1648 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240315@091832.1674 pagme6uejafpo5363bkr49skn2 Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut65f417142465f4126827','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240315','09:48',?,?)
20240315@091832.1940 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240315@091832.1989 pagme6uejafpo5363bkr49skn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20240315@091832.2024 pagme6uejafpo5363bkr49skn2 Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut65f417142465f4126827','trf entre armazéns a','2024-03-15',5,178,?,?,?,?,?,?,?,?,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',?)
20240315@091832.2855 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.2925 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240315@091832.3926 pagme6uejafpo5363bkr49skn2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20240315@091832.4158 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240315@091832.4172 pagme6uejafpo5363bkr49skn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240315@091832.4207 pagme6uejafpo5363bkr49skn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240315@091832.4235 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4239 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240315@091832.4271 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4276 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240315@091832.4307 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4311 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20240315@091832.4341 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4345 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20240315@091832.4378 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4381 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240315@091832.4391 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4415 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240315@091832.4426 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4448 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1896.00.1'
20240315@091832.4458 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4460 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1896.00.1'
20240315@091832.4489 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4496 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240315@091832.4529 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4532 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240315@091832.4570 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4573 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.1221.00.1'
20240315@091832.4606 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4609 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.4161.00.1'
20240315@091832.4640 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4643 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.4900.00.1'
20240315@091832.4674 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4677 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20240315@091832.4713 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4726 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240315@091832.4764 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4767 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20240315@091832.4801 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4804 pagme6uejafpo5363bkr49skn2 Query : select st.usalote valor from st where st.ref = '324.734.00.01'
20240315@091832.4846 pagme6uejafpo5363bkr49skn2 Query : use flama_phc
20240315@091832.4849 pagme6uejafpo5363bkr49skn2 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20240315@091832.4883 pagme6uejafpo5363bkr49skn2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='653';
20240315@091832.4927 pagme6uejafpo5363bkr49skn2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='653';

20240315@133233.3631 dra9pniufqlj7f9mdpn7qmh306 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='654';
20240315@133233.3664 dra9pniufqlj7f9mdpn7qmh306 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='654';
20240315@133233.3681 dra9pniufqlj7f9mdpn7qmh306 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='654';

20240315@154634.5208 6t2pi2rs5aem4nov3dtmm01gev Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='655';
20240315@154634.5234 6t2pi2rs5aem4nov3dtmm01gev Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='655';
20240315@154634.5277 6t2pi2rs5aem4nov3dtmm01gev Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='655';

20240318@074608.6140 ons7dnh1qujl8tr4getfqh7a71 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='656';
20240318@074608.6167 ons7dnh1qujl8tr4getfqh7a71 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='656';
20240318@074608.6180 ons7dnh1qujl8tr4getfqh7a71 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='656';
20240318@074608.6192 ons7dnh1qujl8tr4getfqh7a71 Query : use flama_phc
20240318@074608.6195 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240318@074608.6272 ons7dnh1qujl8tr4getfqh7a71 Query : use flama_phc
20240318@074608.6275 ons7dnh1qujl8tr4getfqh7a71 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240318@074608.6373 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240318@074608.6536 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402149 and bi.ref ='324.2200.94.1' and bi.lordem =1
20240318@074608.6954 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240318@074608.7125 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402149 and bi.ref ='324.2000.94.1' and bi.lordem =2
20240318@074608.7448 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.02'
20240318@074608.7590 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402149 and bi.ref ='324.900.94.02' and bi.lordem =3
20240318@074608.7905 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240318@074608.8094 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402149 and bi.ref ='324.700.94.01' and bi.lordem =4
20240318@074608.8472 ons7dnh1qujl8tr4getfqh7a71 Query : use flama_phc
20240318@074608.8475 ons7dnh1qujl8tr4getfqh7a71 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240318@074608.8551 ons7dnh1qujl8tr4getfqh7a71 Query : use flama_phc
20240318@074608.8554 ons7dnh1qujl8tr4getfqh7a71 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -65
20240318@074608.8612 ons7dnh1qujl8tr4getfqh7a71 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='656';
20240318@074608.8628 ons7dnh1qujl8tr4getfqh7a71 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='656';
20240318@074608.8980 dna860786ahd3o1j63617tlfjt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240318@074608.8993 dna860786ahd3o1j63617tlfjt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240318@074608.9011 dna860786ahd3o1j63617tlfjt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='657';
20240318@074608.9058 dna860786ahd3o1j63617tlfjt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='657';
20240318@074608.9071 dna860786ahd3o1j63617tlfjt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='657';
20240318@074608.9084 dna860786ahd3o1j63617tlfjt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='657';
20240318@074608.9096 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074608.9099 dna860786ahd3o1j63617tlfjt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240318@074608.9111 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074608.9114 dna860786ahd3o1j63617tlfjt Query : select no, estab,szadrsdesc from szadrs where u_coddest=3674
20240318@074608.9204 dna860786ahd3o1j63617tlfjt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20240318@074608.9354 dna860786ahd3o1j63617tlfjt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402150 and bi.ref ='324.497.00.01' and bi.lordem =1
20240318@074608.9669 dna860786ahd3o1j63617tlfjt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240318@074608.9815 dna860786ahd3o1j63617tlfjt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402150 and bi.ref ='304.4860.00.1' and bi.lordem =2
20240318@074609.3630 dna860786ahd3o1j63617tlfjt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240318@074609.1220 dna860786ahd3o1j63617tlfjt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402150 and bi.ref ='324.4751.00.1' and bi.lordem =3
20240318@074609.1549 dna860786ahd3o1j63617tlfjt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240318@074609.1765 dna860786ahd3o1j63617tlfjt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402150 and bi.ref ='324.4902.00.1' and bi.lordem =4
20240318@074609.2167 dna860786ahd3o1j63617tlfjt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240318@074609.2178 dna860786ahd3o1j63617tlfjt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402150 and bi.ref ='324.4902.00.1' and bi.lordem =4
20240318@074609.2184 dna860786ahd3o1j63617tlfjt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240318@074609.2329 dna860786ahd3o1j63617tlfjt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402150 and bi.ref ='324.4906.00.1' and bi.lordem =5
20240318@074609.2660 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.2664 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240318@074609.2843 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.2846 dna860786ahd3o1j63617tlfjt Query : select top 1 1 valor from td where td.ndoc = 39
20240318@074609.2922 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.2925 dna860786ahd3o1j63617tlfjt Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240318@074609.2970 dna860786ahd3o1j63617tlfjt Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240318@074609.3079 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.3082 dna860786ahd3o1j63617tlfjt Query : select top 1 ~inactivo valor from cl where no = '199524' and estab = 0 order by inactivo desc
20240318@074609.3196 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.3199 dna860786ahd3o1j63617tlfjt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240318@074609.3269 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.3272 dna860786ahd3o1j63617tlfjt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240318@074609.3285 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.3288 dna860786ahd3o1j63617tlfjt Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- az'
20240318@074609.3300 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.3303 dna860786ahd3o1j63617tlfjt Query : select 1 valor from td where ndoc = 39
20240318@074609.3369 dna860786ahd3o1j63617tlfjt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240318@074609.3434 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240318@074609.3736 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240318@074609.3796 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240318@074609.4133 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240318@074609.4200 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240318@074609.4507 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240318@074609.4555 dna860786ahd3o1j63617tlfjt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240318@074609.4884 dna860786ahd3o1j63617tlfjt Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240318@074609.5102 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240318@074609.5116 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240318@074609.5148 dna860786ahd3o1j63617tlfjt Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240318@074609.5593 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240318@074609.5609 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240318@074609.5660 dna860786ahd3o1j63617tlfjt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240318@074609.5743 dna860786ahd3o1j63617tlfjt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240318@074609.5808 dna860786ahd3o1j63617tlfjt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240318@074609.5868 dna860786ahd3o1j63617tlfjt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240318@074609.5928 dna860786ahd3o1j63617tlfjt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240318@074609.6821 dna860786ahd3o1j63617tlfjt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240318@074609.7109 dna860786ahd3o1j63617tlfjt Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f7f2862265f7f1416f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240318@074609.8200 dna860786ahd3o1j63617tlfjt Query : select top 1 fno valor from wsft039data order by fno desc
20240318@074609.8291 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240318@074609.8323 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240318@074609.8362 dna860786ahd3o1j63617tlfjt Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f7f2862265f7f1416f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',484,199524,0,'2024-03-18',39,'euro',0,0,2024 ,'20240318','0816',?,?,?,?)
20240318@074609.9421 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074609.9426 dna860786ahd3o1j63617tlfjt Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20240318@074609.9543 dna860786ahd3o1j63617tlfjt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20240318@074609.9751 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.9900 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.2110 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.5700 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.5970 dna860786ahd3o1j63617tlfjt Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20240318@074610.8480 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.8900 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.9080 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.9520 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f9024265f7f14215',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240318@074610.1663 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.1679 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.1704 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f9024265f7f14215','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.1798 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074610.1802 dna860786ahd3o1j63617tlfjt Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240318@074610.1814 dna860786ahd3o1j63617tlfjt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240318@074610.1999 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.2019 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.2043 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.2058 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.2062 dna860786ahd3o1j63617tlfjt Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20240318@074610.2099 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.2109 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.2121 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.2144 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f7973465f7f14233',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240318@074610.2406 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.2422 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.2427 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f7973465f7f14233','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.2432 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074610.2435 dna860786ahd3o1j63617tlfjt Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240318@074610.2447 dna860786ahd3o1j63617tlfjt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20240318@074610.2626 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.2640 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.2663 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.2676 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.2680 dna860786ahd3o1j63617tlfjt Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2100594300a'
20240318@074610.2717 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.2727 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.2739 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.2764 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f3207365f7f14242',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240318@074610.3048 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.3064 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.3068 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f3207365f7f14242','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.3073 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074610.3076 dna860786ahd3o1j63617tlfjt Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240318@074610.3088 dna860786ahd3o1j63617tlfjt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240318@074610.3239 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.3253 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.3279 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.3293 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.3298 dna860786ahd3o1j63617tlfjt Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240318@074610.3316 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.3327 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.3340 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.3364 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f5917365f7f14251',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240318@074610.3635 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.3651 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.3656 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f5917365f7f14251','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.3661 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.3674 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.3714 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.3729 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.3734 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.3744 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.3756 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.3781 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f7f0572165f7f1425b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,50000,?,?,?)
20240318@074610.4181 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.4199 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.4204 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f0572165f7f1425b','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.4209 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074610.4211 dna860786ahd3o1j63617tlfjt Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240318@074610.4223 dna860786ahd3o1j63617tlfjt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240318@074610.4236 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.4251 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.4275 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.4288 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.4292 dna860786ahd3o1j63617tlfjt Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240318@074610.4303 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.4313 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.4325 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.4350 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f0924165f7f14269',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240318@074610.4794 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.4811 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.4815 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f0924165f7f14269','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.4821 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.4835 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.4861 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.4874 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.4878 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.4887 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.4900 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.4923 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f7f8058765f7f14277',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,80000,?,?,?)
20240318@074610.5216 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.5232 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.5236 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f8058765f7f14277','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.5241 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074610.5243 dna860786ahd3o1j63617tlfjt Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240318@074610.5254 dna860786ahd3o1j63617tlfjt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240318@074610.5509 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.5524 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.5549 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.5562 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.5568 dna860786ahd3o1j63617tlfjt Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240318@074610.5585 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.5594 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.5606 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.5629 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f5585565f7f14288',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240318@074610.5928 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.6154 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.6190 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f5585565f7f14288','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.6235 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.6342 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074610.6365 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.6380 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074610.6384 dna860786ahd3o1j63617tlfjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074610.6393 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074610.6405 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074610.6428 dna860786ahd3o1j63617tlfjt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f7f4292865f7f1429c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f7f2862265f7f1416f' ,0,0 ,2,23.00,110000,?,?,?)
20240318@074610.6702 dna860786ahd3o1j63617tlfjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074610.6716 dna860786ahd3o1j63617tlfjt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074610.6720 dna860786ahd3o1j63617tlfjt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f4292865f7f1429c','aut65f7f2862265f7f1416f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074610.6726 dna860786ahd3o1j63617tlfjt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f7f2862265f7f1416f','2402150','wait',39,'ari17112337378,753000005')
20240318@074610.7113 dna860786ahd3o1j63617tlfjt Query : use flama_phc
20240318@074610.7117 dna860786ahd3o1j63617tlfjt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240318@074610.7130 dna860786ahd3o1j63617tlfjt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='657';
20240318@074610.7146 dna860786ahd3o1j63617tlfjt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='657';
20240318@074610.7160 dna860786ahd3o1j63617tlfjt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='657';
20240318@074610.7171 dna860786ahd3o1j63617tlfjt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='657';
20240318@074610.7743 n5v0b1uev8kee47fovjaeic8hl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240318@074610.7778 n5v0b1uev8kee47fovjaeic8hl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240318@074610.7797 n5v0b1uev8kee47fovjaeic8hl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='658';
20240318@074610.7861 n5v0b1uev8kee47fovjaeic8hl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='658';
20240318@074610.7875 n5v0b1uev8kee47fovjaeic8hl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='658';
20240318@074610.7887 n5v0b1uev8kee47fovjaeic8hl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='658';
20240318@074610.7899 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.7903 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240318@074610.7916 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.7919 n5v0b1uev8kee47fovjaeic8hl Query : select no, estab,szadrsdesc from szadrs where u_coddest=3674
20240318@074610.7970 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20240318@074610.8145 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402151 and bi.ref ='324.5343.00.1' and bi.lordem =1
20240318@074610.8471 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20240318@074610.8483 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402151 and bi.ref ='324.5343.00.1' and bi.lordem =1
20240318@074610.8489 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.8492 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240318@074610.8506 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.8509 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 1 valor from td where td.ndoc = 39
20240318@074610.8518 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.8521 n5v0b1uev8kee47fovjaeic8hl Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240318@074610.8532 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240318@074610.8547 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.8550 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 ~inactivo valor from cl where no = '199524' and estab = 0 order by inactivo desc
20240318@074610.8561 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.8563 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240318@074610.8575 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.8577 n5v0b1uev8kee47fovjaeic8hl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240318@074610.8587 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.8590 n5v0b1uev8kee47fovjaeic8hl Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- az'
20240318@074610.8602 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.8608 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from td where ndoc = 39
20240318@074610.8617 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240318@074610.8629 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240318@074610.8642 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240318@074610.8659 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240318@074610.8672 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240318@074610.8698 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240318@074610.8710 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240318@074610.8720 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240318@074610.8823 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240318@074610.8832 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240318@074610.8845 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240318@074610.8856 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f7f0979165f7f142d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240318@074610.9060 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240318@074610.9074 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240318@074610.9101 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240318@074610.9106 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240318@074610.9111 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240318@074610.9116 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240318@074610.9120 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240318@074610.9125 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240318@074610.9130 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f7f0979165f7f142d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240318@074610.9424 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 fno valor from wsft039data order by fno desc
20240318@074610.9439 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240318@074610.9454 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240318@074610.9471 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f7f0979165f7f142d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',485,199524,0,'2024-03-18',39,'euro',0,0,2024 ,'20240318','0816',?,?,?,?)
20240318@074610.9790 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074610.9794 n5v0b1uev8kee47fovjaeic8hl Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20240318@074610.9808 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20240318@074610.9988 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.2000 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074611.3600 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.4900 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074611.5400 n5v0b1uev8kee47fovjaeic8hl Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20240318@074611.8300 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074611.9300 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.1060 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074611.1300 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f0460865f7f14302',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65f7f0979165f7f142d4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240318@074611.4110 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.4260 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074611.4300 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f0460865f7f14302','aut65f7f0979165f7f142d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074611.4350 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.4480 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074611.4720 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.4850 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074611.4900 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074611.4990 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.5120 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074611.5370 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f7f1855365f7f1430c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f7f0979165f7f142d4' ,0,0 ,2,23.00,20000,?,?,?)
20240318@074611.9330 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.1264 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074611.1506 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f1855365f7f1430c','aut65f7f0979165f7f142d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074611.1641 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074611.1723 n5v0b1uev8kee47fovjaeic8hl Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20240318@074611.2017 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20240318@074611.2850 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.2871 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074611.2895 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.2908 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074611.2912 n5v0b1uev8kee47fovjaeic8hl Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20240318@074611.2921 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074611.2930 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.2987 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074611.3010 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f9965065f7f14347',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut65f7f0979165f7f142d4' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240318@074611.3335 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.3362 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074611.3415 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f9965065f7f14347','aut65f7f0979165f7f142d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074611.3450 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.3562 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074611.3641 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.3654 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074611.3659 n5v0b1uev8kee47fovjaeic8hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074611.3670 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.3683 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074611.3706 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f7f7474365f7f14359',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f7f0979165f7f142d4' ,0,0 ,2,23.00,50000,?,?,?)
20240318@074611.4002 n5v0b1uev8kee47fovjaeic8hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.4016 n5v0b1uev8kee47fovjaeic8hl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074611.4021 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f7474365f7f14359','aut65f7f0979165f7f142d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074611.4025 n5v0b1uev8kee47fovjaeic8hl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f7f0979165f7f142d4','2402151','wait',39,'ari17112337378,753000005')
20240318@074611.4040 n5v0b1uev8kee47fovjaeic8hl Query : use flama_phc
20240318@074611.4043 n5v0b1uev8kee47fovjaeic8hl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240318@074611.4054 n5v0b1uev8kee47fovjaeic8hl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='658';
20240318@074611.4070 n5v0b1uev8kee47fovjaeic8hl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='658';
20240318@074611.4082 n5v0b1uev8kee47fovjaeic8hl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='658';
20240318@074611.4094 n5v0b1uev8kee47fovjaeic8hl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='658';
20240318@074611.4497 l4dv11utjogcob4db2o25fhcid Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240318@074611.4510 l4dv11utjogcob4db2o25fhcid Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240318@074611.4527 l4dv11utjogcob4db2o25fhcid Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='659';
20240318@074611.4566 l4dv11utjogcob4db2o25fhcid Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='659';
20240318@074611.4579 l4dv11utjogcob4db2o25fhcid Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='659';
20240318@074611.4591 l4dv11utjogcob4db2o25fhcid Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='659';
20240318@074611.4602 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.4605 l4dv11utjogcob4db2o25fhcid Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240318@074611.4617 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.4619 l4dv11utjogcob4db2o25fhcid Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20240318@074611.4701 l4dv11utjogcob4db2o25fhcid Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20240318@074611.4865 l4dv11utjogcob4db2o25fhcid Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402152 and bi.ref ='324.1685.00.1' and bi.lordem =1
20240318@074611.5196 l4dv11utjogcob4db2o25fhcid Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240318@074611.5339 l4dv11utjogcob4db2o25fhcid Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402152 and bi.ref ='324.1461.00.1' and bi.lordem =2
20240318@074611.5666 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.5670 l4dv11utjogcob4db2o25fhcid Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240318@074611.5684 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.5687 l4dv11utjogcob4db2o25fhcid Query : select top 1 1 valor from td where td.ndoc = 39
20240318@074611.5696 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.5699 l4dv11utjogcob4db2o25fhcid Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240318@074611.5711 l4dv11utjogcob4db2o25fhcid Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240318@074611.5725 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.5728 l4dv11utjogcob4db2o25fhcid Query : select top 1 ~inactivo valor from cl where no = '100800' and estab = 0 order by inactivo desc
20240318@074611.5833 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.5848 l4dv11utjogcob4db2o25fhcid Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240318@074611.5858 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.5861 l4dv11utjogcob4db2o25fhcid Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240318@074611.5872 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.5875 l4dv11utjogcob4db2o25fhcid Query : select szadrsstamp valor from szadrs where szadrsdesc='100800 - modelo continente hipermercados, sa'
20240318@074611.5888 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.5892 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from td where ndoc = 39
20240318@074611.5906 l4dv11utjogcob4db2o25fhcid Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240318@074611.5918 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240318@074611.5932 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240318@074611.5950 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240318@074611.5963 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240318@074611.5991 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240318@074611.6005 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240318@074611.6015 l4dv11utjogcob4db2o25fhcid Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240318@074611.6109 l4dv11utjogcob4db2o25fhcid Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240318@074611.6119 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240318@074611.6133 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240318@074611.6142 l4dv11utjogcob4db2o25fhcid Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f7f0935165f7f14392' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240318@074611.6352 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240318@074611.6365 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240318@074611.6392 l4dv11utjogcob4db2o25fhcid Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240318@074611.6396 l4dv11utjogcob4db2o25fhcid Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240318@074611.6401 l4dv11utjogcob4db2o25fhcid Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240318@074611.6405 l4dv11utjogcob4db2o25fhcid Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240318@074611.6410 l4dv11utjogcob4db2o25fhcid Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240318@074611.6414 l4dv11utjogcob4db2o25fhcid Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240318@074611.6418 l4dv11utjogcob4db2o25fhcid Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f7f0935165f7f14392',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240318@074611.6796 l4dv11utjogcob4db2o25fhcid Query : select top 1 fno valor from wsft039data order by fno desc
20240318@074611.6812 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240318@074611.6828 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240318@074611.6844 l4dv11utjogcob4db2o25fhcid Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f7f0935165f7f14392',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',486,100800,0,'2024-03-18',39,'euro',0,0,2024 ,'20240318','0816',?,?,?,?)
20240318@074611.7354 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.7406 l4dv11utjogcob4db2o25fhcid Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20240318@074611.7539 l4dv11utjogcob4db2o25fhcid Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1685.00.1'
20240318@074611.7768 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.7782 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074611.7806 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.7824 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074611.7829 l4dv11utjogcob4db2o25fhcid Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2100384300a'
20240318@074611.7858 l4dv11utjogcob4db2o25fhcid Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074611.7867 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.7880 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074611.7903 l4dv11utjogcob4db2o25fhcid Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f2922365f7f143c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f7f0935165f7f14392' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240318@074611.8202 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.8223 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074611.8227 l4dv11utjogcob4db2o25fhcid Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f2922365f7f143c0','aut65f7f0935165f7f14392' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074611.8232 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.8235 l4dv11utjogcob4db2o25fhcid Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240318@074611.8247 l4dv11utjogcob4db2o25fhcid Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240318@074611.8441 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.8455 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074611.8479 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.8492 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074611.8496 l4dv11utjogcob4db2o25fhcid Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240318@074611.8520 l4dv11utjogcob4db2o25fhcid Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074611.8530 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074611.8545 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074611.8569 l4dv11utjogcob4db2o25fhcid Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f1700965f7f143d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f7f0935165f7f14392' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240318@074611.8884 l4dv11utjogcob4db2o25fhcid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074611.8900 l4dv11utjogcob4db2o25fhcid Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074611.8904 l4dv11utjogcob4db2o25fhcid Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f1700965f7f143d0','aut65f7f0935165f7f14392' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074611.8909 l4dv11utjogcob4db2o25fhcid Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f7f0935165f7f14392','2402152','wait',39,'ari17112337378,753000005')
20240318@074611.8924 l4dv11utjogcob4db2o25fhcid Query : use flama_phc
20240318@074611.8927 l4dv11utjogcob4db2o25fhcid Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240318@074611.8938 l4dv11utjogcob4db2o25fhcid Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='659';
20240318@074611.8956 l4dv11utjogcob4db2o25fhcid Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='659';
20240318@074611.8989 l4dv11utjogcob4db2o25fhcid Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='659';
20240318@074611.9003 l4dv11utjogcob4db2o25fhcid Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='659';
20240318@074611.9457 82dn90mon0tq0luobtkml0pe1f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240318@074611.9472 82dn90mon0tq0luobtkml0pe1f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240318@074611.9492 82dn90mon0tq0luobtkml0pe1f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='660';
20240318@074611.9537 82dn90mon0tq0luobtkml0pe1f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='660';
20240318@074611.9552 82dn90mon0tq0luobtkml0pe1f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='660';
20240318@074611.9567 82dn90mon0tq0luobtkml0pe1f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='660';
20240318@074611.9584 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074611.9592 82dn90mon0tq0luobtkml0pe1f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240318@074611.9607 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074611.9611 82dn90mon0tq0luobtkml0pe1f Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240318@074611.9701 82dn90mon0tq0luobtkml0pe1f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240318@074611.9894 82dn90mon0tq0luobtkml0pe1f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402153 and bi.ref ='304.421.00.04' and bi.lordem =1
20240318@074612.2550 82dn90mon0tq0luobtkml0pe1f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20240318@074612.4350 82dn90mon0tq0luobtkml0pe1f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402153 and bi.ref ='324.4960.00.1' and bi.lordem =2
20240318@074612.1052 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.1137 82dn90mon0tq0luobtkml0pe1f Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240318@074612.1595 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.1901 82dn90mon0tq0luobtkml0pe1f Query : select top 1 1 valor from td where td.ndoc = 39
20240318@074612.1914 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.1917 82dn90mon0tq0luobtkml0pe1f Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240318@074612.1928 82dn90mon0tq0luobtkml0pe1f Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240318@074612.1944 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.1947 82dn90mon0tq0luobtkml0pe1f Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240318@074612.2213 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.2217 82dn90mon0tq0luobtkml0pe1f Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240318@074612.2229 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.2232 82dn90mon0tq0luobtkml0pe1f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240318@074612.2243 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.2245 82dn90mon0tq0luobtkml0pe1f Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20240318@074612.2261 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.2264 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from td where ndoc = 39
20240318@074612.2274 82dn90mon0tq0luobtkml0pe1f Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240318@074612.2286 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240318@074612.2302 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240318@074612.2320 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240318@074612.2333 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240318@074612.2365 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240318@074612.2380 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240318@074612.2391 82dn90mon0tq0luobtkml0pe1f Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240318@074612.2492 82dn90mon0tq0luobtkml0pe1f Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240318@074612.2503 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240318@074612.2519 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240318@074612.2531 82dn90mon0tq0luobtkml0pe1f Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f7f0051065f7f1443a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240318@074612.2735 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240318@074612.2753 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240318@074612.2786 82dn90mon0tq0luobtkml0pe1f Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240318@074612.2791 82dn90mon0tq0luobtkml0pe1f Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240318@074612.2796 82dn90mon0tq0luobtkml0pe1f Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240318@074612.2802 82dn90mon0tq0luobtkml0pe1f Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240318@074612.2807 82dn90mon0tq0luobtkml0pe1f Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240318@074612.2812 82dn90mon0tq0luobtkml0pe1f Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240318@074612.2817 82dn90mon0tq0luobtkml0pe1f Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f7f0051065f7f1443a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240318@074612.3614 82dn90mon0tq0luobtkml0pe1f Query : select top 1 fno valor from wsft039data order by fno desc
20240318@074612.4136 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240318@074612.4170 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240318@074612.4190 82dn90mon0tq0luobtkml0pe1f Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f7f0051065f7f1443a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',487,101900,0,'2024-03-18',39,'euro',0,0,2024 ,'20240318','0816',?,?,?,?)
20240318@074612.4693 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.4697 82dn90mon0tq0luobtkml0pe1f Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240318@074612.4712 82dn90mon0tq0luobtkml0pe1f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240318@074612.5311 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074612.5327 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074612.5354 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074612.5369 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074612.5374 82dn90mon0tq0luobtkml0pe1f Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240073'
20240318@074612.5416 82dn90mon0tq0luobtkml0pe1f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074612.5428 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074612.5443 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074612.5470 82dn90mon0tq0luobtkml0pe1f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f7590165f7f14484',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut65f7f0051065f7f1443a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240318@074612.5775 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074612.5792 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074612.5797 82dn90mon0tq0luobtkml0pe1f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f7590165f7f14484','aut65f7f0051065f7f1443a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074612.5803 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074612.5817 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074612.5844 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074612.5858 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074612.5862 82dn90mon0tq0luobtkml0pe1f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074612.5876 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074612.5890 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074612.5916 82dn90mon0tq0luobtkml0pe1f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f7f6736165f7f1448f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f7f0051065f7f1443a' ,0,0 ,2,23.00,20000,?,?,?)
20240318@074612.6235 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074612.6251 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074612.6255 82dn90mon0tq0luobtkml0pe1f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f6736165f7f1448f','aut65f7f0051065f7f1443a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074612.6260 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.6264 82dn90mon0tq0luobtkml0pe1f Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240318@074612.6278 82dn90mon0tq0luobtkml0pe1f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20240318@074612.6457 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074612.6475 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240318@074612.6499 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074612.6513 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240318@074612.6517 82dn90mon0tq0luobtkml0pe1f Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240318@074612.6541 82dn90mon0tq0luobtkml0pe1f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240318@074612.6551 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240318@074612.6566 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240318@074612.6593 82dn90mon0tq0luobtkml0pe1f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut65f7f9384765f7f1449f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut65f7f0051065f7f1443a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240318@074612.6911 82dn90mon0tq0luobtkml0pe1f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240318@074612.6929 82dn90mon0tq0luobtkml0pe1f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240318@074612.6933 82dn90mon0tq0luobtkml0pe1f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f7f9384765f7f1449f','aut65f7f0051065f7f1443a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240318@074612.6939 82dn90mon0tq0luobtkml0pe1f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f7f0051065f7f1443a','2402153','wait',39,'ari17112337378,753000005')
20240318@074612.6956 82dn90mon0tq0luobtkml0pe1f Query : use flama_phc
20240318@074612.6959 82dn90mon0tq0luobtkml0pe1f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240318@074612.6970 82dn90mon0tq0luobtkml0pe1f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='660';
20240318@074612.6986 82dn90mon0tq0luobtkml0pe1f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='660';
20240318@074612.7000 82dn90mon0tq0luobtkml0pe1f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='660';
20240318@074612.7012 82dn90mon0tq0luobtkml0pe1f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='660';
20240318@074612.7513 heeh8megihvf955t1n1v5vd1aa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240318@074612.7528 heeh8megihvf955t1n1v5vd1aa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240318@074612.7576 heeh8megihvf955t1n1v5vd1aa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='661';
20240318@074612.7628 heeh8megihvf955t1n1v5vd1aa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='661';
20240318@074612.7647 heeh8megihvf955t1n1v5vd1aa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='661';
20240318@074612.7686 heeh8megihvf955t1n1v5vd1aa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='661';
20240318@074612.7700 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.7705 heeh8megihvf955t1n1v5vd1aa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240318@074612.7720 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.7723 heeh8megihvf955t1n1v5vd1aa Query : select no, estab,szadrsdesc from szadrs where u_coddest=4801
20240318@074612.7822 heeh8megihvf955t1n1v5vd1aa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20240318@074612.8028 heeh8megihvf955t1n1v5vd1aa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2021 and bo.obrano = 2402157 and bi.ref ='324.1690.00.1' and bi.lordem =1
20240318@074612.8506 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.8510 heeh8megihvf955t1n1v5vd1aa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240318@074612.8526 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.8530 heeh8megihvf955t1n1v5vd1aa Query : select top 1 1 valor from td where td.ndoc = 39
20240318@074612.8541 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.8545 heeh8megihvf955t1n1v5vd1aa Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240318@074612.8557 heeh8megihvf955t1n1v5vd1aa Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240318@074612.8571 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.8574 heeh8megihvf955t1n1v5vd1aa Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20240318@074612.8691 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.8694 heeh8megihvf955t1n1v5vd1aa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240318@074612.8705 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.8708 heeh8megihvf955t1n1v5vd1aa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240318@074612.8719 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.8722 heeh8megihvf955t1n1v5vd1aa Query : select szadrsstamp valor from szadrs where szadrsdesc='102253 - armazem central'
20240318@074612.8739 heeh8megihvf955t1n1v5vd1aa Query : use flama_phc
20240318@074612.8741 heeh8megihvf955t1n1v5vd1aa Query : select 1 valor from td where ndoc = 39
20240318@074612.8752 heeh8megihvf955t1n1v5vd1aa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240318@074612.8763 heeh8megihvf955t1n1v5vd1aa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
