20240502@213453.1697 h46m48lii08hi72u21i1gh4s3s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213453.1702 h46m48lii08hi72u21i1gh4s3s Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240502@213453.1712 h46m48lii08hi72u21i1gh4s3s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213453.1722 h46m48lii08hi72u21i1gh4s3s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.1734 h46m48lii08hi72u21i1gh4s3s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213453.1759 h46m48lii08hi72u21i1gh4s3s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f862356633f8ed2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut6633f960216633f8ecea' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213453.2081 h46m48lii08hi72u21i1gh4s3s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.2098 h46m48lii08hi72u21i1gh4s3s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213453.2103 h46m48lii08hi72u21i1gh4s3s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f862356633f8ed2a','aut6633f960216633f8ecea' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213453.2108 h46m48lii08hi72u21i1gh4s3s Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f960216633f8ecea','2403117','wait',39,'ari17112337378,753000005')
20240502@213453.2125 h46m48lii08hi72u21i1gh4s3s Query : use flama_phc
20240502@213453.2129 h46m48lii08hi72u21i1gh4s3s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213453.2140 h46m48lii08hi72u21i1gh4s3s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1447';
20240502@213453.2161 h46m48lii08hi72u21i1gh4s3s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1447';
20240502@213453.2179 h46m48lii08hi72u21i1gh4s3s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1447';
20240502@213453.2194 h46m48lii08hi72u21i1gh4s3s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1447';
20240502@213453.2595 m0s46bo5f2lv2315je2o532i05 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213453.2610 m0s46bo5f2lv2315je2o532i05 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213453.2634 m0s46bo5f2lv2315je2o532i05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1448';
20240502@213453.2685 m0s46bo5f2lv2315je2o532i05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1448';
20240502@213453.2705 m0s46bo5f2lv2315je2o532i05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1448';
20240502@213453.2720 m0s46bo5f2lv2315je2o532i05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1448';
20240502@213453.2737 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.2740 m0s46bo5f2lv2315je2o532i05 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213453.2753 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.2756 m0s46bo5f2lv2315je2o532i05 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240502@213453.2823 m0s46bo5f2lv2315je2o532i05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240502@213453.2996 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403118 and bi.ref ='324.945.00.01' and bi.lordem =1
20240502@213453.3545 m0s46bo5f2lv2315je2o532i05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240502@213453.3593 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403118 and bi.ref ='324.945.00.01' and bi.lordem =1
20240502@213453.3599 m0s46bo5f2lv2315je2o532i05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240502@213453.3610 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403118 and bi.ref ='324.945.00.01' and bi.lordem =1
20240502@213453.3615 m0s46bo5f2lv2315je2o532i05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240502@213453.3625 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403118 and bi.ref ='324.945.00.01' and bi.lordem =1
20240502@213453.3630 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.3633 m0s46bo5f2lv2315je2o532i05 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213453.3645 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.3648 m0s46bo5f2lv2315je2o532i05 Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213453.3658 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.3660 m0s46bo5f2lv2315je2o532i05 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213453.3671 m0s46bo5f2lv2315je2o532i05 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
20240502@213453.3685 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.3688 m0s46bo5f2lv2315je2o532i05 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240502@213453.3698 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.3700 m0s46bo5f2lv2315je2o532i05 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213453.3710 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.3713 m0s46bo5f2lv2315je2o532i05 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213453.3724 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.3728 m0s46bo5f2lv2315je2o532i05 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240502@213453.3740 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.3743 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from td where ndoc = 39
20240502@213453.3753 m0s46bo5f2lv2315je2o532i05 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213453.3764 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213453.3779 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213453.3797 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213453.3812 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213453.3840 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213453.3853 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213453.3863 m0s46bo5f2lv2315je2o532i05 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213453.3963 m0s46bo5f2lv2315je2o532i05 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213453.3973 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213453.3987 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213453.3997 m0s46bo5f2lv2315je2o532i05 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f376126633f8ed5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213453.4178 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213453.4193 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213453.4220 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213453.4225 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213453.4229 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213453.4234 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213453.4238 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213453.4245 m0s46bo5f2lv2315je2o532i05 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213453.4249 m0s46bo5f2lv2315je2o532i05 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f376126633f8ed5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213453.4513 m0s46bo5f2lv2315je2o532i05 Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213453.5386 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213453.5663 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213453.5684 m0s46bo5f2lv2315je2o532i05 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 ('aut6633f376126633f8ed5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1145,100810,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213453.5986 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.5990 m0s46bo5f2lv2315je2o532i05 Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240502@213453.6004 m0s46bo5f2lv2315je2o532i05 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.945.00.01'
20240502@213453.6263 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.6285 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213453.6313 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.6327 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213453.6332 m0s46bo5f2lv2315je2o532i05 Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240502@213453.6362 m0s46bo5f2lv2315je2o532i05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213453.6372 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.6387 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213453.6418 m0s46bo5f2lv2315je2o532i05 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f919476633f8ed9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6633f376126633f8ed5e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213453.6849 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.6941 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213453.6946 m0s46bo5f2lv2315je2o532i05 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f919476633f8ed9b','aut6633f376126633f8ed5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213453.6952 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.6956 m0s46bo5f2lv2315je2o532i05 Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240502@213453.6967 m0s46bo5f2lv2315je2o532i05 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.945.00.01'
20240502@213453.6979 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.7003 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213453.7028 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.7040 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213453.7045 m0s46bo5f2lv2315je2o532i05 Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240502@213453.7055 m0s46bo5f2lv2315je2o532i05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213453.7066 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.7079 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213453.7104 m0s46bo5f2lv2315je2o532i05 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f072116633f8edac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut6633f376126633f8ed5e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213453.7384 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.7401 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213453.7405 m0s46bo5f2lv2315je2o532i05 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f072116633f8edac','aut6633f376126633f8ed5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213453.7410 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.7414 m0s46bo5f2lv2315je2o532i05 Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240502@213453.7425 m0s46bo5f2lv2315je2o532i05 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.945.00.01'
20240502@213453.7437 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.7452 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213453.7479 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.7492 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213453.7496 m0s46bo5f2lv2315je2o532i05 Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240502@213453.7505 m0s46bo5f2lv2315je2o532i05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213453.7515 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.7526 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213453.7548 m0s46bo5f2lv2315je2o532i05 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f141296633f8edb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6633f376126633f8ed5e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240502@213453.7829 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.7845 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213453.7849 m0s46bo5f2lv2315je2o532i05 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f141296633f8edb7','aut6633f376126633f8ed5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213453.7854 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.7857 m0s46bo5f2lv2315je2o532i05 Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240502@213453.7868 m0s46bo5f2lv2315je2o532i05 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.945.00.01'
20240502@213453.7880 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.7906 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213453.7932 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.7944 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213453.7958 m0s46bo5f2lv2315je2o532i05 Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240502@213453.7970 m0s46bo5f2lv2315je2o532i05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213453.7981 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213453.7996 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213453.8024 m0s46bo5f2lv2315je2o532i05 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f521846633f8edc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6633f376126633f8ed5e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240502@213453.8384 m0s46bo5f2lv2315je2o532i05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213453.8400 m0s46bo5f2lv2315je2o532i05 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213453.8404 m0s46bo5f2lv2315je2o532i05 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f521846633f8edc2','aut6633f376126633f8ed5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213453.8409 m0s46bo5f2lv2315je2o532i05 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f376126633f8ed5e','2403118','wait',39,'ari17112337378,753000005')
20240502@213453.8425 m0s46bo5f2lv2315je2o532i05 Query : use flama_phc
20240502@213453.8428 m0s46bo5f2lv2315je2o532i05 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213453.8440 m0s46bo5f2lv2315je2o532i05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1448';
20240502@213453.8460 m0s46bo5f2lv2315je2o532i05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1448';
20240502@213453.8478 m0s46bo5f2lv2315je2o532i05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1448';
20240502@213453.8492 m0s46bo5f2lv2315je2o532i05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1448';
20240502@213453.8907 v2l6897tbibf5hvp16p3gs9p0e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213453.8922 v2l6897tbibf5hvp16p3gs9p0e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213453.8948 v2l6897tbibf5hvp16p3gs9p0e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1449';
20240502@213453.8996 v2l6897tbibf5hvp16p3gs9p0e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1449';
20240502@213453.9024 v2l6897tbibf5hvp16p3gs9p0e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1449';
20240502@213453.9040 v2l6897tbibf5hvp16p3gs9p0e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1449';
20240502@213453.9055 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213453.9059 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213453.9074 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213453.9078 v2l6897tbibf5hvp16p3gs9p0e Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240502@213453.9278 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20240502@213453.9520 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403119 and bi.ref ='324.966.00.01' and bi.lordem =1
20240502@213454.7800 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.1610 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213454.6190 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.6610 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213454.1039 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.1092 v2l6897tbibf5hvp16p3gs9p0e Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213454.1106 v2l6897tbibf5hvp16p3gs9p0e 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
20240502@213454.1122 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.1126 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240502@213454.1138 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.1141 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213454.1154 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.1157 v2l6897tbibf5hvp16p3gs9p0e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213454.1169 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.1171 v2l6897tbibf5hvp16p3gs9p0e Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240502@213454.1184 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.1187 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from td where ndoc = 39
20240502@213454.1197 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213454.1209 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213454.1224 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213454.1243 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213454.1256 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213454.1286 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213454.1300 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213454.1312 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213454.1405 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213454.1416 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213454.1431 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213454.1442 v2l6897tbibf5hvp16p3gs9p0e Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f501756633f8ee20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213454.1624 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213454.1638 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213454.1666 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213454.1671 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213454.1676 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213454.1681 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213454.1685 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213454.1690 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213454.1695 v2l6897tbibf5hvp16p3gs9p0e Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f501756633f8ee20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213454.1964 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213454.1984 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213454.1999 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213454.2017 v2l6897tbibf5hvp16p3gs9p0e 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 ('aut6633f501756633f8ee20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1146,100810,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213454.2306 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.2310 v2l6897tbibf5hvp16p3gs9p0e Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20240502@213454.2323 v2l6897tbibf5hvp16p3gs9p0e 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.966.00.01'
20240502@213454.2488 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.2510 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213454.2534 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.2547 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213454.2551 v2l6897tbibf5hvp16p3gs9p0e Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2301193200a'
20240502@213454.2564 v2l6897tbibf5hvp16p3gs9p0e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213454.2574 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.2589 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213454.2614 v2l6897tbibf5hvp16p3gs9p0e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f989366633f8ee3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6633f501756633f8ee20' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213454.2901 v2l6897tbibf5hvp16p3gs9p0e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.2919 v2l6897tbibf5hvp16p3gs9p0e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213454.2924 v2l6897tbibf5hvp16p3gs9p0e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f989366633f8ee3e','aut6633f501756633f8ee20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213454.2929 v2l6897tbibf5hvp16p3gs9p0e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f501756633f8ee20','2403119','wait',39,'ari17112337378,753000005')
20240502@213454.2945 v2l6897tbibf5hvp16p3gs9p0e Query : use flama_phc
20240502@213454.2947 v2l6897tbibf5hvp16p3gs9p0e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213454.2962 v2l6897tbibf5hvp16p3gs9p0e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1449';
20240502@213454.2992 v2l6897tbibf5hvp16p3gs9p0e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1449';
20240502@213454.3025 v2l6897tbibf5hvp16p3gs9p0e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1449';
20240502@213454.3046 v2l6897tbibf5hvp16p3gs9p0e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1449';
20240502@213454.3443 os3p5jer5j9li1709khn3pphbj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213454.3459 os3p5jer5j9li1709khn3pphbj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213454.3485 os3p5jer5j9li1709khn3pphbj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1450';
20240502@213454.3541 os3p5jer5j9li1709khn3pphbj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1450';
20240502@213454.3562 os3p5jer5j9li1709khn3pphbj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1450';
20240502@213454.3579 os3p5jer5j9li1709khn3pphbj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1450';
20240502@213454.3595 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.3619 os3p5jer5j9li1709khn3pphbj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213454.3632 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.3635 os3p5jer5j9li1709khn3pphbj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240502@213454.3677 os3p5jer5j9li1709khn3pphbj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240502@213454.3858 os3p5jer5j9li1709khn3pphbj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403120 and bi.ref ='324.711.00.01' and bi.lordem =1
20240502@213454.4199 os3p5jer5j9li1709khn3pphbj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240502@213454.4210 os3p5jer5j9li1709khn3pphbj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403120 and bi.ref ='324.711.00.01' and bi.lordem =1
20240502@213454.4215 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.4218 os3p5jer5j9li1709khn3pphbj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213454.4231 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.4234 os3p5jer5j9li1709khn3pphbj Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213454.4244 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.4247 os3p5jer5j9li1709khn3pphbj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213454.4258 os3p5jer5j9li1709khn3pphbj 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
20240502@213454.4271 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.4274 os3p5jer5j9li1709khn3pphbj Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240502@213454.4284 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.4287 os3p5jer5j9li1709khn3pphbj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213454.4297 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.4300 os3p5jer5j9li1709khn3pphbj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213454.4311 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.4354 os3p5jer5j9li1709khn3pphbj Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240502@213454.4407 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.4410 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from td where ndoc = 39
20240502@213454.4422 os3p5jer5j9li1709khn3pphbj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213454.4435 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213454.4491 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213454.5740 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213454.5758 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213454.5789 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213454.5804 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213454.5816 os3p5jer5j9li1709khn3pphbj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213454.5937 os3p5jer5j9li1709khn3pphbj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213454.5948 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213454.5965 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213454.5977 os3p5jer5j9li1709khn3pphbj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f106396633f8ee8e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213454.6180 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213454.6195 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213454.6228 os3p5jer5j9li1709khn3pphbj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213454.6235 os3p5jer5j9li1709khn3pphbj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213454.6241 os3p5jer5j9li1709khn3pphbj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213454.6248 os3p5jer5j9li1709khn3pphbj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213454.6254 os3p5jer5j9li1709khn3pphbj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213454.6260 os3p5jer5j9li1709khn3pphbj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213454.6266 os3p5jer5j9li1709khn3pphbj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f106396633f8ee8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213454.6581 os3p5jer5j9li1709khn3pphbj Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213454.6604 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213454.6618 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213454.6637 os3p5jer5j9li1709khn3pphbj 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 ('aut6633f106396633f8ee8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1147,100810,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213454.6996 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.7001 os3p5jer5j9li1709khn3pphbj Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240502@213454.7014 os3p5jer5j9li1709khn3pphbj 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.711.00.01'
20240502@213454.7177 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.7192 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213454.7217 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.7231 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213454.7235 os3p5jer5j9li1709khn3pphbj Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240502@213454.7245 os3p5jer5j9li1709khn3pphbj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213454.7255 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.7266 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213454.7290 os3p5jer5j9li1709khn3pphbj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f311296633f8eeb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6633f106396633f8ee8e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213454.7662 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.7677 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213454.7681 os3p5jer5j9li1709khn3pphbj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f311296633f8eeb1','aut6633f106396633f8ee8e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213454.7686 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.7700 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213454.7724 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.7737 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213454.7741 os3p5jer5j9li1709khn3pphbj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213454.7751 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.7764 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213454.7788 os3p5jer5j9li1709khn3pphbj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f423556633f8eebd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f106396633f8ee8e' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213454.8071 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.8087 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213454.8091 os3p5jer5j9li1709khn3pphbj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f423556633f8eebd','aut6633f106396633f8ee8e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213454.8096 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.8099 os3p5jer5j9li1709khn3pphbj Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240502@213454.8110 os3p5jer5j9li1709khn3pphbj 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.711.00.01'
20240502@213454.8122 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.8137 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213454.8160 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.8172 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213454.8177 os3p5jer5j9li1709khn3pphbj Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240502@213454.8187 os3p5jer5j9li1709khn3pphbj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213454.8197 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.8210 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213454.8236 os3p5jer5j9li1709khn3pphbj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f301826633f8eec8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6633f106396633f8ee8e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240502@213454.8497 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.8513 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213454.8517 os3p5jer5j9li1709khn3pphbj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f301826633f8eec8','aut6633f106396633f8ee8e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213454.8522 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.8535 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213454.8558 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.8569 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213454.8574 os3p5jer5j9li1709khn3pphbj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213454.8585 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213454.8597 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213454.8622 os3p5jer5j9li1709khn3pphbj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f658926633f8eed1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f106396633f8ee8e' ,0,0 ,2,23.00,50000,?,?,?)
20240502@213454.8893 os3p5jer5j9li1709khn3pphbj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213454.8911 os3p5jer5j9li1709khn3pphbj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213454.8915 os3p5jer5j9li1709khn3pphbj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f658926633f8eed1','aut6633f106396633f8ee8e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213454.8920 os3p5jer5j9li1709khn3pphbj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f106396633f8ee8e','2403120','wait',39,'ari17112337378,753000005')
20240502@213454.8936 os3p5jer5j9li1709khn3pphbj Query : use flama_phc
20240502@213454.8939 os3p5jer5j9li1709khn3pphbj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213454.8953 os3p5jer5j9li1709khn3pphbj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1450';
20240502@213454.8975 os3p5jer5j9li1709khn3pphbj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1450';
20240502@213454.8993 os3p5jer5j9li1709khn3pphbj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1450';
20240502@213454.9008 os3p5jer5j9li1709khn3pphbj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1450';
20240502@213454.9402 4hftj560imci6sek16cliin3qa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213454.9417 4hftj560imci6sek16cliin3qa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213454.9441 4hftj560imci6sek16cliin3qa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1451';
20240502@213454.9484 4hftj560imci6sek16cliin3qa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1451';
20240502@213454.9503 4hftj560imci6sek16cliin3qa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1451';
20240502@213454.9518 4hftj560imci6sek16cliin3qa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1451';
20240502@213454.9537 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213454.9540 4hftj560imci6sek16cliin3qa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213454.9552 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213454.9555 4hftj560imci6sek16cliin3qa Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240502@213454.9594 4hftj560imci6sek16cliin3qa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20240502@213454.9783 4hftj560imci6sek16cliin3qa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403121 and bi.ref ='324.946.00.01' and bi.lordem =1
20240502@213455.1150 4hftj560imci6sek16cliin3qa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20240502@213455.1260 4hftj560imci6sek16cliin3qa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403121 and bi.ref ='324.946.00.01' and bi.lordem =1
20240502@213455.1310 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.1350 4hftj560imci6sek16cliin3qa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213455.1500 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.1530 4hftj560imci6sek16cliin3qa Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213455.1630 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.1650 4hftj560imci6sek16cliin3qa Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213455.1750 4hftj560imci6sek16cliin3qa 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
20240502@213455.1910 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.1940 4hftj560imci6sek16cliin3qa Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240502@213455.2040 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.2060 4hftj560imci6sek16cliin3qa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213455.2160 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.2190 4hftj560imci6sek16cliin3qa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213455.2290 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.2320 4hftj560imci6sek16cliin3qa Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240502@213455.2430 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.2460 4hftj560imci6sek16cliin3qa Query : select 1 valor from td where ndoc = 39
20240502@213455.2580 4hftj560imci6sek16cliin3qa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213455.2680 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213455.2820 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213455.2970 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213455.3100 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213455.3370 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213455.3500 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213455.3600 4hftj560imci6sek16cliin3qa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213455.4740 4hftj560imci6sek16cliin3qa Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213455.4850 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213455.4990 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213455.5090 4hftj560imci6sek16cliin3qa Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f111096633f8ef08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213455.6890 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213455.7030 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213455.7300 4hftj560imci6sek16cliin3qa Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213455.7340 4hftj560imci6sek16cliin3qa Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213455.7390 4hftj560imci6sek16cliin3qa Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213455.7430 4hftj560imci6sek16cliin3qa Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213455.7480 4hftj560imci6sek16cliin3qa Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213455.7520 4hftj560imci6sek16cliin3qa Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213455.7560 4hftj560imci6sek16cliin3qa Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f111096633f8ef08',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213455.1073 4hftj560imci6sek16cliin3qa Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213455.2150 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213455.2165 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213455.2181 4hftj560imci6sek16cliin3qa 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 ('aut6633f111096633f8ef08',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1148,100810,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213455.2491 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.2495 4hftj560imci6sek16cliin3qa Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20240502@213455.2508 4hftj560imci6sek16cliin3qa 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.946.00.01'
20240502@213455.2667 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213455.2682 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213455.2709 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213455.2724 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213455.2728 4hftj560imci6sek16cliin3qa Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20240502@213455.2752 4hftj560imci6sek16cliin3qa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213455.2762 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213455.2775 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213455.2809 4hftj560imci6sek16cliin3qa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f945106633f8ef43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f111096633f8ef08' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213455.3076 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213455.3096 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213455.3103 4hftj560imci6sek16cliin3qa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f945106633f8ef43','aut6633f111096633f8ef08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213455.3109 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.3113 4hftj560imci6sek16cliin3qa Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20240502@213455.3124 4hftj560imci6sek16cliin3qa 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.946.00.01'
20240502@213455.3137 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213455.3151 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213455.3174 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213455.3187 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213455.3191 4hftj560imci6sek16cliin3qa Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20240502@213455.3202 4hftj560imci6sek16cliin3qa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213455.3212 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213455.3225 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213455.3249 4hftj560imci6sek16cliin3qa Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f789376633f8ef4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6633f111096633f8ef08' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213455.3515 4hftj560imci6sek16cliin3qa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213455.3532 4hftj560imci6sek16cliin3qa Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213455.3538 4hftj560imci6sek16cliin3qa Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f789376633f8ef4e','aut6633f111096633f8ef08' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213455.3543 4hftj560imci6sek16cliin3qa Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f111096633f8ef08','2403121','wait',39,'ari17112337378,753000005')
20240502@213455.3560 4hftj560imci6sek16cliin3qa Query : use flama_phc
20240502@213455.3563 4hftj560imci6sek16cliin3qa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213455.3577 4hftj560imci6sek16cliin3qa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1451';
20240502@213455.3601 4hftj560imci6sek16cliin3qa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1451';
20240502@213455.3619 4hftj560imci6sek16cliin3qa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1451';
20240502@213455.3638 4hftj560imci6sek16cliin3qa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1451';
20240502@213455.4019 atmr2gigll9scv08i4cp5ajrqq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213455.4033 atmr2gigll9scv08i4cp5ajrqq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213455.4061 atmr2gigll9scv08i4cp5ajrqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1452';
20240502@213455.4111 atmr2gigll9scv08i4cp5ajrqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1452';
20240502@213455.4130 atmr2gigll9scv08i4cp5ajrqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1452';
20240502@213455.4147 atmr2gigll9scv08i4cp5ajrqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1452';
20240502@213455.4164 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4168 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213455.4186 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4190 atmr2gigll9scv08i4cp5ajrqq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240502@213455.4231 atmr2gigll9scv08i4cp5ajrqq 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'
20240502@213455.4409 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403122 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240502@213455.4755 atmr2gigll9scv08i4cp5ajrqq 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'
20240502@213455.4767 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403122 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240502@213455.4772 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4776 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213455.4810 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4814 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213455.4825 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4828 atmr2gigll9scv08i4cp5ajrqq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213455.4843 atmr2gigll9scv08i4cp5ajrqq 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
20240502@213455.4859 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4862 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240502@213455.4872 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4875 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213455.4887 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4890 atmr2gigll9scv08i4cp5ajrqq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213455.4901 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4904 atmr2gigll9scv08i4cp5ajrqq Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240502@213455.4917 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.4920 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from td where ndoc = 39
20240502@213455.4930 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213455.4942 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213455.4957 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213455.4976 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213455.4990 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213455.5019 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213455.5034 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213455.5046 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213455.5137 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213455.5150 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213455.5164 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213455.5174 atmr2gigll9scv08i4cp5ajrqq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f946246633f8ef7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213455.5369 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213455.5384 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213455.5414 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213455.5420 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213455.5425 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213455.5431 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213455.5436 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213455.5441 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213455.5446 atmr2gigll9scv08i4cp5ajrqq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f946246633f8ef7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213455.5700 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213455.5721 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213455.5737 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213455.5756 atmr2gigll9scv08i4cp5ajrqq 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 ('aut6633f946246633f8ef7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1149,100810,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213455.6143 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.6147 atmr2gigll9scv08i4cp5ajrqq Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240502@213455.6161 atmr2gigll9scv08i4cp5ajrqq 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'
20240502@213455.6327 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213455.6344 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213455.6371 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213455.6385 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213455.6389 atmr2gigll9scv08i4cp5ajrqq Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240502@213455.6411 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213455.6425 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213455.6438 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213455.6462 atmr2gigll9scv08i4cp5ajrqq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f769556633f8ef9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f946246633f8ef7b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213455.6731 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213455.6748 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213455.6752 atmr2gigll9scv08i4cp5ajrqq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f769556633f8ef9c','aut6633f946246633f8ef7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213455.6757 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.6761 atmr2gigll9scv08i4cp5ajrqq Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240502@213455.6771 atmr2gigll9scv08i4cp5ajrqq 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'
20240502@213455.6783 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213455.6798 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213455.6823 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213455.6836 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213455.6840 atmr2gigll9scv08i4cp5ajrqq Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240502@213455.6851 atmr2gigll9scv08i4cp5ajrqq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213455.6861 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213455.6872 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213455.6898 atmr2gigll9scv08i4cp5ajrqq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f608906633f8efa7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6633f946246633f8ef7b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213455.7161 atmr2gigll9scv08i4cp5ajrqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213455.7176 atmr2gigll9scv08i4cp5ajrqq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213455.7202 atmr2gigll9scv08i4cp5ajrqq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f608906633f8efa7','aut6633f946246633f8ef7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213455.7207 atmr2gigll9scv08i4cp5ajrqq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f946246633f8ef7b','2403122','wait',39,'ari17112337378,753000005')
20240502@213455.7223 atmr2gigll9scv08i4cp5ajrqq Query : use flama_phc
20240502@213455.7227 atmr2gigll9scv08i4cp5ajrqq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213455.7239 atmr2gigll9scv08i4cp5ajrqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1452';
20240502@213455.7268 atmr2gigll9scv08i4cp5ajrqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1452';
20240502@213455.7286 atmr2gigll9scv08i4cp5ajrqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1452';
20240502@213455.7300 atmr2gigll9scv08i4cp5ajrqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1452';
20240502@213455.7717 mocr62vlf50kgsbh8rb4in1omc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213455.7732 mocr62vlf50kgsbh8rb4in1omc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213455.7760 mocr62vlf50kgsbh8rb4in1omc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1453';
20240502@213455.7811 mocr62vlf50kgsbh8rb4in1omc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1453';
20240502@213455.7830 mocr62vlf50kgsbh8rb4in1omc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1453';
20240502@213455.7846 mocr62vlf50kgsbh8rb4in1omc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1453';
20240502@213455.7861 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.7865 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213455.7879 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.7882 mocr62vlf50kgsbh8rb4in1omc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240502@213455.7945 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240502@213455.8128 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403123 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240502@213455.9098 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240502@213455.9739 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403123 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240502@213455.9747 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240502@213455.9759 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403123 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240502@213455.9764 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.9768 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213455.9782 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.9785 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213455.9797 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.9800 mocr62vlf50kgsbh8rb4in1omc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213455.9810 mocr62vlf50kgsbh8rb4in1omc 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
20240502@213455.9824 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.9827 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240502@213455.9836 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.9839 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213455.9849 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.9852 mocr62vlf50kgsbh8rb4in1omc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213455.9865 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.9868 mocr62vlf50kgsbh8rb4in1omc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240502@213455.9879 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213455.9882 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from td where ndoc = 39
20240502@213455.9891 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213455.9901 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213455.9915 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213455.9933 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213455.9946 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213455.9972 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213455.9985 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213455.9995 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213456.8600 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213456.9600 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213456.1100 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213456.1440 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f210486633f8eff4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213456.3310 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213456.3480 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213456.3770 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213456.3820 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213456.3870 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213456.3920 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213456.3970 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213456.4020 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213456.4070 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f210486633f8eff4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213456.6670 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213456.6900 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213456.7040 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213456.7230 mocr62vlf50kgsbh8rb4in1omc 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 ('aut6633f210486633f8eff4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1150,100810,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213456.1011 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213456.1015 mocr62vlf50kgsbh8rb4in1omc Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240502@213456.1027 mocr62vlf50kgsbh8rb4in1omc 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.4320.00.1'
20240502@213456.1182 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.1197 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213456.1226 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.1240 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213456.1246 mocr62vlf50kgsbh8rb4in1omc Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240502@213456.1275 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213456.1285 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.1300 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213456.1327 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f683426633f8f01f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6633f210486633f8eff4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213456.1640 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.1659 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213456.1665 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f683426633f8f01f','aut6633f210486633f8eff4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213456.1670 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213456.1675 mocr62vlf50kgsbh8rb4in1omc Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240502@213456.1689 mocr62vlf50kgsbh8rb4in1omc 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.4320.00.1'
20240502@213456.1702 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.1720 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213456.1752 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.1768 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213456.1774 mocr62vlf50kgsbh8rb4in1omc Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240502@213456.1787 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213456.1800 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.1814 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213456.1837 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f197716633f8f02b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6633f210486633f8eff4' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213456.2105 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.2122 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213456.2126 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f197716633f8f02b','aut6633f210486633f8eff4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213456.2132 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213456.2135 mocr62vlf50kgsbh8rb4in1omc Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240502@213456.2146 mocr62vlf50kgsbh8rb4in1omc 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.4320.00.1'
20240502@213456.2158 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.2173 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213456.2203 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.2216 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213456.2220 mocr62vlf50kgsbh8rb4in1omc Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240502@213456.2231 mocr62vlf50kgsbh8rb4in1omc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213456.2241 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.2253 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213456.2279 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f473176633f8f036',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6633f210486633f8eff4' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240502@213456.2568 mocr62vlf50kgsbh8rb4in1omc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.2584 mocr62vlf50kgsbh8rb4in1omc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213456.2589 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f473176633f8f036','aut6633f210486633f8eff4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213456.2595 mocr62vlf50kgsbh8rb4in1omc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f210486633f8eff4','2403123','wait',39,'ari17112337378,753000005')
20240502@213456.2613 mocr62vlf50kgsbh8rb4in1omc Query : use flama_phc
20240502@213456.2616 mocr62vlf50kgsbh8rb4in1omc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213456.2627 mocr62vlf50kgsbh8rb4in1omc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1453';
20240502@213456.2653 mocr62vlf50kgsbh8rb4in1omc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1453';
20240502@213456.2671 mocr62vlf50kgsbh8rb4in1omc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1453';
20240502@213456.2686 mocr62vlf50kgsbh8rb4in1omc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1453';
20240502@213456.3097 bg1k40f9t3lln6c13t1kf2np7u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213456.3115 bg1k40f9t3lln6c13t1kf2np7u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213456.3140 bg1k40f9t3lln6c13t1kf2np7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1454';
20240502@213456.3185 bg1k40f9t3lln6c13t1kf2np7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1454';
20240502@213456.3206 bg1k40f9t3lln6c13t1kf2np7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1454';
20240502@213456.3222 bg1k40f9t3lln6c13t1kf2np7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1454';
20240502@213456.3240 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.3244 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213456.3257 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.3260 bg1k40f9t3lln6c13t1kf2np7u Query : select no, estab,szadrsdesc from szadrs where u_coddest=4920
20240502@213456.3348 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213456.3518 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403124 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213456.3897 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.3902 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213456.3915 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.3918 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213456.3928 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.3932 bg1k40f9t3lln6c13t1kf2np7u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213456.3944 bg1k40f9t3lln6c13t1kf2np7u 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
20240502@213456.3958 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.3961 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 ~inactivo valor from cl where no = '101711' and estab = 0 order by inactivo desc
20240502@213456.4084 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.4088 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213456.4099 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.4102 bg1k40f9t3lln6c13t1kf2np7u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213456.4113 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.4116 bg1k40f9t3lln6c13t1kf2np7u Query : select szadrsstamp valor from szadrs where szadrsdesc='101711 - media markt benfica -prod.inf.elect., lda'
20240502@213456.4129 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.4132 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from td where ndoc = 39
20240502@213456.4141 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213456.4153 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213456.4168 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213456.4185 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213456.4199 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213456.4225 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213456.4239 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213456.4249 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213456.4352 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213456.4361 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213456.4375 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213456.4386 bg1k40f9t3lln6c13t1kf2np7u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f358556633f8f067' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213456.4588 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213456.4603 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213456.4631 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213456.4637 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213456.4642 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213456.4647 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213456.4652 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213456.4657 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213456.4662 bg1k40f9t3lln6c13t1kf2np7u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f358556633f8f067',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213456.4941 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213456.4965 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213456.4980 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213456.5007 bg1k40f9t3lln6c13t1kf2np7u 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 ('aut6633f358556633f8f067',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1151,101711,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213456.5312 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.5317 bg1k40f9t3lln6c13t1kf2np7u Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213456.5331 bg1k40f9t3lln6c13t1kf2np7u 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.1834.00.1'
20240502@213456.6580 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.6595 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213456.6618 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.6633 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213456.6638 bg1k40f9t3lln6c13t1kf2np7u Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213456.6657 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213456.6666 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.6680 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213456.6710 bg1k40f9t3lln6c13t1kf2np7u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f599906633f8f0a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6633f358556633f8f067' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213456.6975 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.6996 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213456.7002 bg1k40f9t3lln6c13t1kf2np7u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f599906633f8f0a2','aut6633f358556633f8f067' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213456.7009 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.7025 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213456.7055 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.7068 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213456.7072 bg1k40f9t3lln6c13t1kf2np7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213456.7082 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213456.7095 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213456.7119 bg1k40f9t3lln6c13t1kf2np7u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f168416633f8f0ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f358556633f8f067' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213456.7393 bg1k40f9t3lln6c13t1kf2np7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213456.7410 bg1k40f9t3lln6c13t1kf2np7u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213456.7415 bg1k40f9t3lln6c13t1kf2np7u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f168416633f8f0ac','aut6633f358556633f8f067' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213456.7421 bg1k40f9t3lln6c13t1kf2np7u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f358556633f8f067','2403124','wait',39,'ari17112337378,753000005')
20240502@213456.7439 bg1k40f9t3lln6c13t1kf2np7u Query : use flama_phc
20240502@213456.7442 bg1k40f9t3lln6c13t1kf2np7u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213456.7455 bg1k40f9t3lln6c13t1kf2np7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1454';
20240502@213456.7477 bg1k40f9t3lln6c13t1kf2np7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1454';
20240502@213456.7496 bg1k40f9t3lln6c13t1kf2np7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1454';
20240502@213456.7511 bg1k40f9t3lln6c13t1kf2np7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1454';
20240502@213456.7889 meoob9e1c3f298971gnnpl15lk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213456.7905 meoob9e1c3f298971gnnpl15lk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213456.7930 meoob9e1c3f298971gnnpl15lk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1455';
20240502@213456.7980 meoob9e1c3f298971gnnpl15lk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1455';
20240502@213456.8000 meoob9e1c3f298971gnnpl15lk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1455';
20240502@213456.8015 meoob9e1c3f298971gnnpl15lk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1455';
20240502@213456.8034 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8038 meoob9e1c3f298971gnnpl15lk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213456.8050 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8053 meoob9e1c3f298971gnnpl15lk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20240502@213456.8139 meoob9e1c3f298971gnnpl15lk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213456.8150 meoob9e1c3f298971gnnpl15lk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403125 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213456.8502 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8506 meoob9e1c3f298971gnnpl15lk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213456.8521 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8524 meoob9e1c3f298971gnnpl15lk Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213456.8534 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8537 meoob9e1c3f298971gnnpl15lk Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213456.8548 meoob9e1c3f298971gnnpl15lk 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
20240502@213456.8562 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8565 meoob9e1c3f298971gnnpl15lk Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20240502@213456.8780 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8784 meoob9e1c3f298971gnnpl15lk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213456.8794 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8797 meoob9e1c3f298971gnnpl15lk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213456.8807 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8810 meoob9e1c3f298971gnnpl15lk Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20240502@213456.8822 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213456.8825 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from td where ndoc = 39
20240502@213456.8834 meoob9e1c3f298971gnnpl15lk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213456.8851 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213456.8864 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213456.8881 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213456.8893 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213456.8921 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213456.8933 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213456.8944 meoob9e1c3f298971gnnpl15lk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213456.9038 meoob9e1c3f298971gnnpl15lk Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213456.9048 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213456.9060 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213456.9070 meoob9e1c3f298971gnnpl15lk Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f949026633f8f0da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213456.9289 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213456.9305 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213456.9333 meoob9e1c3f298971gnnpl15lk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213456.9338 meoob9e1c3f298971gnnpl15lk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213456.9343 meoob9e1c3f298971gnnpl15lk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213456.9348 meoob9e1c3f298971gnnpl15lk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213456.9360 meoob9e1c3f298971gnnpl15lk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213456.9365 meoob9e1c3f298971gnnpl15lk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213456.9369 meoob9e1c3f298971gnnpl15lk Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f949026633f8f0da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213456.9633 meoob9e1c3f298971gnnpl15lk Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213456.9655 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213456.9673 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213456.9694 meoob9e1c3f298971gnnpl15lk 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 ('aut6633f949026633f8f0da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1152,101846,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213457.1000 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213457.5000 meoob9e1c3f298971gnnpl15lk Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213457.1600 meoob9e1c3f298971gnnpl15lk 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.1834.00.1'
20240502@213457.3500 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.5100 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213457.7500 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.8900 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213457.9400 meoob9e1c3f298971gnnpl15lk Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213457.1040 meoob9e1c3f298971gnnpl15lk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213457.1150 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.1290 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213457.1580 meoob9e1c3f298971gnnpl15lk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f792056633f8f102',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6633f949026633f8f0da' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213457.4390 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.4550 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213457.4600 meoob9e1c3f298971gnnpl15lk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f792056633f8f102','aut6633f949026633f8f0da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213457.4650 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.4820 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213457.5110 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.5260 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213457.5360 meoob9e1c3f298971gnnpl15lk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213457.5480 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.5600 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213457.5850 meoob9e1c3f298971gnnpl15lk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f328566633f8f10d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f949026633f8f0da' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213457.8520 meoob9e1c3f298971gnnpl15lk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.8690 meoob9e1c3f298971gnnpl15lk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213457.8740 meoob9e1c3f298971gnnpl15lk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f328566633f8f10d','aut6633f949026633f8f0da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213457.8790 meoob9e1c3f298971gnnpl15lk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f949026633f8f0da','2403125','wait',39,'ari17112337378,753000005')
20240502@213457.9060 meoob9e1c3f298971gnnpl15lk Query : use flama_phc
20240502@213457.9140 meoob9e1c3f298971gnnpl15lk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213457.9270 meoob9e1c3f298971gnnpl15lk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1455';
20240502@213457.9480 meoob9e1c3f298971gnnpl15lk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1455';
20240502@213457.9650 meoob9e1c3f298971gnnpl15lk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1455';
20240502@213457.9800 meoob9e1c3f298971gnnpl15lk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1455';
20240502@213457.1444 3ti16kmm9spog56o9if5vbiigi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213457.1459 3ti16kmm9spog56o9if5vbiigi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213457.1484 3ti16kmm9spog56o9if5vbiigi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1456';
20240502@213457.1536 3ti16kmm9spog56o9if5vbiigi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1456';
20240502@213457.1556 3ti16kmm9spog56o9if5vbiigi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1456';
20240502@213457.1574 3ti16kmm9spog56o9if5vbiigi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1456';
20240502@213457.1591 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.1595 3ti16kmm9spog56o9if5vbiigi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213457.1609 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.1613 3ti16kmm9spog56o9if5vbiigi Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20240502@213457.1654 3ti16kmm9spog56o9if5vbiigi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213457.1666 3ti16kmm9spog56o9if5vbiigi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403126 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213457.2009 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.2013 3ti16kmm9spog56o9if5vbiigi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213457.2026 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.2029 3ti16kmm9spog56o9if5vbiigi Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213457.2041 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.2044 3ti16kmm9spog56o9if5vbiigi Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213457.2056 3ti16kmm9spog56o9if5vbiigi 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
20240502@213457.2071 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.2075 3ti16kmm9spog56o9if5vbiigi Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20240502@213457.2086 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.2089 3ti16kmm9spog56o9if5vbiigi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213457.2100 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.2103 3ti16kmm9spog56o9if5vbiigi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213457.2114 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.2117 3ti16kmm9spog56o9if5vbiigi Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20240502@213457.2129 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.2132 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from td where ndoc = 39
20240502@213457.2142 3ti16kmm9spog56o9if5vbiigi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213457.2153 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213457.2167 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213457.2184 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213457.2198 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213457.2224 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213457.2241 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213457.2251 3ti16kmm9spog56o9if5vbiigi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213457.2341 3ti16kmm9spog56o9if5vbiigi Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213457.2352 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213457.2366 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213457.2377 3ti16kmm9spog56o9if5vbiigi Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f388056633f8f136' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213457.2559 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213457.2574 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213457.2604 3ti16kmm9spog56o9if5vbiigi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213457.2609 3ti16kmm9spog56o9if5vbiigi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213457.2614 3ti16kmm9spog56o9if5vbiigi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213457.2620 3ti16kmm9spog56o9if5vbiigi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213457.2625 3ti16kmm9spog56o9if5vbiigi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213457.2631 3ti16kmm9spog56o9if5vbiigi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213457.2636 3ti16kmm9spog56o9if5vbiigi Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f388056633f8f136',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213457.2889 3ti16kmm9spog56o9if5vbiigi Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213457.2909 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213457.2923 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213457.2942 3ti16kmm9spog56o9if5vbiigi 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 ('aut6633f388056633f8f136',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1153,101846,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213457.3303 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.3308 3ti16kmm9spog56o9if5vbiigi Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213457.3322 3ti16kmm9spog56o9if5vbiigi 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.1834.00.1'
20240502@213457.3336 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.3353 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213457.3381 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.3397 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213457.3402 3ti16kmm9spog56o9if5vbiigi Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213457.3413 3ti16kmm9spog56o9if5vbiigi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213457.3425 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.3439 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213457.3464 3ti16kmm9spog56o9if5vbiigi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f230036633f8f153',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6633f388056633f8f136' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213457.3823 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.3841 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213457.3846 3ti16kmm9spog56o9if5vbiigi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f230036633f8f153','aut6633f388056633f8f136' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213457.3851 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.3865 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213457.3897 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.3912 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213457.3916 3ti16kmm9spog56o9if5vbiigi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213457.3927 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.3943 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213457.3974 3ti16kmm9spog56o9if5vbiigi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f532646633f8f15f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f388056633f8f136' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213457.4250 3ti16kmm9spog56o9if5vbiigi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.4271 3ti16kmm9spog56o9if5vbiigi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213457.4277 3ti16kmm9spog56o9if5vbiigi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f532646633f8f15f','aut6633f388056633f8f136' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213457.4283 3ti16kmm9spog56o9if5vbiigi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f388056633f8f136','2403126','wait',39,'ari17112337378,753000005')
20240502@213457.4302 3ti16kmm9spog56o9if5vbiigi Query : use flama_phc
20240502@213457.4307 3ti16kmm9spog56o9if5vbiigi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213457.4320 3ti16kmm9spog56o9if5vbiigi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1456';
20240502@213457.4343 3ti16kmm9spog56o9if5vbiigi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1456';
20240502@213457.4363 3ti16kmm9spog56o9if5vbiigi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1456';
20240502@213457.4380 3ti16kmm9spog56o9if5vbiigi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1456';
20240502@213457.4775 8ercjj9lnfnusi573js3vuj2fg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213457.4799 8ercjj9lnfnusi573js3vuj2fg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213457.4827 8ercjj9lnfnusi573js3vuj2fg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1457';
20240502@213457.4881 8ercjj9lnfnusi573js3vuj2fg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1457';
20240502@213457.4902 8ercjj9lnfnusi573js3vuj2fg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1457';
20240502@213457.4921 8ercjj9lnfnusi573js3vuj2fg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1457';
20240502@213457.4940 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.4945 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213457.4960 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.4963 8ercjj9lnfnusi573js3vuj2fg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20240502@213457.5007 8ercjj9lnfnusi573js3vuj2fg 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'
20240502@213457.5018 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403127 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240502@213457.5831 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240502@213457.6596 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403127 and bi.ref ='304.422.00.07' and bi.lordem =2
20240502@213457.6950 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.6955 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213457.6969 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.6973 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213457.6985 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.6988 8ercjj9lnfnusi573js3vuj2fg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213457.7000 8ercjj9lnfnusi573js3vuj2fg 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
20240502@213457.7015 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.7025 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20240502@213457.7037 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.7040 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213457.7052 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.7055 8ercjj9lnfnusi573js3vuj2fg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213457.7067 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.7070 8ercjj9lnfnusi573js3vuj2fg Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20240502@213457.7085 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.7088 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from td where ndoc = 39
20240502@213457.7101 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213457.7117 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213457.7134 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213457.7156 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213457.7173 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213457.7208 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213457.7228 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213457.7242 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213457.7375 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213457.7387 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213457.7405 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213457.7417 8ercjj9lnfnusi573js3vuj2fg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f146746633f8f1b0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213457.7622 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213457.7640 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213457.7677 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213457.7682 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213457.7695 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213457.7700 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213457.7705 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213457.7711 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213457.7717 8ercjj9lnfnusi573js3vuj2fg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f146746633f8f1b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213457.8026 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213457.8051 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213457.8069 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213457.8089 8ercjj9lnfnusi573js3vuj2fg 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 ('aut6633f146746633f8f1b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1154,101846,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213457.8464 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.8469 8ercjj9lnfnusi573js3vuj2fg Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240502@213457.8482 8ercjj9lnfnusi573js3vuj2fg 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'
20240502@213457.8494 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.8509 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213457.8532 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.8545 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213457.8549 8ercjj9lnfnusi573js3vuj2fg Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240502@213457.8560 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213457.8570 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.8592 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213457.8621 8ercjj9lnfnusi573js3vuj2fg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f163056633f8f1d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f146746633f8f1b0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213457.8993 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.9014 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213457.9020 8ercjj9lnfnusi573js3vuj2fg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f163056633f8f1d1','aut6633f146746633f8f1b0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213457.9026 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.9032 8ercjj9lnfnusi573js3vuj2fg Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240502@213457.9047 8ercjj9lnfnusi573js3vuj2fg 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.422.00.07'
20240502@213457.9221 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.9238 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213457.9264 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.9278 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213457.9283 8ercjj9lnfnusi573js3vuj2fg Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240502@213457.9313 8ercjj9lnfnusi573js3vuj2fg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213457.9325 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213457.9340 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213457.9369 8ercjj9lnfnusi573js3vuj2fg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f060576633f8f1e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f146746633f8f1b0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213457.9819 8ercjj9lnfnusi573js3vuj2fg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213457.9842 8ercjj9lnfnusi573js3vuj2fg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213457.9849 8ercjj9lnfnusi573js3vuj2fg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f060576633f8f1e3','aut6633f146746633f8f1b0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213457.9855 8ercjj9lnfnusi573js3vuj2fg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f146746633f8f1b0','2403127','wait',39,'ari17112337378,753000005')
20240502@213457.9874 8ercjj9lnfnusi573js3vuj2fg Query : use flama_phc
20240502@213457.9877 8ercjj9lnfnusi573js3vuj2fg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213457.9889 8ercjj9lnfnusi573js3vuj2fg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1457';
20240502@213457.9911 8ercjj9lnfnusi573js3vuj2fg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1457';
20240502@213457.9931 8ercjj9lnfnusi573js3vuj2fg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1457';
20240502@213457.9948 8ercjj9lnfnusi573js3vuj2fg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1457';
20240502@213458.3480 86212chu2glufd7nfm4mcv0497 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213458.3640 86212chu2glufd7nfm4mcv0497 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213458.3900 86212chu2glufd7nfm4mcv0497 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1458';
20240502@213458.4430 86212chu2glufd7nfm4mcv0497 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1458';
20240502@213458.4630 86212chu2glufd7nfm4mcv0497 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1458';
20240502@213458.4790 86212chu2glufd7nfm4mcv0497 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1458';
20240502@213458.4940 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.4980 86212chu2glufd7nfm4mcv0497 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213458.5110 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.5150 86212chu2glufd7nfm4mcv0497 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4786
20240502@213458.6030 86212chu2glufd7nfm4mcv0497 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20240502@213458.7710 86212chu2glufd7nfm4mcv0497 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403128 and bi.ref ='324.499.00.01' and bi.lordem =1
20240502@213458.1115 86212chu2glufd7nfm4mcv0497 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240502@213458.1127 86212chu2glufd7nfm4mcv0497 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403128 and bi.ref ='304.4320.00.1' and bi.lordem =2
20240502@213458.1656 86212chu2glufd7nfm4mcv0497 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'
20240502@213458.1824 86212chu2glufd7nfm4mcv0497 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403128 and bi.ref ='324.727.00.01' and bi.lordem =3
20240502@213458.2206 86212chu2glufd7nfm4mcv0497 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240502@213458.2379 86212chu2glufd7nfm4mcv0497 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403128 and bi.ref ='324.691.00.01' and bi.lordem =4
20240502@213458.2735 86212chu2glufd7nfm4mcv0497 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240502@213458.2748 86212chu2glufd7nfm4mcv0497 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403128 and bi.ref ='304.422.00.07' and bi.lordem =5
20240502@213458.3106 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.3110 86212chu2glufd7nfm4mcv0497 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213458.3124 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.3128 86212chu2glufd7nfm4mcv0497 Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213458.3139 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.3143 86212chu2glufd7nfm4mcv0497 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213458.3157 86212chu2glufd7nfm4mcv0497 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
20240502@213458.3172 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.3175 86212chu2glufd7nfm4mcv0497 Query : select top 1 ~inactivo valor from cl where no = '101847' and estab = 0 order by inactivo desc
20240502@213458.3296 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.3299 86212chu2glufd7nfm4mcv0497 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213458.3310 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.3313 86212chu2glufd7nfm4mcv0497 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213458.3326 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.3331 86212chu2glufd7nfm4mcv0497 Query : select szadrsstamp valor from szadrs where szadrsdesc='101847 - media markt aveiro-prod.inf.e elect.,lda'
20240502@213458.3346 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.3350 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from td where ndoc = 39
20240502@213458.3361 86212chu2glufd7nfm4mcv0497 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213458.3375 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213458.3392 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213458.3411 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213458.3426 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213458.3460 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213458.3475 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213458.3486 86212chu2glufd7nfm4mcv0497 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213458.3755 86212chu2glufd7nfm4mcv0497 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213458.3766 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213458.3783 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213458.3793 86212chu2glufd7nfm4mcv0497 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f028736633f8f255' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213458.4073 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213458.4090 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213458.4120 86212chu2glufd7nfm4mcv0497 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213458.4126 86212chu2glufd7nfm4mcv0497 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213458.4131 86212chu2glufd7nfm4mcv0497 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213458.4137 86212chu2glufd7nfm4mcv0497 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213458.4143 86212chu2glufd7nfm4mcv0497 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213458.4148 86212chu2glufd7nfm4mcv0497 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213458.4152 86212chu2glufd7nfm4mcv0497 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f028736633f8f255',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213458.4434 86212chu2glufd7nfm4mcv0497 Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213458.4454 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213458.4468 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213458.4486 86212chu2glufd7nfm4mcv0497 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 ('aut6633f028736633f8f255',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1155,101847,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213458.4791 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.4795 86212chu2glufd7nfm4mcv0497 Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20240502@213458.4807 86212chu2glufd7nfm4mcv0497 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.499.00.01'
20240502@213458.4968 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.4984 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213458.5010 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.5025 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213458.5030 86212chu2glufd7nfm4mcv0497 Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20240502@213458.5058 86212chu2glufd7nfm4mcv0497 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213458.5067 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.5081 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213458.5104 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f482116633f8f27b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f028736633f8f255' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213458.5393 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.5408 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213458.5414 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f482116633f8f27b','aut6633f028736633f8f255' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213458.5418 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.5422 86212chu2glufd7nfm4mcv0497 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240502@213458.5434 86212chu2glufd7nfm4mcv0497 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.4320.00.1'
20240502@213458.5445 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.5459 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213458.5483 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.5496 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213458.5500 86212chu2glufd7nfm4mcv0497 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240502@213458.5510 86212chu2glufd7nfm4mcv0497 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213458.5520 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.5533 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213458.5558 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f862286633f8f286',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6633f028736633f8f255' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213458.5824 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.6675 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213458.6948 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f862286633f8f286','aut6633f028736633f8f255' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213458.6954 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.6958 86212chu2glufd7nfm4mcv0497 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240502@213458.6970 86212chu2glufd7nfm4mcv0497 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'
20240502@213458.7316 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.7333 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213458.7359 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.7374 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213458.7379 86212chu2glufd7nfm4mcv0497 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240502@213458.7391 86212chu2glufd7nfm4mcv0497 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213458.7403 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.7416 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213458.7443 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f507816633f8f2b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6633f028736633f8f255' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240502@213458.7735 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.7753 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213458.7758 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f507816633f8f2b4','aut6633f028736633f8f255' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213458.7764 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.7778 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213458.7803 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.7816 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213458.7821 86212chu2glufd7nfm4mcv0497 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213458.7832 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.7845 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213458.7869 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f967126633f8f2bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f028736633f8f255' ,0,0 ,2,23.00,40000,?,?,?)
20240502@213458.8137 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.8153 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213458.8157 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f967126633f8f2bf','aut6633f028736633f8f255' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213458.8162 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.8165 86212chu2glufd7nfm4mcv0497 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240502@213458.8176 86212chu2glufd7nfm4mcv0497 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.691.00.01'
20240502@213458.8336 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.8350 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213458.8375 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.8392 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213458.8397 86212chu2glufd7nfm4mcv0497 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301203200a'
20240502@213458.8410 86212chu2glufd7nfm4mcv0497 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213458.8420 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.8434 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213458.8458 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f861906633f8f2cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6633f028736633f8f255' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240502@213458.8719 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.8735 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213458.8740 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f861906633f8f2cd','aut6633f028736633f8f255' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213458.8745 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.8758 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213458.8785 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.8798 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213458.8803 86212chu2glufd7nfm4mcv0497 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213458.8813 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.8826 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213458.8852 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f215696633f8f2d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f028736633f8f255' ,0,0 ,2,23.00,70000,?,?,?)
20240502@213458.9146 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.9244 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213458.9249 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f215696633f8f2d7','aut6633f028736633f8f255' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213458.9254 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.9259 86212chu2glufd7nfm4mcv0497 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240502@213458.9273 86212chu2glufd7nfm4mcv0497 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.422.00.07'
20240502@213458.9286 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.9303 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213458.9328 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.9341 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213458.9345 86212chu2glufd7nfm4mcv0497 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240502@213458.9356 86212chu2glufd7nfm4mcv0497 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213458.9366 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213458.9378 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213458.9402 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f269746633f8f2e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f028736633f8f255' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240502@213458.9683 86212chu2glufd7nfm4mcv0497 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213458.9699 86212chu2glufd7nfm4mcv0497 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213458.9703 86212chu2glufd7nfm4mcv0497 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f269746633f8f2e4','aut6633f028736633f8f255' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213458.9708 86212chu2glufd7nfm4mcv0497 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f028736633f8f255','2403128','wait',39,'ari17112337378,753000005')
20240502@213458.9730 86212chu2glufd7nfm4mcv0497 Query : use flama_phc
20240502@213458.9734 86212chu2glufd7nfm4mcv0497 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213458.9753 86212chu2glufd7nfm4mcv0497 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1458';
20240502@213458.9777 86212chu2glufd7nfm4mcv0497 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1458';
20240502@213458.9800 86212chu2glufd7nfm4mcv0497 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1458';
20240502@213458.9816 86212chu2glufd7nfm4mcv0497 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1458';
20240502@213459.2400 ovci8daruu25g026o5v464r60q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213459.2550 ovci8daruu25g026o5v464r60q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213459.2810 ovci8daruu25g026o5v464r60q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1459';
20240502@213459.4880 ovci8daruu25g026o5v464r60q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1459';
20240502@213459.5320 ovci8daruu25g026o5v464r60q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1459';
20240502@213459.5540 ovci8daruu25g026o5v464r60q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1459';
20240502@213459.5760 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.5800 ovci8daruu25g026o5v464r60q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213459.5960 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.6000 ovci8daruu25g026o5v464r60q Query : select no, estab,szadrsdesc from szadrs where u_coddest=4786
20240502@213459.6480 ovci8daruu25g026o5v464r60q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213459.6610 ovci8daruu25g026o5v464r60q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403129 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213459.1041 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.1045 ovci8daruu25g026o5v464r60q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213459.1057 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.1061 ovci8daruu25g026o5v464r60q Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213459.1072 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.1075 ovci8daruu25g026o5v464r60q Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213459.1088 ovci8daruu25g026o5v464r60q 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
20240502@213459.1102 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.1105 ovci8daruu25g026o5v464r60q Query : select top 1 ~inactivo valor from cl where no = '101847' and estab = 0 order by inactivo desc
20240502@213459.1115 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.1118 ovci8daruu25g026o5v464r60q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213459.1128 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.1131 ovci8daruu25g026o5v464r60q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213459.1142 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.1145 ovci8daruu25g026o5v464r60q Query : select szadrsstamp valor from szadrs where szadrsdesc='101847 - media markt aveiro-prod.inf.e elect.,lda'
20240502@213459.1157 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.1161 ovci8daruu25g026o5v464r60q Query : select 1 valor from td where ndoc = 39
20240502@213459.1173 ovci8daruu25g026o5v464r60q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213459.1188 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213459.1205 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213459.1221 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213459.1234 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213459.1266 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213459.1281 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213459.1292 ovci8daruu25g026o5v464r60q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213459.1393 ovci8daruu25g026o5v464r60q Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213459.1406 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213459.1420 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213459.1431 ovci8daruu25g026o5v464r60q Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f522616633f8f31f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213459.1624 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213459.1641 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213459.1669 ovci8daruu25g026o5v464r60q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213459.1674 ovci8daruu25g026o5v464r60q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213459.1679 ovci8daruu25g026o5v464r60q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213459.1684 ovci8daruu25g026o5v464r60q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213459.1688 ovci8daruu25g026o5v464r60q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213459.1693 ovci8daruu25g026o5v464r60q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213459.1697 ovci8daruu25g026o5v464r60q Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f522616633f8f31f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213459.1969 ovci8daruu25g026o5v464r60q Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213459.1990 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213459.2005 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213459.2023 ovci8daruu25g026o5v464r60q 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 ('aut6633f522616633f8f31f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1156,101847,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213459.2523 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.2528 ovci8daruu25g026o5v464r60q Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213459.2540 ovci8daruu25g026o5v464r60q 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.1834.00.1'
20240502@213459.2551 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213459.2566 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213459.2590 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213459.2604 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213459.2608 ovci8daruu25g026o5v464r60q Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213459.2619 ovci8daruu25g026o5v464r60q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213459.2628 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213459.2640 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213459.2665 ovci8daruu25g026o5v464r60q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f896736633f8f340',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6633f522616633f8f31f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213459.2932 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213459.2948 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213459.2952 ovci8daruu25g026o5v464r60q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f896736633f8f340','aut6633f522616633f8f31f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213459.2963 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213459.2978 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213459.3014 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213459.3028 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213459.3032 ovci8daruu25g026o5v464r60q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213459.3042 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213459.3055 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213459.3080 ovci8daruu25g026o5v464r60q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f131186633f8f34a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f522616633f8f31f' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213459.3365 ovci8daruu25g026o5v464r60q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213459.3382 ovci8daruu25g026o5v464r60q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213459.3387 ovci8daruu25g026o5v464r60q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f131186633f8f34a','aut6633f522616633f8f31f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213459.3392 ovci8daruu25g026o5v464r60q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f522616633f8f31f','2403129','wait',39,'ari17112337378,753000005')
20240502@213459.3410 ovci8daruu25g026o5v464r60q Query : use flama_phc
20240502@213459.3414 ovci8daruu25g026o5v464r60q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213459.3427 ovci8daruu25g026o5v464r60q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1459';
20240502@213459.3450 ovci8daruu25g026o5v464r60q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1459';
20240502@213459.3469 ovci8daruu25g026o5v464r60q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1459';
20240502@213459.3487 ovci8daruu25g026o5v464r60q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1459';
20240502@213459.3891 p6bdag58b8cksslrrjvkuvl3s3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213459.3907 p6bdag58b8cksslrrjvkuvl3s3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213459.3934 p6bdag58b8cksslrrjvkuvl3s3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1460';
20240502@213459.3986 p6bdag58b8cksslrrjvkuvl3s3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1460';
20240502@213459.4012 p6bdag58b8cksslrrjvkuvl3s3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1460';
20240502@213459.4030 p6bdag58b8cksslrrjvkuvl3s3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1460';
20240502@213459.4046 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4050 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213459.4064 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4067 p6bdag58b8cksslrrjvkuvl3s3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4782
20240502@213459.4163 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213459.4175 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403130 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213459.4534 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4539 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213459.4553 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4556 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213459.4568 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4571 p6bdag58b8cksslrrjvkuvl3s3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213459.4584 p6bdag58b8cksslrrjvkuvl3s3 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
20240502@213459.4609 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4613 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 ~inactivo valor from cl where no = '101848' and estab = 0 order by inactivo desc
20240502@213459.4738 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4741 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213459.4753 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4756 p6bdag58b8cksslrrjvkuvl3s3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213459.4769 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4772 p6bdag58b8cksslrrjvkuvl3s3 Query : select szadrsstamp valor from szadrs where szadrsdesc='101848 - media markt braga-prod.inf.e eelect.,lda'
20240502@213459.4787 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.4791 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from td where ndoc = 39
20240502@213459.4802 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213459.4818 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213459.4836 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213459.4857 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213459.4872 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213459.4904 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213459.4919 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213459.4930 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213459.5023 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213459.5034 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213459.5048 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213459.5059 p6bdag58b8cksslrrjvkuvl3s3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f914696633f8f378' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213459.5424 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213459.5462 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213459.5506 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213459.5513 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213459.5519 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213459.5524 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213459.5530 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213459.5536 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213459.5540 p6bdag58b8cksslrrjvkuvl3s3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f914696633f8f378',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213459.5814 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213459.5838 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213459.5858 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213459.5879 p6bdag58b8cksslrrjvkuvl3s3 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 ('aut6633f914696633f8f378',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1157,101848,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213459.6183 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.6187 p6bdag58b8cksslrrjvkuvl3s3 Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213459.6200 p6bdag58b8cksslrrjvkuvl3s3 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.1834.00.1'
20240502@213459.6213 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213459.6228 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213459.6255 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213459.6272 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213459.6277 p6bdag58b8cksslrrjvkuvl3s3 Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213459.6289 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213459.6301 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213459.6316 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213459.6345 p6bdag58b8cksslrrjvkuvl3s3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f200196633f8f399',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6633f914696633f8f378' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213459.6615 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213459.6633 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213459.6638 p6bdag58b8cksslrrjvkuvl3s3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f200196633f8f399','aut6633f914696633f8f378' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213459.6644 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213459.6660 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213459.6691 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213459.6713 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213459.6718 p6bdag58b8cksslrrjvkuvl3s3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213459.6730 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213459.6743 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213459.6768 p6bdag58b8cksslrrjvkuvl3s3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f332156633f8f3a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f914696633f8f378' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213459.7057 p6bdag58b8cksslrrjvkuvl3s3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213459.7076 p6bdag58b8cksslrrjvkuvl3s3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213459.7083 p6bdag58b8cksslrrjvkuvl3s3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f332156633f8f3a4','aut6633f914696633f8f378' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213459.7089 p6bdag58b8cksslrrjvkuvl3s3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f914696633f8f378','2403130','wait',39,'ari17112337378,753000005')
20240502@213459.7108 p6bdag58b8cksslrrjvkuvl3s3 Query : use flama_phc
20240502@213459.7117 p6bdag58b8cksslrrjvkuvl3s3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213459.7129 p6bdag58b8cksslrrjvkuvl3s3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1460';
20240502@213459.7156 p6bdag58b8cksslrrjvkuvl3s3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1460';
20240502@213459.7178 p6bdag58b8cksslrrjvkuvl3s3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1460';
20240502@213459.7197 p6bdag58b8cksslrrjvkuvl3s3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1460';
20240502@213459.7604 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213459.7621 9c9ebpaai6tt9c1745gjf4fgcc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213459.7649 9c9ebpaai6tt9c1745gjf4fgcc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1461';
20240502@213459.7698 9c9ebpaai6tt9c1745gjf4fgcc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1461';
20240502@213459.7718 9c9ebpaai6tt9c1745gjf4fgcc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1461';
20240502@213459.7734 9c9ebpaai6tt9c1745gjf4fgcc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1461';
20240502@213459.7751 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213459.7755 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213459.7769 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213459.7772 9c9ebpaai6tt9c1745gjf4fgcc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4782
20240502@213459.7813 9c9ebpaai6tt9c1745gjf4fgcc 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'
20240502@213459.7825 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403131 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240502@213459.8180 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240502@213459.8192 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403131 and bi.ref ='324.691.00.01' and bi.lordem =2
20240502@213459.8569 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240502@213459.8583 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403131 and bi.ref ='304.422.00.07' and bi.lordem =3
20240502@213459.9331 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213459.9417 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213500.7300 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.7900 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213500.9300 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.9700 9c9ebpaai6tt9c1745gjf4fgcc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213500.1100 9c9ebpaai6tt9c1745gjf4fgcc 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
20240502@213500.1280 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.1320 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 ~inactivo valor from cl where no = '101848' and estab = 0 order by inactivo desc
20240502@213500.1470 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.1510 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213500.1640 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.1670 9c9ebpaai6tt9c1745gjf4fgcc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213500.1820 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.1850 9c9ebpaai6tt9c1745gjf4fgcc Query : select szadrsstamp valor from szadrs where szadrsdesc='101848 - media markt braga-prod.inf.e eelect.,lda'
20240502@213500.2000 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.2030 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from td where ndoc = 39
20240502@213500.2150 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213500.2300 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213500.2470 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213500.2690 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213500.2850 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213500.3150 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213500.3300 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213500.3430 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213500.4390 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213500.4510 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213500.4670 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213500.4790 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f715646633f8f408' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213500.6660 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213500.6850 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213500.7220 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213500.7310 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213500.7370 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213500.7430 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213500.7490 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213500.7560 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213500.7620 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f715646633f8f408',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213500.1036 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213500.1060 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213500.1075 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213500.1093 9c9ebpaai6tt9c1745gjf4fgcc 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 ('aut6633f715646633f8f408',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1158,101848,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2204',?,?,?,?)
20240502@213500.1391 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.1398 9c9ebpaai6tt9c1745gjf4fgcc Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240502@213500.1410 9c9ebpaai6tt9c1745gjf4fgcc 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'
20240502@213500.1423 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.1441 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213500.1469 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.1484 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213500.1488 9c9ebpaai6tt9c1745gjf4fgcc Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240502@213500.1580 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213500.1629 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.1652 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213500.1697 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f879836633f8f427',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6633f715646633f8f408' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213500.1975 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.1996 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213500.2002 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f879836633f8f427','aut6633f715646633f8f408' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213500.2008 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.2012 9c9ebpaai6tt9c1745gjf4fgcc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240502@213500.2025 9c9ebpaai6tt9c1745gjf4fgcc 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.691.00.01'
20240502@213500.2039 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.2053 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213500.2083 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.2097 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213500.2102 9c9ebpaai6tt9c1745gjf4fgcc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301203200a'
20240502@213500.2114 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213500.2127 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.2141 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213500.2167 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f045336633f8f433',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6633f715646633f8f408' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213500.2451 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.2469 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213500.2475 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f045336633f8f433','aut6633f715646633f8f408' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213500.2481 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.2495 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213500.2519 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.2534 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213500.2539 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213500.2550 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.2565 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213500.2591 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f492236633f8f43e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f715646633f8f408' ,0,0 ,2,23.00,30000,?,?,?)
20240502@213500.2888 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.2906 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213500.2911 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f492236633f8f43e','aut6633f715646633f8f408' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213500.2916 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.2920 9c9ebpaai6tt9c1745gjf4fgcc Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240502@213500.2933 9c9ebpaai6tt9c1745gjf4fgcc 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.422.00.07'
20240502@213500.2949 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.2966 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213500.2992 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.3004 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213500.3009 9c9ebpaai6tt9c1745gjf4fgcc Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240502@213500.3020 9c9ebpaai6tt9c1745gjf4fgcc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213500.3030 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.3044 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213500.3069 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f542766633f8f449',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f715646633f8f408' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240502@213500.3344 9c9ebpaai6tt9c1745gjf4fgcc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.3361 9c9ebpaai6tt9c1745gjf4fgcc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213500.3366 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f542766633f8f449','aut6633f715646633f8f408' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213500.3371 9c9ebpaai6tt9c1745gjf4fgcc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f715646633f8f408','2403131','wait',39,'ari17112337378,753000005')
20240502@213500.3398 9c9ebpaai6tt9c1745gjf4fgcc Query : use flama_phc
20240502@213500.3402 9c9ebpaai6tt9c1745gjf4fgcc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213500.3420 9c9ebpaai6tt9c1745gjf4fgcc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1461';
20240502@213500.3443 9c9ebpaai6tt9c1745gjf4fgcc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1461';
20240502@213500.3465 9c9ebpaai6tt9c1745gjf4fgcc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1461';
20240502@213500.3480 9c9ebpaai6tt9c1745gjf4fgcc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1461';
20240502@213500.4974 0m7tv1lrt42cqaou8224qqkb72 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213500.4988 0m7tv1lrt42cqaou8224qqkb72 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213500.5011 0m7tv1lrt42cqaou8224qqkb72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1462';
20240502@213500.5055 0m7tv1lrt42cqaou8224qqkb72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1462';
20240502@213500.5079 0m7tv1lrt42cqaou8224qqkb72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1462';
20240502@213500.5096 0m7tv1lrt42cqaou8224qqkb72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1462';
20240502@213500.5114 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5118 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213500.5137 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5141 0m7tv1lrt42cqaou8224qqkb72 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4782
20240502@213500.5183 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213500.5194 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403132 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213500.5551 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5555 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213500.5568 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5571 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213500.5582 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5585 0m7tv1lrt42cqaou8224qqkb72 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213500.5596 0m7tv1lrt42cqaou8224qqkb72 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
20240502@213500.5620 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5623 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 ~inactivo valor from cl where no = '101848' and estab = 0 order by inactivo desc
20240502@213500.5633 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5636 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213500.5646 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5648 0m7tv1lrt42cqaou8224qqkb72 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213500.5660 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5663 0m7tv1lrt42cqaou8224qqkb72 Query : select szadrsstamp valor from szadrs where szadrsdesc='101848 - media markt braga-prod.inf.e eelect.,lda'
20240502@213500.5677 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.5681 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from td where ndoc = 39
20240502@213500.5690 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213500.5701 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213500.5717 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213500.5736 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213500.5751 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213500.5784 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213500.5799 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213500.5810 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213500.5908 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213500.5918 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213500.5933 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213500.5943 0m7tv1lrt42cqaou8224qqkb72 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f193466633f8f48d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213500.6127 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213500.6146 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213500.6183 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213500.6188 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213500.6193 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213500.6197 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213500.6209 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213500.6215 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213500.6220 0m7tv1lrt42cqaou8224qqkb72 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f193466633f8f48d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213500.6486 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213500.6508 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213500.6525 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213500.6544 0m7tv1lrt42cqaou8224qqkb72 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 ('aut6633f193466633f8f48d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1159,101848,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213500.6846 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.6851 0m7tv1lrt42cqaou8224qqkb72 Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213500.6863 0m7tv1lrt42cqaou8224qqkb72 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.1834.00.1'
20240502@213500.6877 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.6893 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213500.6929 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.6943 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213500.6947 0m7tv1lrt42cqaou8224qqkb72 Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213500.6957 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213500.6967 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.6979 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213500.7003 0m7tv1lrt42cqaou8224qqkb72 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f257286633f8f4aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6633f193466633f8f48d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213500.7289 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.7306 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213500.7312 0m7tv1lrt42cqaou8224qqkb72 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f257286633f8f4aa','aut6633f193466633f8f48d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213500.7317 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.7336 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213500.7363 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.7379 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213500.7385 0m7tv1lrt42cqaou8224qqkb72 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213500.7397 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213500.7412 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213500.7440 0m7tv1lrt42cqaou8224qqkb72 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f670676633f8f4b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f193466633f8f48d' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213500.7743 0m7tv1lrt42cqaou8224qqkb72 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213500.7763 0m7tv1lrt42cqaou8224qqkb72 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213500.7768 0m7tv1lrt42cqaou8224qqkb72 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f670676633f8f4b4','aut6633f193466633f8f48d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213500.7773 0m7tv1lrt42cqaou8224qqkb72 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f193466633f8f48d','2403132','wait',39,'ari17112337378,753000005')
20240502@213500.7789 0m7tv1lrt42cqaou8224qqkb72 Query : use flama_phc
20240502@213500.7792 0m7tv1lrt42cqaou8224qqkb72 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213500.7806 0m7tv1lrt42cqaou8224qqkb72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1462';
20240502@213500.7828 0m7tv1lrt42cqaou8224qqkb72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1462';
20240502@213500.7845 0m7tv1lrt42cqaou8224qqkb72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1462';
20240502@213500.7861 0m7tv1lrt42cqaou8224qqkb72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1462';
20240502@213500.8266 lgb2gskeuk559u8gh8gcvusjfi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213500.8280 lgb2gskeuk559u8gh8gcvusjfi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213500.8305 lgb2gskeuk559u8gh8gcvusjfi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1463';
20240502@213500.8352 lgb2gskeuk559u8gh8gcvusjfi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1463';
20240502@213500.8371 lgb2gskeuk559u8gh8gcvusjfi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1463';
20240502@213500.8387 lgb2gskeuk559u8gh8gcvusjfi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1463';
20240502@213500.8404 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.8408 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213500.8420 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.8423 lgb2gskeuk559u8gh8gcvusjfi Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20240502@213500.8507 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213500.8521 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403133 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213500.8869 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240502@213500.9040 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403133 and bi.ref ='324.1879.00.1' and bi.lordem =2
20240502@213500.9530 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.9535 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213500.9550 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.9553 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213500.9566 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.9570 lgb2gskeuk559u8gh8gcvusjfi Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213500.9593 lgb2gskeuk559u8gh8gcvusjfi 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
20240502@213500.9610 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.9613 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20240502@213500.9753 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.9757 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213500.9769 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.9774 lgb2gskeuk559u8gh8gcvusjfi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213500.9785 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.9789 lgb2gskeuk559u8gh8gcvusjfi Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20240502@213500.9813 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213500.9817 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from td where ndoc = 39
20240502@213500.9828 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213500.9840 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213500.9855 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213500.9877 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213500.9912 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213500.9946 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213500.9964 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213500.9977 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213501.1319 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213501.1336 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213501.1362 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213501.1379 lgb2gskeuk559u8gh8gcvusjfi Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f924636633f8f4f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213501.1657 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213501.1675 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213501.1714 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213501.1721 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213501.1729 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213501.1736 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213501.1743 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213501.1750 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213501.1756 lgb2gskeuk559u8gh8gcvusjfi Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f924636633f8f4f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213501.2073 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213501.2102 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213501.2120 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213501.2142 lgb2gskeuk559u8gh8gcvusjfi 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 ('aut6633f924636633f8f4f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1160,101987,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213501.2589 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213501.2595 lgb2gskeuk559u8gh8gcvusjfi Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213501.2610 lgb2gskeuk559u8gh8gcvusjfi 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.1834.00.1'
20240502@213501.2624 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.2641 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213501.2673 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.2694 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213501.2700 lgb2gskeuk559u8gh8gcvusjfi Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213501.2713 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213501.2729 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.2749 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213501.2876 lgb2gskeuk559u8gh8gcvusjfi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f477696633f8f542',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6633f924636633f8f4f3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213501.3501 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.3522 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213501.3529 lgb2gskeuk559u8gh8gcvusjfi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f477696633f8f542','aut6633f924636633f8f4f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213501.3543 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.3564 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213501.3610 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.3658 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213501.3664 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213501.3681 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.3707 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213501.3748 lgb2gskeuk559u8gh8gcvusjfi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f980216633f8f559',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f924636633f8f4f3' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213501.4038 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.4076 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213501.4083 lgb2gskeuk559u8gh8gcvusjfi Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f980216633f8f559','aut6633f924636633f8f4f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213501.4090 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213501.4094 lgb2gskeuk559u8gh8gcvusjfi Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240502@213501.4109 lgb2gskeuk559u8gh8gcvusjfi 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.1879.00.1'
20240502@213501.4481 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.4624 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213501.4751 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.4769 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213501.4773 lgb2gskeuk559u8gh8gcvusjfi Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301097100b'
20240502@213501.4788 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213501.4810 lgb2gskeuk559u8gh8gcvusjfi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.4823 lgb2gskeuk559u8gh8gcvusjfi Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213501.4847 lgb2gskeuk559u8gh8gcvusjfi Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f106226633f8f575',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6633f924636633f8f4f3' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240502@213501.5135 lgb2gskeuk559u8gh8gcvusjfi Query : use flama_phc
20240502@213501.5139 lgb2gskeuk559u8gh8gcvusjfi Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240502@213501.5155 lgb2gskeuk559u8gh8gcvusjfi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1463';
20240502@213501.5180 lgb2gskeuk559u8gh8gcvusjfi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1463';
20240502@213501.5953 nut5d7oag95td4l1nen2ngvru3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213501.5968 nut5d7oag95td4l1nen2ngvru3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213501.5993 nut5d7oag95td4l1nen2ngvru3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1464';
20240502@213501.6040 nut5d7oag95td4l1nen2ngvru3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1464';
20240502@213501.6061 nut5d7oag95td4l1nen2ngvru3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1464';
20240502@213501.6078 nut5d7oag95td4l1nen2ngvru3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1464';
20240502@213501.6093 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6096 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213501.6111 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6114 nut5d7oag95td4l1nen2ngvru3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20240502@213501.6156 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213501.6168 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403134 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213501.6536 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6541 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213501.6554 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6559 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213501.6571 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6574 nut5d7oag95td4l1nen2ngvru3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213501.6588 nut5d7oag95td4l1nen2ngvru3 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
20240502@213501.6607 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6612 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20240502@213501.6625 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6630 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213501.6641 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6645 nut5d7oag95td4l1nen2ngvru3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213501.6656 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6660 nut5d7oag95td4l1nen2ngvru3 Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20240502@213501.6673 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.6676 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from td where ndoc = 39
20240502@213501.6690 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213501.6703 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213501.6722 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213501.6742 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213501.6757 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213501.6803 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213501.6820 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213501.6833 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213501.6976 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213501.6990 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213501.7007 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213501.7018 nut5d7oag95td4l1nen2ngvru3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f320176633f8f5a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213501.7196 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213501.7213 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213501.7243 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213501.7248 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213501.7253 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213501.7258 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213501.7263 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213501.7268 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213501.7272 nut5d7oag95td4l1nen2ngvru3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f320176633f8f5a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213501.7518 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213501.7540 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213501.7555 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213501.7573 nut5d7oag95td4l1nen2ngvru3 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 ('aut6633f320176633f8f5a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1160,101987,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213501.7860 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.7864 nut5d7oag95td4l1nen2ngvru3 Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213501.7878 nut5d7oag95td4l1nen2ngvru3 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.1834.00.1'
20240502@213501.7892 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.7911 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213501.7941 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.7958 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213501.7963 nut5d7oag95td4l1nen2ngvru3 Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213501.7976 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213501.7988 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.8003 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213501.8033 nut5d7oag95td4l1nen2ngvru3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f224426633f8f5c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6633f320176633f8f5a6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213501.8611 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.8921 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213501.8927 nut5d7oag95td4l1nen2ngvru3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f224426633f8f5c3','aut6633f320176633f8f5a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213501.8934 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.8948 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213501.8974 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.8988 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213501.8992 nut5d7oag95td4l1nen2ngvru3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213501.9002 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213501.9014 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213501.9037 nut5d7oag95td4l1nen2ngvru3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f068226633f8f5db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f320176633f8f5a6' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213501.9310 nut5d7oag95td4l1nen2ngvru3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213501.9325 nut5d7oag95td4l1nen2ngvru3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213501.9329 nut5d7oag95td4l1nen2ngvru3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f068226633f8f5db','aut6633f320176633f8f5a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213501.9334 nut5d7oag95td4l1nen2ngvru3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f320176633f8f5a6','2403134','wait',39,'ari17112337378,753000005')
20240502@213501.9349 nut5d7oag95td4l1nen2ngvru3 Query : use flama_phc
20240502@213501.9352 nut5d7oag95td4l1nen2ngvru3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213501.9367 nut5d7oag95td4l1nen2ngvru3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1464';
20240502@213501.9389 nut5d7oag95td4l1nen2ngvru3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1464';
20240502@213501.9410 nut5d7oag95td4l1nen2ngvru3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1464';
20240502@213501.9428 nut5d7oag95td4l1nen2ngvru3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1464';
20240502@213501.9877 blftv0jenbmcnmclh0okmgn3iq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213501.9892 blftv0jenbmcnmclh0okmgn3iq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213501.9917 blftv0jenbmcnmclh0okmgn3iq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1465';
20240502@213501.9963 blftv0jenbmcnmclh0okmgn3iq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1465';
20240502@213501.9982 blftv0jenbmcnmclh0okmgn3iq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1465';
20240502@213501.9998 blftv0jenbmcnmclh0okmgn3iq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1465';
20240502@213502.1400 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1800 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213502.3400 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.3800 blftv0jenbmcnmclh0okmgn3iq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20240502@213502.1250 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240502@213502.3810 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403135 and bi.ref ='324.4990.00.1' and bi.lordem =1
20240502@213502.9770 blftv0jenbmcnmclh0okmgn3iq 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'
20240502@213502.9910 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403135 and bi.ref ='324.727.00.01' and bi.lordem =2
20240502@213502.1339 blftv0jenbmcnmclh0okmgn3iq 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'
20240502@213502.1351 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403135 and bi.ref ='324.727.00.01' and bi.lordem =2
20240502@213502.1356 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1359 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213502.1371 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1374 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213502.1385 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1388 blftv0jenbmcnmclh0okmgn3iq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213502.1410 blftv0jenbmcnmclh0okmgn3iq 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
20240502@213502.1424 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1427 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20240502@213502.1544 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1547 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213502.1558 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1561 blftv0jenbmcnmclh0okmgn3iq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213502.1572 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1574 blftv0jenbmcnmclh0okmgn3iq Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20240502@213502.1589 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.1592 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from td where ndoc = 39
20240502@213502.1602 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213502.1614 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213502.1629 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213502.1647 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213502.1661 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213502.1689 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213502.1704 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213502.1715 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213502.2081 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213502.2098 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213502.2113 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213502.2123 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f178196633f8f629' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213502.2317 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213502.2333 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213502.2365 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213502.2370 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213502.2375 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213502.2380 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213502.2385 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213502.2389 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213502.2393 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f178196633f8f629',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213502.2650 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213502.2671 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213502.2685 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213502.2703 blftv0jenbmcnmclh0okmgn3iq 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 ('aut6633f178196633f8f629',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1161,102040,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213502.2995 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.2999 blftv0jenbmcnmclh0okmgn3iq Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240502@213502.3012 blftv0jenbmcnmclh0okmgn3iq 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.4990.00.1'
20240502@213502.3276 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.3290 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213502.3312 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.3325 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213502.3330 blftv0jenbmcnmclh0okmgn3iq Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240502@213502.3358 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213502.3368 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.3381 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213502.3406 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f615086633f8f652',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6633f178196633f8f629' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213502.3656 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.3673 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213502.3677 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f615086633f8f652','aut6633f178196633f8f629' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213502.3682 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.3685 blftv0jenbmcnmclh0okmgn3iq Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240502@213502.3696 blftv0jenbmcnmclh0okmgn3iq 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'
20240502@213502.3707 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.3720 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213502.3743 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.3756 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213502.3761 blftv0jenbmcnmclh0okmgn3iq Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240502@213502.3771 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213502.3781 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.3794 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213502.3819 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f777766633f8f65c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f178196633f8f629' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213502.4110 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.4390 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213502.4447 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f777766633f8f65c','aut6633f178196633f8f629' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213502.4454 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.4469 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213502.4573 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.4588 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213502.4592 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213502.4602 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.4614 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213502.4638 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f022696633f8f670',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f178196633f8f629' ,0,0 ,2,23.00,30000,?,?,?)
20240502@213502.4910 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.4924 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213502.4929 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f022696633f8f670','aut6633f178196633f8f629' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213502.4933 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.4936 blftv0jenbmcnmclh0okmgn3iq Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240502@213502.4946 blftv0jenbmcnmclh0okmgn3iq 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'
20240502@213502.5037 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.6086 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213502.6111 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.6125 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213502.6130 blftv0jenbmcnmclh0okmgn3iq Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240502@213502.6140 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213502.6150 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.6163 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213502.6438 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f182516633f8f696',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f178196633f8f629' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240502@213502.6868 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.6923 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213502.6928 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f182516633f8f696','aut6633f178196633f8f629' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213502.6934 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.6946 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213502.6968 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.6981 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213502.6985 blftv0jenbmcnmclh0okmgn3iq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213502.6995 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213502.7008 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213502.7031 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f875356633f8f6aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f178196633f8f629' ,0,0 ,2,23.00,60000,?,?,?)
20240502@213502.7295 blftv0jenbmcnmclh0okmgn3iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213502.7311 blftv0jenbmcnmclh0okmgn3iq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213502.7316 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f875356633f8f6aa','aut6633f178196633f8f629' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213502.7321 blftv0jenbmcnmclh0okmgn3iq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f178196633f8f629','2403135','wait',39,'ari17112337378,753000005')
20240502@213502.7340 blftv0jenbmcnmclh0okmgn3iq Query : use flama_phc
20240502@213502.7343 blftv0jenbmcnmclh0okmgn3iq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213502.7356 blftv0jenbmcnmclh0okmgn3iq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1465';
20240502@213502.7378 blftv0jenbmcnmclh0okmgn3iq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1465';
20240502@213502.7396 blftv0jenbmcnmclh0okmgn3iq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1465';
20240502@213502.7410 blftv0jenbmcnmclh0okmgn3iq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1465';
20240502@213502.7875 tfsu7eddjl6v4jljrm7pu6ugan Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213502.7892 tfsu7eddjl6v4jljrm7pu6ugan Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213502.7917 tfsu7eddjl6v4jljrm7pu6ugan Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1466';
20240502@213502.7967 tfsu7eddjl6v4jljrm7pu6ugan Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1466';
20240502@213502.8022 tfsu7eddjl6v4jljrm7pu6ugan Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1466';
20240502@213502.8240 tfsu7eddjl6v4jljrm7pu6ugan Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1466';
20240502@213502.8337 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8380 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213502.8432 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8435 tfsu7eddjl6v4jljrm7pu6ugan Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20240502@213502.8481 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213502.8493 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403136 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213502.8860 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8864 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213502.8879 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8882 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213502.8893 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8898 tfsu7eddjl6v4jljrm7pu6ugan Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213502.8911 tfsu7eddjl6v4jljrm7pu6ugan 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
20240502@213502.8926 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8929 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20240502@213502.8940 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8943 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213502.8954 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8957 tfsu7eddjl6v4jljrm7pu6ugan Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213502.8968 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8971 tfsu7eddjl6v4jljrm7pu6ugan Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20240502@213502.8983 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213502.8986 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from td where ndoc = 39
20240502@213502.8996 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213502.9007 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213502.9021 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213502.9039 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213502.9052 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213502.9081 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213502.9095 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213502.9105 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213502.9198 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213502.9208 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213502.9221 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213502.9231 tfsu7eddjl6v4jljrm7pu6ugan Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f319876633f8f6de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213502.9418 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213502.9433 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213502.9464 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213502.9470 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213502.9475 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213502.9480 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213502.9486 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213502.9490 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213502.9495 tfsu7eddjl6v4jljrm7pu6ugan Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f319876633f8f6de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213502.9949 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213503.3020 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213503.1689 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213503.1715 tfsu7eddjl6v4jljrm7pu6ugan 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 ('aut6633f319876633f8f6de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1162,102040,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213503.2148 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213503.2154 tfsu7eddjl6v4jljrm7pu6ugan Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213503.2234 tfsu7eddjl6v4jljrm7pu6ugan 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.1834.00.1'
20240502@213503.2285 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.2360 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213503.2437 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.2452 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213503.2457 tfsu7eddjl6v4jljrm7pu6ugan Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213503.2468 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213503.2479 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.2492 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213503.2518 tfsu7eddjl6v4jljrm7pu6ugan Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f163426633f8f73c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6633f319876633f8f6de' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213503.2835 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.2864 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213503.2868 tfsu7eddjl6v4jljrm7pu6ugan Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f163426633f8f73c','aut6633f319876633f8f6de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213503.2875 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.2894 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213503.2920 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.2934 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213503.2938 tfsu7eddjl6v4jljrm7pu6ugan Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213503.2965 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.2980 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213503.3007 tfsu7eddjl6v4jljrm7pu6ugan Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f469726633f8f748',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f319876633f8f6de' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213503.3259 tfsu7eddjl6v4jljrm7pu6ugan Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.3276 tfsu7eddjl6v4jljrm7pu6ugan Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213503.3281 tfsu7eddjl6v4jljrm7pu6ugan Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f469726633f8f748','aut6633f319876633f8f6de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213503.3287 tfsu7eddjl6v4jljrm7pu6ugan Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f319876633f8f6de','2403136','wait',39,'ari17112337378,753000005')
20240502@213503.3305 tfsu7eddjl6v4jljrm7pu6ugan Query : use flama_phc
20240502@213503.3308 tfsu7eddjl6v4jljrm7pu6ugan Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213503.3321 tfsu7eddjl6v4jljrm7pu6ugan Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1466';
20240502@213503.3342 tfsu7eddjl6v4jljrm7pu6ugan Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1466';
20240502@213503.3361 tfsu7eddjl6v4jljrm7pu6ugan Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1466';
20240502@213503.3376 tfsu7eddjl6v4jljrm7pu6ugan Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1466';
20240502@213503.3780 60rh2jcdiffbok71sjmtldunov Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213503.3793 60rh2jcdiffbok71sjmtldunov Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213503.3818 60rh2jcdiffbok71sjmtldunov Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1467';
20240502@213503.3864 60rh2jcdiffbok71sjmtldunov Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1467';
20240502@213503.3884 60rh2jcdiffbok71sjmtldunov Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1467';
20240502@213503.3901 60rh2jcdiffbok71sjmtldunov Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1467';
20240502@213503.3916 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.3920 60rh2jcdiffbok71sjmtldunov Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213503.3935 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.3938 60rh2jcdiffbok71sjmtldunov Query : select no, estab,szadrsdesc from szadrs where u_coddest=4788
20240502@213503.4025 60rh2jcdiffbok71sjmtldunov 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'
20240502@213503.4037 60rh2jcdiffbok71sjmtldunov Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403137 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240502@213503.4396 60rh2jcdiffbok71sjmtldunov Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240502@213503.4408 60rh2jcdiffbok71sjmtldunov Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403137 and bi.ref ='324.691.00.01' and bi.lordem =2
20240502@213503.4841 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.4846 60rh2jcdiffbok71sjmtldunov Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213503.4899 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.4942 60rh2jcdiffbok71sjmtldunov Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213503.4955 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.4958 60rh2jcdiffbok71sjmtldunov Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213503.4969 60rh2jcdiffbok71sjmtldunov 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
20240502@213503.4983 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.4986 60rh2jcdiffbok71sjmtldunov Query : select top 1 ~inactivo valor from cl where no = '102044' and estab = 0 order by inactivo desc
20240502@213503.6170 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.6186 60rh2jcdiffbok71sjmtldunov Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213503.6198 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.6201 60rh2jcdiffbok71sjmtldunov Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213503.6212 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.6215 60rh2jcdiffbok71sjmtldunov Query : select szadrsstamp valor from szadrs where szadrsdesc='102044 - media markt leiria-prod.inf.e electrÓnicos,lda'
20240502@213503.6228 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.6231 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from td where ndoc = 39
20240502@213503.6240 60rh2jcdiffbok71sjmtldunov Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213503.6251 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213503.6265 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213503.6281 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213503.6294 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213503.6319 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213503.6333 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213503.6343 60rh2jcdiffbok71sjmtldunov Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213503.6440 60rh2jcdiffbok71sjmtldunov Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213503.6452 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213503.6466 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213503.6478 60rh2jcdiffbok71sjmtldunov Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f460726633f8f79a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213503.6665 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213503.6682 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213503.6710 60rh2jcdiffbok71sjmtldunov Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213503.6715 60rh2jcdiffbok71sjmtldunov Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213503.6720 60rh2jcdiffbok71sjmtldunov Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213503.6725 60rh2jcdiffbok71sjmtldunov Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213503.6730 60rh2jcdiffbok71sjmtldunov Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213503.6735 60rh2jcdiffbok71sjmtldunov Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213503.6740 60rh2jcdiffbok71sjmtldunov Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f460726633f8f79a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213503.7030 60rh2jcdiffbok71sjmtldunov Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213503.7051 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213503.7066 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213503.7084 60rh2jcdiffbok71sjmtldunov 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 ('aut6633f460726633f8f79a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1163,102044,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213503.7429 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.7435 60rh2jcdiffbok71sjmtldunov Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240502@213503.7449 60rh2jcdiffbok71sjmtldunov 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'
20240502@213503.7463 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.7491 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213503.7518 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.7534 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213503.7539 60rh2jcdiffbok71sjmtldunov Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240502@213503.7550 60rh2jcdiffbok71sjmtldunov Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213503.7560 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.7575 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213503.7604 60rh2jcdiffbok71sjmtldunov Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f474916633f8f7b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f460726633f8f79a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213503.7873 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.7890 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213503.7895 60rh2jcdiffbok71sjmtldunov Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f474916633f8f7b8','aut6633f460726633f8f79a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213503.7899 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.7903 60rh2jcdiffbok71sjmtldunov Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240502@213503.7914 60rh2jcdiffbok71sjmtldunov 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.691.00.01'
20240502@213503.7926 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.7941 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213503.7967 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.7982 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213503.7987 60rh2jcdiffbok71sjmtldunov Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301203200a'
20240502@213503.7998 60rh2jcdiffbok71sjmtldunov Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213503.8007 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.8020 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213503.8044 60rh2jcdiffbok71sjmtldunov Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f122126633f8f7c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6633f460726633f8f79a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213503.8424 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.8608 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213503.8615 60rh2jcdiffbok71sjmtldunov Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f122126633f8f7c3','aut6633f460726633f8f79a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213503.8621 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.8637 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213503.8675 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.8690 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213503.8695 60rh2jcdiffbok71sjmtldunov Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213503.8705 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213503.8719 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213503.8743 60rh2jcdiffbok71sjmtldunov Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f466976633f8f7d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f460726633f8f79a' ,0,0 ,2,23.00,30000,?,?,?)
20240502@213503.9010 60rh2jcdiffbok71sjmtldunov Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213503.9026 60rh2jcdiffbok71sjmtldunov Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213503.9030 60rh2jcdiffbok71sjmtldunov Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f466976633f8f7d4','aut6633f460726633f8f79a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213503.9036 60rh2jcdiffbok71sjmtldunov Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f460726633f8f79a','2403137','wait',39,'ari17112337378,753000005')
20240502@213503.9078 60rh2jcdiffbok71sjmtldunov Query : use flama_phc
20240502@213503.9081 60rh2jcdiffbok71sjmtldunov Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213503.9093 60rh2jcdiffbok71sjmtldunov Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1467';
20240502@213503.9114 60rh2jcdiffbok71sjmtldunov Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1467';
20240502@213503.9132 60rh2jcdiffbok71sjmtldunov Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1467';
20240502@213503.9147 60rh2jcdiffbok71sjmtldunov Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1467';
20240502@213503.9571 1e2a9aer2c66q5k9kb1c48p34v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213503.9789 1e2a9aer2c66q5k9kb1c48p34v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213503.9817 1e2a9aer2c66q5k9kb1c48p34v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1468';
20240502@213503.9866 1e2a9aer2c66q5k9kb1c48p34v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1468';
20240502@213503.9888 1e2a9aer2c66q5k9kb1c48p34v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1468';
20240502@213503.9904 1e2a9aer2c66q5k9kb1c48p34v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1468';
20240502@213503.9920 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213503.9924 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213503.9938 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213503.9942 1e2a9aer2c66q5k9kb1c48p34v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4788
20240502@213503.9983 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20240502@213504.1580 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403138 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240502@213504.5040 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20240502@213504.5160 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403138 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240502@213504.5290 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.5330 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213504.5470 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.5500 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213504.5620 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.5650 1e2a9aer2c66q5k9kb1c48p34v Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213504.5770 1e2a9aer2c66q5k9kb1c48p34v 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
20240502@213504.5920 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.5950 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 ~inactivo valor from cl where no = '102044' and estab = 0 order by inactivo desc
20240502@213504.6070 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.6100 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213504.6230 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.6270 1e2a9aer2c66q5k9kb1c48p34v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213504.6460 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.6890 1e2a9aer2c66q5k9kb1c48p34v Query : select szadrsstamp valor from szadrs where szadrsdesc='102044 - media markt leiria-prod.inf.e electrÓnicos,lda'
20240502@213504.7420 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.7460 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from td where ndoc = 39
20240502@213504.7570 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213504.7680 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213504.7840 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213504.1938 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213504.1955 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213504.1983 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213504.1997 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213504.2009 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213504.2100 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213504.2110 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213504.2124 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213504.2134 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f748946633f8f831' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213504.2315 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213504.2329 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213504.2357 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213504.2363 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213504.2368 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213504.2373 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213504.2378 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213504.2382 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213504.2387 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f748946633f8f831',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213504.2654 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213504.2676 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213504.2691 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213504.2709 1e2a9aer2c66q5k9kb1c48p34v 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 ('aut6633f748946633f8f831',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1164,102044,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213504.3026 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.3030 1e2a9aer2c66q5k9kb1c48p34v Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240502@213504.3044 1e2a9aer2c66q5k9kb1c48p34v 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.1824.00.1'
20240502@213504.3208 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213504.3223 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213504.3248 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213504.3261 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213504.3265 1e2a9aer2c66q5k9kb1c48p34v Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301208200a'
20240502@213504.3279 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213504.3290 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213504.3305 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213504.3329 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f847596633f8f850',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6633f748946633f8f831' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213504.3662 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213504.3679 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213504.3684 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f847596633f8f850','aut6633f748946633f8f831' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213504.3689 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213504.3707 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213504.3735 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213504.3748 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213504.3752 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213504.3762 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213504.3775 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213504.3799 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f123186633f8f85b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f748946633f8f831' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213504.4070 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213504.4211 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213504.4303 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f123186633f8f85b','aut6633f748946633f8f831' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213504.4317 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.4321 1e2a9aer2c66q5k9kb1c48p34v Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240502@213504.4334 1e2a9aer2c66q5k9kb1c48p34v 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.1824.00.1'
20240502@213504.4346 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213504.4360 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213504.4384 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213504.4397 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213504.4401 1e2a9aer2c66q5k9kb1c48p34v Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301208200a'
20240502@213504.4410 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213504.4420 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213504.4432 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213504.4456 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f468426633f8f86b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6633f748946633f8f831' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240502@213504.4710 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213504.4725 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213504.4733 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f468426633f8f86b','aut6633f748946633f8f831' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213504.4738 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213504.4759 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213504.4784 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213504.4800 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213504.4805 1e2a9aer2c66q5k9kb1c48p34v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213504.4816 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213504.4831 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213504.4862 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f636056633f8f875',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f748946633f8f831' ,0,0 ,2,23.00,50000,?,?,?)
20240502@213504.5172 1e2a9aer2c66q5k9kb1c48p34v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213504.5188 1e2a9aer2c66q5k9kb1c48p34v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213504.5193 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f636056633f8f875','aut6633f748946633f8f831' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213504.5199 1e2a9aer2c66q5k9kb1c48p34v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f748946633f8f831','2403138','wait',39,'ari17112337378,753000005')
20240502@213504.5236 1e2a9aer2c66q5k9kb1c48p34v Query : use flama_phc
20240502@213504.5239 1e2a9aer2c66q5k9kb1c48p34v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213504.5251 1e2a9aer2c66q5k9kb1c48p34v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1468';
20240502@213504.5274 1e2a9aer2c66q5k9kb1c48p34v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1468';
20240502@213504.5292 1e2a9aer2c66q5k9kb1c48p34v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1468';
20240502@213504.5308 1e2a9aer2c66q5k9kb1c48p34v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1468';
20240502@213504.5733 1e2tt5qi0jikqrlibd69o8823u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213504.5749 1e2tt5qi0jikqrlibd69o8823u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213504.5783 1e2tt5qi0jikqrlibd69o8823u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1469';
20240502@213504.5844 1e2tt5qi0jikqrlibd69o8823u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1469';
20240502@213504.5869 1e2tt5qi0jikqrlibd69o8823u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1469';
20240502@213504.5885 1e2tt5qi0jikqrlibd69o8823u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1469';
20240502@213504.5901 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.5904 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213504.5917 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.5920 1e2tt5qi0jikqrlibd69o8823u Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240502@213504.6010 1e2tt5qi0jikqrlibd69o8823u 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'
20240502@213504.6022 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403139 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240502@213504.6436 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240502@213504.7699 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403139 and bi.ref ='324.1470.00.1' and bi.lordem =2
20240502@213504.8171 1e2tt5qi0jikqrlibd69o8823u 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'
20240502@213504.8183 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403139 and bi.ref ='324.727.00.01' and bi.lordem =3
20240502@213504.8536 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.8540 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213504.8554 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.8557 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213504.8568 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.8571 1e2tt5qi0jikqrlibd69o8823u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213504.8586 1e2tt5qi0jikqrlibd69o8823u 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
20240502@213504.8605 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.8608 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240502@213504.8731 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.8735 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213504.8745 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.8748 1e2tt5qi0jikqrlibd69o8823u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213504.8758 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.8761 1e2tt5qi0jikqrlibd69o8823u Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240502@213504.8773 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213504.8777 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from td where ndoc = 39
20240502@213504.8821 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213504.8833 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213504.8847 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213504.8865 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213504.8877 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213504.8908 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213504.8920 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213504.8932 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213504.9022 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213504.9036 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213504.9049 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213504.9059 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f879206633f8f8da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213504.9232 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213504.9247 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213504.9279 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213504.9285 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213504.9290 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213504.9296 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213504.9302 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213504.9308 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213504.9312 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f879206633f8f8da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213504.9752 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213504.9775 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213504.9792 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213504.9811 1e2tt5qi0jikqrlibd69o8823u 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 ('aut6633f879206633f8f8da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1165,102199,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213505.2400 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213505.2810 1e2tt5qi0jikqrlibd69o8823u Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240502@213505.4200 1e2tt5qi0jikqrlibd69o8823u 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'
20240502@213505.4320 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.4460 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213505.4670 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.4800 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213505.4840 1e2tt5qi0jikqrlibd69o8823u Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240502@213505.4930 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213505.5020 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.5130 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213505.5340 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f045926633f8f90c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6633f879206633f8f8da' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213505.8470 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.8620 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213505.8670 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f045926633f8f90c','aut6633f879206633f8f8da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213505.8710 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213505.8750 1e2tt5qi0jikqrlibd69o8823u Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240502@213505.8880 1e2tt5qi0jikqrlibd69o8823u 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.1470.00.1'
20240502@213505.1045 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.1059 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213505.1083 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.1097 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213505.1101 1e2tt5qi0jikqrlibd69o8823u Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240502@213505.1129 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213505.1141 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.1155 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213505.1179 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f072696633f8f91b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6633f879206633f8f8da' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213505.1540 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.1557 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213505.1562 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f072696633f8f91b','aut6633f879206633f8f8da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213505.1567 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213505.1570 1e2tt5qi0jikqrlibd69o8823u Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240502@213505.1582 1e2tt5qi0jikqrlibd69o8823u 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'
20240502@213505.1594 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.1608 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213505.1633 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.1645 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213505.1650 1e2tt5qi0jikqrlibd69o8823u Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240502@213505.1660 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213505.1670 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.1683 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213505.1725 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f687206633f8f928',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6633f879206633f8f8da' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240502@213505.1997 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.2015 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213505.2020 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f687206633f8f928','aut6633f879206633f8f8da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213505.2026 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.2039 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213505.2061 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.2073 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213505.2078 1e2tt5qi0jikqrlibd69o8823u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213505.2088 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.2100 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213505.2123 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f258456633f8f932',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f879206633f8f8da' ,0,0 ,2,23.00,40000,?,?,?)
20240502@213505.2393 1e2tt5qi0jikqrlibd69o8823u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.2408 1e2tt5qi0jikqrlibd69o8823u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213505.2413 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f258456633f8f932','aut6633f879206633f8f8da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213505.2417 1e2tt5qi0jikqrlibd69o8823u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f879206633f8f8da','2403139','wait',39,'ari17112337378,753000005')
20240502@213505.2433 1e2tt5qi0jikqrlibd69o8823u Query : use flama_phc
20240502@213505.2436 1e2tt5qi0jikqrlibd69o8823u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213505.2447 1e2tt5qi0jikqrlibd69o8823u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1469';
20240502@213505.2467 1e2tt5qi0jikqrlibd69o8823u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1469';
20240502@213505.2486 1e2tt5qi0jikqrlibd69o8823u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1469';
20240502@213505.2499 1e2tt5qi0jikqrlibd69o8823u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1469';
20240502@213505.2988 7sanr9u95liq9f735aigmat0rc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213505.3002 7sanr9u95liq9f735aigmat0rc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213505.3026 7sanr9u95liq9f735aigmat0rc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1470';
20240502@213505.3076 7sanr9u95liq9f735aigmat0rc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1470';
20240502@213505.3095 7sanr9u95liq9f735aigmat0rc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1470';
20240502@213505.3110 7sanr9u95liq9f735aigmat0rc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1470';
20240502@213505.3127 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3130 7sanr9u95liq9f735aigmat0rc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213505.3143 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3146 7sanr9u95liq9f735aigmat0rc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240502@213505.3195 7sanr9u95liq9f735aigmat0rc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240502@213505.3207 7sanr9u95liq9f735aigmat0rc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403140 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240502@213505.3597 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3602 7sanr9u95liq9f735aigmat0rc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213505.3616 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3620 7sanr9u95liq9f735aigmat0rc Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213505.3633 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3636 7sanr9u95liq9f735aigmat0rc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213505.3655 7sanr9u95liq9f735aigmat0rc 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
20240502@213505.3670 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3672 7sanr9u95liq9f735aigmat0rc Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240502@213505.3684 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3687 7sanr9u95liq9f735aigmat0rc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213505.3699 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3702 7sanr9u95liq9f735aigmat0rc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213505.3713 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3716 7sanr9u95liq9f735aigmat0rc Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240502@213505.3729 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.3731 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from td where ndoc = 39
20240502@213505.3742 7sanr9u95liq9f735aigmat0rc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213505.3753 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213505.3767 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213505.3783 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213505.3795 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213505.3819 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213505.3835 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213505.3844 7sanr9u95liq9f735aigmat0rc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213505.3944 7sanr9u95liq9f735aigmat0rc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213505.3955 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213505.3970 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213505.3981 7sanr9u95liq9f735aigmat0rc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f425356633f8f95d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213505.4177 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213505.4193 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213505.4249 7sanr9u95liq9f735aigmat0rc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213505.4255 7sanr9u95liq9f735aigmat0rc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213505.4259 7sanr9u95liq9f735aigmat0rc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213505.4263 7sanr9u95liq9f735aigmat0rc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213505.4268 7sanr9u95liq9f735aigmat0rc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213505.4272 7sanr9u95liq9f735aigmat0rc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213505.4276 7sanr9u95liq9f735aigmat0rc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f425356633f8f95d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213505.4570 7sanr9u95liq9f735aigmat0rc Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213505.4590 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213505.4603 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213505.4621 7sanr9u95liq9f735aigmat0rc 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 ('aut6633f425356633f8f95d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1166,102199,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213505.4931 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.4936 7sanr9u95liq9f735aigmat0rc Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240502@213505.4947 7sanr9u95liq9f735aigmat0rc 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.1834.00.1'
20240502@213505.4958 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.4972 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213505.4995 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.5009 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213505.5020 7sanr9u95liq9f735aigmat0rc Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240502@213505.5030 7sanr9u95liq9f735aigmat0rc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213505.5041 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.5052 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213505.5077 7sanr9u95liq9f735aigmat0rc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f616956633f8f97b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6633f425356633f8f95d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213505.5381 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.5397 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213505.5403 7sanr9u95liq9f735aigmat0rc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f616956633f8f97b','aut6633f425356633f8f95d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213505.5408 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.5423 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213505.5448 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.5645 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213505.5650 7sanr9u95liq9f735aigmat0rc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213505.5661 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213505.5675 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213505.5699 7sanr9u95liq9f735aigmat0rc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f896286633f8f98a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f425356633f8f95d' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213505.6002 7sanr9u95liq9f735aigmat0rc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213505.7152 7sanr9u95liq9f735aigmat0rc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213505.7159 7sanr9u95liq9f735aigmat0rc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f896286633f8f98a','aut6633f425356633f8f95d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213505.7165 7sanr9u95liq9f735aigmat0rc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f425356633f8f95d','2403140','wait',39,'ari17112337378,753000005')
20240502@213505.7183 7sanr9u95liq9f735aigmat0rc Query : use flama_phc
20240502@213505.7186 7sanr9u95liq9f735aigmat0rc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213505.7197 7sanr9u95liq9f735aigmat0rc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1470';
20240502@213505.7221 7sanr9u95liq9f735aigmat0rc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1470';
20240502@213505.7239 7sanr9u95liq9f735aigmat0rc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1470';
20240502@213505.7257 7sanr9u95liq9f735aigmat0rc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1470';
20240502@213505.9428 8s8mh508ud2k9mjp26j84lpo8i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213505.9446 8s8mh508ud2k9mjp26j84lpo8i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213505.9472 8s8mh508ud2k9mjp26j84lpo8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1471';
20240502@213505.9597 8s8mh508ud2k9mjp26j84lpo8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1471';
20240502@213505.9618 8s8mh508ud2k9mjp26j84lpo8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1471';
20240502@213505.9634 8s8mh508ud2k9mjp26j84lpo8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1471';
20240502@213505.9649 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213505.9652 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213505.9664 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213505.9667 8s8mh508ud2k9mjp26j84lpo8i Query : select no, estab,szadrsdesc from szadrs where u_coddest=2270
20240502@213505.9840 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8410.00.1'
20240502@213506.1700 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403142 and bi.ref ='327.8410.00.1' and bi.lordem =1
20240502@213506.3840 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.3880 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213506.4020 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.4050 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213506.4150 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.4170 8s8mh508ud2k9mjp26j84lpo8i Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213506.4280 8s8mh508ud2k9mjp26j84lpo8i 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
20240502@213506.4420 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.4450 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 ~inactivo valor from cl where no = '102439' and estab = 0 order by inactivo desc
20240502@213506.5600 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.5640 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213506.5750 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.5790 8s8mh508ud2k9mjp26j84lpo8i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213506.5910 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.5940 8s8mh508ud2k9mjp26j84lpo8i Query : select szadrsstamp valor from szadrs where szadrsdesc='carlos luis unipessoal lda'
20240502@213506.6100 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.6130 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from td where ndoc = 39
20240502@213506.6240 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213506.6370 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213506.6530 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213506.6710 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213506.6860 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213506.7160 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213506.7310 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213506.7420 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213506.8340 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213506.8440 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213506.8590 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213506.8690 8s8mh508ud2k9mjp26j84lpo8i Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f655646633f8fa12' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213506.1055 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213506.1071 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213506.1099 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213506.1105 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213506.1110 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213506.1115 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213506.1121 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213506.1126 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213506.1131 8s8mh508ud2k9mjp26j84lpo8i Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f655646633f8fa12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213506.1386 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213506.1411 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213506.1425 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213506.1444 8s8mh508ud2k9mjp26j84lpo8i 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 ('aut6633f655646633f8fa12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1167,102439,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213506.1738 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.1742 8s8mh508ud2k9mjp26j84lpo8i Query : select st.usalote valor from st where st.ref = '327.8410.00.1'
20240502@213506.1755 8s8mh508ud2k9mjp26j84lpo8i 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.8410.00.1'
20240502@213506.1913 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213506.1928 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213506.2040 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213506.2058 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213506.2064 8s8mh508ud2k9mjp26j84lpo8i Query : select sestamp valor from se where ref ='327.8410.00.1' and lote = 'r2301152200a'
20240502@213506.2101 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213506.2112 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213506.2126 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213506.2151 8s8mh508ud2k9mjp26j84lpo8i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f427716633f8fa33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6633f655646633f8fa12' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213506.2416 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213506.2435 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213506.2439 8s8mh508ud2k9mjp26j84lpo8i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f427716633f8fa33','aut6633f655646633f8fa12' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213506.2445 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213506.2461 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213506.2487 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213506.2500 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213506.2505 8s8mh508ud2k9mjp26j84lpo8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213506.2515 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213506.2528 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213506.2567 8s8mh508ud2k9mjp26j84lpo8i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f525536633f8fa3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f655646633f8fa12' ,0,0 ,2,23.00,20000,?,?,?)
20240502@213506.2831 8s8mh508ud2k9mjp26j84lpo8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213506.2849 8s8mh508ud2k9mjp26j84lpo8i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213506.2855 8s8mh508ud2k9mjp26j84lpo8i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f525536633f8fa3d','aut6633f655646633f8fa12' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213506.2860 8s8mh508ud2k9mjp26j84lpo8i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f655646633f8fa12','2403142','wait',39,'ari17112337378,753000005')
20240502@213506.2878 8s8mh508ud2k9mjp26j84lpo8i Query : use flama_phc
20240502@213506.2881 8s8mh508ud2k9mjp26j84lpo8i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213506.2896 8s8mh508ud2k9mjp26j84lpo8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1471';
20240502@213506.2919 8s8mh508ud2k9mjp26j84lpo8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1471';
20240502@213506.2939 8s8mh508ud2k9mjp26j84lpo8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1471';
20240502@213506.2956 8s8mh508ud2k9mjp26j84lpo8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1471';
20240502@213506.3728 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213506.3743 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213506.3769 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1472';
20240502@213506.3816 t3vlv3nkc8g6qq2hut1lbpc3rf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1472';
20240502@213506.3837 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1472';
20240502@213506.3862 t3vlv3nkc8g6qq2hut1lbpc3rf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1472';
20240502@213506.3878 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.3881 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213506.3894 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.3899 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select no, estab,szadrsdesc from szadrs where u_coddest=2410
20240502@213506.3989 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240502@213506.4157 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403143 and bi.ref ='324.736.00.01' and bi.lordem =1
20240502@213506.4590 t3vlv3nkc8g6qq2hut1lbpc3rf 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'
20240502@213506.4763 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403143 and bi.ref ='324.4906.00.1' and bi.lordem =2
20240502@213506.5142 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4005.00.2'
20240502@213506.5309 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403143 and bi.ref ='304.4005.00.2' and bi.lordem =3
20240502@213506.5674 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20240502@213506.5838 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403143 and bi.ref ='324.658.00.01' and bi.lordem =5
20240502@213506.6218 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.6222 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213506.6236 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.6239 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213506.6250 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.6253 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213506.6264 t3vlv3nkc8g6qq2hut1lbpc3rf 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
20240502@213506.6280 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.6283 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 ~inactivo valor from cl where no = '102553' and estab = 0 order by inactivo desc
20240502@213506.6427 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.6430 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213506.6442 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.6445 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213506.6455 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.6458 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select szadrsstamp valor from szadrs where szadrsdesc='tanqueluz - importaÇÃo, exportaÇÃo e comÉrcio de materi'
20240502@213506.6470 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.6473 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from td where ndoc = 39
20240502@213506.6484 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213506.6496 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213506.6510 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213506.6527 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213506.6540 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213506.6566 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213506.6580 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213506.6589 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213506.6680 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213506.6689 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213506.6702 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213506.6712 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f657426633f8faa0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213506.6900 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213506.6915 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213506.6944 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213506.6949 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213506.6954 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213506.6958 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213506.6963 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213506.6968 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213506.6972 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f657426633f8faa0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213506.7449 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213506.8284 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213506.8299 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213506.8315 t3vlv3nkc8g6qq2hut1lbpc3rf 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 ('aut6633f657426633f8faa0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1168,102553,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213506.8619 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.8624 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240502@213506.8637 t3vlv3nkc8g6qq2hut1lbpc3rf 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.736.00.01'
20240502@213506.8954 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213506.9133 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213506.9160 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213506.9174 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213506.9179 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2100297200a'
20240502@213506.9213 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213506.9224 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213506.9239 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213506.9266 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f887156633f8fae1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6633f657426633f8faa0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213506.9757 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213506.9775 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213506.9781 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f887156633f8fae1','aut6633f657426633f8faa0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213506.9786 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213506.9790 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240502@213506.9803 t3vlv3nkc8g6qq2hut1lbpc3rf 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'
20240502@213506.9976 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213506.9994 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.1030 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.1180 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.1240 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240502@213507.1520 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.1640 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.1780 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.2030 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f191686633f8fb04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6633f657426633f8faa0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213507.4610 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.4770 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.4820 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f191686633f8fb04','aut6633f657426633f8faa0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.4880 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.5030 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.5290 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.5410 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.5460 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.5570 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.5700 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.5960 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f883856633f8fb0d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f657426633f8faa0' ,0,0 ,2,23.00,30000,?,?,?)
20240502@213507.8590 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.8790 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.8840 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f883856633f8fb0d','aut6633f657426633f8faa0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.8900 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213507.8940 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select st.usalote valor from st where st.ref = '304.4005.00.2'
20240502@213507.9480 t3vlv3nkc8g6qq2hut1lbpc3rf 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.4005.00.2'
20240502@213507.1117 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.1134 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.1174 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.1189 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.1195 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select sestamp valor from se where ref ='304.4005.00.2' and lote = '230086'
20240502@213507.1236 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.1247 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.1262 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.1290 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f247336633f8fb1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6633f657426633f8faa0' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240502@213507.1676 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.1694 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.1699 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f247336633f8fb1e','aut6633f657426633f8faa0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.1704 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213507.1707 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20240502@213507.1736 t3vlv3nkc8g6qq2hut1lbpc3rf 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.658.00.01'
20240502@213507.1910 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.1928 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.1956 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.1971 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.1976 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2300820200a'
20240502@213507.1988 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.2011 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.2025 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.2050 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f462566633f8fb31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6633f657426633f8faa0' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240502@213507.2321 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.2339 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.2344 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f462566633f8fb31','aut6633f657426633f8faa0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.2351 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.2365 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.2406 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.2418 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.2423 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.2433 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.2448 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.2473 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f396606633f8fb3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f657426633f8faa0' ,0,0 ,2,23.00,70000,?,?,?)
20240502@213507.2758 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.2774 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.2779 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f396606633f8fb3b','aut6633f657426633f8faa0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.2784 t3vlv3nkc8g6qq2hut1lbpc3rf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f657426633f8faa0','2403143','wait',39,'ari17112337378,753000005')
20240502@213507.2800 t3vlv3nkc8g6qq2hut1lbpc3rf Query : use flama_phc
20240502@213507.2804 t3vlv3nkc8g6qq2hut1lbpc3rf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213507.2816 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1472';
20240502@213507.2837 t3vlv3nkc8g6qq2hut1lbpc3rf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1472';
20240502@213507.2855 t3vlv3nkc8g6qq2hut1lbpc3rf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1472';
20240502@213507.2869 t3vlv3nkc8g6qq2hut1lbpc3rf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1472';
20240502@213507.3300 hpiko1q3if4bf6f94hvb013gnk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213507.3376 hpiko1q3if4bf6f94hvb013gnk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213507.3509 hpiko1q3if4bf6f94hvb013gnk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1473';
20240502@213507.3565 hpiko1q3if4bf6f94hvb013gnk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1473';
20240502@213507.3587 hpiko1q3if4bf6f94hvb013gnk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1473';
20240502@213507.3604 hpiko1q3if4bf6f94hvb013gnk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1473';
20240502@213507.3622 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.3626 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213507.3641 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.3644 hpiko1q3if4bf6f94hvb013gnk Query : select no, estab,szadrsdesc from szadrs where u_coddest=5464
20240502@213507.3731 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240502@213507.3899 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403144 and bi.ref ='324.948.00.01' and bi.lordem =1
20240502@213507.4245 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240502@213507.4259 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403144 and bi.ref ='324.948.00.01' and bi.lordem =1
20240502@213507.4264 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240502@213507.4435 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403144 and bi.ref ='324.1884.00.1' and bi.lordem =2
20240502@213507.4822 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240502@213507.4835 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403144 and bi.ref ='324.1884.00.1' and bi.lordem =2
20240502@213507.4841 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240502@213507.4852 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403144 and bi.ref ='324.711.00.01' and bi.lordem =3
20240502@213507.5204 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.5207 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213507.5221 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.5224 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213507.5235 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.5238 hpiko1q3if4bf6f94hvb013gnk Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213507.5249 hpiko1q3if4bf6f94hvb013gnk 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
20240502@213507.5264 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.5267 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 ~inactivo valor from cl where no = '102514' and estab = 0 order by inactivo desc
20240502@213507.5390 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.5393 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213507.5404 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.5407 hpiko1q3if4bf6f94hvb013gnk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213507.5418 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.5421 hpiko1q3if4bf6f94hvb013gnk Query : select szadrsstamp valor from szadrs where szadrsdesc='verÃo garantido - hotelaria e turismo, unipessoal, lda'
20240502@213507.5434 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.5437 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from td where ndoc = 39
20240502@213507.5447 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213507.5459 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213507.5473 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213507.5490 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213507.5504 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213507.5531 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213507.5545 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213507.5556 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213507.5647 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213507.5657 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213507.5671 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213507.5681 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213507.5882 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213507.5897 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213507.5924 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213507.5930 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213507.5934 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213507.5939 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213507.5944 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213507.5949 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213507.5954 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f606526633f8fb87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213507.6234 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213507.6256 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213507.6270 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213507.6292 hpiko1q3if4bf6f94hvb013gnk 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 ('aut6633f606526633f8fb87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1169,102514,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213507.6632 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.6637 hpiko1q3if4bf6f94hvb013gnk Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240502@213507.6650 hpiko1q3if4bf6f94hvb013gnk 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.948.00.01'
20240502@213507.6916 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.6960 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.7037 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.7133 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.7138 hpiko1q3if4bf6f94hvb013gnk Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2300909200a'
20240502@213507.7163 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.7175 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.7205 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.7232 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f136406633f8fbaf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6633f606526633f8fb87' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213507.7643 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.7663 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.7668 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f136406633f8fbaf','aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.7673 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.7676 hpiko1q3if4bf6f94hvb013gnk Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240502@213507.7688 hpiko1q3if4bf6f94hvb013gnk 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.948.00.01'
20240502@213507.7699 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.7713 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.7737 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.7749 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.7753 hpiko1q3if4bf6f94hvb013gnk Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2300909200a'
20240502@213507.7765 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.7775 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.7789 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.7815 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f730926633f8fbbd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6633f606526633f8fb87' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240502@213507.8118 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.8136 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.8141 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f730926633f8fbbd','aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.8146 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.8150 hpiko1q3if4bf6f94hvb013gnk Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240502@213507.8162 hpiko1q3if4bf6f94hvb013gnk 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.1884.00.1'
20240502@213507.8341 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.8357 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.8382 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.8397 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.8402 hpiko1q3if4bf6f94hvb013gnk Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240502@213507.8415 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.8427 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.8443 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.8469 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f326616633f8fbcd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6633f606526633f8fb87' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240502@213507.8736 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.8752 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.8758 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f326616633f8fbcd','aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.8763 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.8778 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.8805 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.8818 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.8823 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.8834 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.8848 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.8876 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f474576633f8fbd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f606526633f8fb87' ,0,0 ,2,23.00,40000,?,?,?)
20240502@213507.9137 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.9155 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.9161 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f474576633f8fbd7','aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.9166 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213507.9170 hpiko1q3if4bf6f94hvb013gnk Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240502@213507.9183 hpiko1q3if4bf6f94hvb013gnk 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.1884.00.1'
20240502@213507.9198 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.9213 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.9239 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.9252 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.9257 hpiko1q3if4bf6f94hvb013gnk Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240502@213507.9268 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.9278 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.9291 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.9317 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f832666633f8fbe2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6633f606526633f8fb87' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240502@213507.9736 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.9768 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213507.9773 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f832666633f8fbe2','aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213507.9779 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.9793 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213507.9819 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213507.9832 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213507.9836 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213507.9846 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213507.9860 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213507.9891 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f793526633f8fbf0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f606526633f8fb87' ,0,0 ,2,23.00,70000,?,?,?)
20240502@213508.1530 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213508.1700 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213508.1760 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f793526633f8fbf0','aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213508.1980 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213508.2010 hpiko1q3if4bf6f94hvb013gnk Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240502@213508.2130 hpiko1q3if4bf6f94hvb013gnk 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.711.00.01'
20240502@213508.2260 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213508.2410 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213508.2660 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213508.2800 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213508.2860 hpiko1q3if4bf6f94hvb013gnk Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240502@213508.2980 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213508.3090 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213508.3230 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213508.3830 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f681786633f8fc07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6633f606526633f8fb87' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240502@213508.7190 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213508.7380 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213508.7430 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f681786633f8fc07','aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213508.7500 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213508.7700 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213508.8150 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213508.8290 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213508.8340 hpiko1q3if4bf6f94hvb013gnk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213508.8450 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213508.8590 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213508.8890 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6633f843176633f8fc14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6633f606526633f8fb87' ,0,0 ,2,23.00,100000,?,?,?)
20240502@213508.1189 hpiko1q3if4bf6f94hvb013gnk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213508.1208 hpiko1q3if4bf6f94hvb013gnk Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213508.1215 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f843176633f8fc14','aut6633f606526633f8fb87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213508.1222 hpiko1q3if4bf6f94hvb013gnk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6633f606526633f8fb87','2403144','wait',39,'ari17112337378,753000005')
20240502@213508.1244 hpiko1q3if4bf6f94hvb013gnk Query : use flama_phc
20240502@213508.1249 hpiko1q3if4bf6f94hvb013gnk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240502@213508.2106 hpiko1q3if4bf6f94hvb013gnk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1473';
20240502@213508.2569 hpiko1q3if4bf6f94hvb013gnk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1473';
20240502@213508.2597 hpiko1q3if4bf6f94hvb013gnk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1473';
20240502@213508.2624 hpiko1q3if4bf6f94hvb013gnk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1473';
20240502@213508.3055 emeapj7quloct6vl38eia26h9n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240502@213508.3070 emeapj7quloct6vl38eia26h9n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240502@213508.3096 emeapj7quloct6vl38eia26h9n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1474';
20240502@213508.3146 emeapj7quloct6vl38eia26h9n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1474';
20240502@213508.3166 emeapj7quloct6vl38eia26h9n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1474';
20240502@213508.3185 emeapj7quloct6vl38eia26h9n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1474';
20240502@213508.3201 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.3204 emeapj7quloct6vl38eia26h9n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240502@213508.3221 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.3225 emeapj7quloct6vl38eia26h9n Query : select no, estab,szadrsdesc from szadrs where u_coddest=829
20240502@213508.3316 emeapj7quloct6vl38eia26h9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240502@213508.3327 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240502@213508.3841 emeapj7quloct6vl38eia26h9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20240502@213508.4161 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='324.1824.00.1' and bi.lordem =2
20240502@213508.4509 emeapj7quloct6vl38eia26h9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20240502@213508.4677 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='324.1407.00.1' and bi.lordem =3
20240502@213508.5276 emeapj7quloct6vl38eia26h9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20240502@213508.5471 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='324.2031.00.1' and bi.lordem =4
20240502@213508.5858 emeapj7quloct6vl38eia26h9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20240502@213508.5871 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='324.966.00.01' and bi.lordem =5
20240502@213508.6384 emeapj7quloct6vl38eia26h9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5365.00.1'
20240502@213508.6573 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='324.5365.00.1' and bi.lordem =6
20240502@213508.6979 emeapj7quloct6vl38eia26h9n 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'
20240502@213508.7219 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='324.4980.00.1' and bi.lordem =7
20240502@213508.7707 emeapj7quloct6vl38eia26h9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240502@213508.7941 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='324.1805.00.1' and bi.lordem =8
20240502@213508.8350 emeapj7quloct6vl38eia26h9n 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'
20240502@213508.8579 emeapj7quloct6vl38eia26h9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2031 and bo.obrano = 2403145 and bi.ref ='324.497.00.01' and bi.lordem =9
20240502@213508.8971 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.8976 emeapj7quloct6vl38eia26h9n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240502@213508.8991 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.8995 emeapj7quloct6vl38eia26h9n Query : select top 1 1 valor from td where td.ndoc = 39
20240502@213508.9008 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.9012 emeapj7quloct6vl38eia26h9n Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240502@213508.9025 emeapj7quloct6vl38eia26h9n 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
20240502@213508.9041 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.9044 emeapj7quloct6vl38eia26h9n Query : select top 1 ~inactivo valor from cl where no = '101684' and estab = 0 order by inactivo desc
20240502@213508.9172 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.9176 emeapj7quloct6vl38eia26h9n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240502@213508.9188 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.9191 emeapj7quloct6vl38eia26h9n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240502@213508.9447 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213508.9617 emeapj7quloct6vl38eia26h9n Query : select szadrsstamp valor from szadrs where szadrsdesc='martins & correia,lda'
20240502@213509.2680 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213509.7210 emeapj7quloct6vl38eia26h9n Query : select 1 valor from td where ndoc = 39
20240502@213509.1340 emeapj7quloct6vl38eia26h9n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240502@213509.1576 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213509.1594 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240502@213509.1612 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213509.1639 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240502@213509.1681 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213509.1695 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240502@213509.1706 emeapj7quloct6vl38eia26h9n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213509.1798 emeapj7quloct6vl38eia26h9n Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240502@213509.1808 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240502@213509.1823 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240502@213509.1834 emeapj7quloct6vl38eia26h9n Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6633f739666633f8fd29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240502@213509.2032 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240502@213509.2047 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240502@213509.2074 emeapj7quloct6vl38eia26h9n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240502@213509.2080 emeapj7quloct6vl38eia26h9n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240502@213509.2085 emeapj7quloct6vl38eia26h9n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240502@213509.2090 emeapj7quloct6vl38eia26h9n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240502@213509.2095 emeapj7quloct6vl38eia26h9n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240502@213509.2100 emeapj7quloct6vl38eia26h9n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240502@213509.2105 emeapj7quloct6vl38eia26h9n Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6633f739666633f8fd29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240502@213509.2376 emeapj7quloct6vl38eia26h9n Query : select top 1 fno valor from wsft039data order by fno desc
20240502@213509.2475 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240502@213509.2493 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240502@213509.2514 emeapj7quloct6vl38eia26h9n 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 ('aut6633f739666633f8fd29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1170,101684,0,'2024-05-02',39,'euro',0,0,2024 ,'20240502','2205',?,?,?,?)
20240502@213509.2815 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213509.2819 emeapj7quloct6vl38eia26h9n Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240502@213509.2833 emeapj7quloct6vl38eia26h9n 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.4320.00.1'
20240502@213509.2847 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213509.2863 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213509.2895 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213509.2911 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240502@213509.2916 emeapj7quloct6vl38eia26h9n Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240502@213509.2930 emeapj7quloct6vl38eia26h9n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240502@213509.2940 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213509.2954 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240502@213509.2980 emeapj7quloct6vl38eia26h9n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6633f131956633f8fd47',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6633f739666633f8fd29' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240502@213509.3520 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240502@213509.4212 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240502@213509.4219 emeapj7quloct6vl38eia26h9n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6633f131956633f8fd47','aut6633f739666633f8fd29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240502@213509.4225 emeapj7quloct6vl38eia26h9n Query : use flama_phc
20240502@213509.4228 emeapj7quloct6vl38eia26h9n Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240502@213509.4246 emeapj7quloct6vl38eia26h9n 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.1824.00.1'
20240502@213509.4259 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240502@213509.4275 emeapj7quloct6vl38eia26h9n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240502@213509.4300 emeapj7quloct6vl38eia26h9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
