20240417@073059.7750 vcepd62nhh3m5gf3hf5oabnqe3 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240417@073059.7749 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073059.7772 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073059.7808 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f660836661f6ca3bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut661f627946661f6ca31d' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240417@073059.8119 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073059.8148 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073059.8153 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f660836661f6ca3bd','aut661f627946661f6ca31d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073059.8159 vcepd62nhh3m5gf3hf5oabnqe3 Query : use flama_phc
20240417@073059.8163 vcepd62nhh3m5gf3hf5oabnqe3 Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240417@073059.8222 vcepd62nhh3m5gf3hf5oabnqe3 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.1646.00.1'
20240417@073059.8658 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073059.8678 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073059.8707 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073059.8723 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073059.8728 vcepd62nhh3m5gf3hf5oabnqe3 Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2101259200a'
20240417@073059.8746 vcepd62nhh3m5gf3hf5oabnqe3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073059.8803 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073059.8819 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073059.8846 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f677790661f6ca3d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut661f627946661f6ca31d' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240417@073059.9103 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073059.9130 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073059.9135 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f677790661f6ca3d6','aut661f627946661f6ca31d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073059.9141 vcepd62nhh3m5gf3hf5oabnqe3 Query : use flama_phc
20240417@073059.9144 vcepd62nhh3m5gf3hf5oabnqe3 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240417@073059.9157 vcepd62nhh3m5gf3hf5oabnqe3 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'
20240417@073059.9383 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073059.9399 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073059.9425 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073059.9439 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073059.9444 vcepd62nhh3m5gf3hf5oabnqe3 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240338'
20240417@073059.9534 vcepd62nhh3m5gf3hf5oabnqe3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073059.9546 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073059.9561 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073059.9592 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f697063661f6ca3e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f627946661f6ca31d' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240417@073059.9900 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073059.9933 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073059.9938 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f697063661f6ca3e9','aut661f627946661f6ca31d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073059.9943 vcepd62nhh3m5gf3hf5oabnqe3 Query : use flama_phc
20240417@073059.9946 vcepd62nhh3m5gf3hf5oabnqe3 Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240417@073059.9999 vcepd62nhh3m5gf3hf5oabnqe3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20240417@073100.1810 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.1553 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073100.1593 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.1612 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073100.1618 vcepd62nhh3m5gf3hf5oabnqe3 Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240417@073100.1637 vcepd62nhh3m5gf3hf5oabnqe3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073100.1648 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.1707 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073100.1731 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f658135661f6ca428',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut661f627946661f6ca31d' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240417@073100.2039 vcepd62nhh3m5gf3hf5oabnqe3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.2068 vcepd62nhh3m5gf3hf5oabnqe3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073100.2074 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f658135661f6ca428','aut661f627946661f6ca31d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073100.2079 vcepd62nhh3m5gf3hf5oabnqe3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f627946661f6ca31d','2402835','wait',39,'ari17112337378,753000005')
20240417@073100.2098 vcepd62nhh3m5gf3hf5oabnqe3 Query : use flama_phc
20240417@073100.2102 vcepd62nhh3m5gf3hf5oabnqe3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073100.2155 vcepd62nhh3m5gf3hf5oabnqe3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1209';
20240417@073100.2177 vcepd62nhh3m5gf3hf5oabnqe3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1209';
20240417@073100.2194 vcepd62nhh3m5gf3hf5oabnqe3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1209';
20240417@073100.2211 vcepd62nhh3m5gf3hf5oabnqe3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1209';
20240417@073100.2607 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073100.2664 qkkdq3qbmkrg0q78ocrr3smsbm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073100.2794 qkkdq3qbmkrg0q78ocrr3smsbm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1210';
20240417@073100.2911 qkkdq3qbmkrg0q78ocrr3smsbm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1210';
20240417@073100.2931 qkkdq3qbmkrg0q78ocrr3smsbm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1210';
20240417@073100.2966 qkkdq3qbmkrg0q78ocrr3smsbm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1210';
20240417@073100.2984 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.3028 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073100.3175 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.3179 qkkdq3qbmkrg0q78ocrr3smsbm Query : select no, estab,szadrsdesc from szadrs where u_coddest=2679
20240417@073100.3304 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20240417@073100.3474 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402847 and bi.ref ='324.1690.00.1' and bi.lordem =1
20240417@073100.3826 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20240417@073100.3840 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402847 and bi.ref ='324.1690.00.1' and bi.lordem =1
20240417@073100.3846 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240417@073100.4051 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402847 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240417@073100.4399 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240417@073100.4414 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402847 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240417@073100.4421 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240417@073100.4432 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402847 and bi.ref ='324.1831.00.2' and bi.lordem =3
20240417@073100.4893 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.4898 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073100.4912 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.4915 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073100.4926 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.4929 qkkdq3qbmkrg0q78ocrr3smsbm Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073100.4940 qkkdq3qbmkrg0q78ocrr3smsbm 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
20240417@073100.4971 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.4975 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 ~inactivo valor from cl where no = '199525' and estab = 0 order by inactivo desc
20240417@073100.5137 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.5141 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073100.5152 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.5156 qkkdq3qbmkrg0q78ocrr3smsbm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073100.5200 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.5205 qkkdq3qbmkrg0q78ocrr3smsbm Query : select szadrsstamp valor from szadrs where szadrsdesc='euroilhas - soc.com.representaÇÕes,lda'
20240417@073100.5221 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.5224 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from td where ndoc = 39
20240417@073100.5235 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073100.5248 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073100.5262 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073100.5279 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073100.5304 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073100.5333 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073100.5347 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073100.5357 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073100.5461 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073100.5473 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073100.5487 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073100.5496 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073100.5652 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073100.5699 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073100.5729 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073100.5734 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073100.5739 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073100.5743 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073100.5748 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073100.5753 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073100.5758 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f648014661f6ca482',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073100.6036 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073100.6060 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073100.6076 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073100.6124 qkkdq3qbmkrg0q78ocrr3smsbm 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 ('aut661f648014661f6ca482',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',948,199525,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073100.6448 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.6454 qkkdq3qbmkrg0q78ocrr3smsbm Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20240417@073100.6467 qkkdq3qbmkrg0q78ocrr3smsbm 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.1690.00.1'
20240417@073100.6655 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.6670 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073100.6694 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.6707 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073100.6711 qkkdq3qbmkrg0q78ocrr3smsbm Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100755200a'
20240417@073100.6724 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073100.6734 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.6747 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073100.6804 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f655569661f6ca4a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073100.7086 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.7102 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073100.7109 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f655569661f6ca4a4','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073100.7127 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.7178 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073100.7206 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.7222 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073100.7227 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073100.7238 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.7252 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073100.7294 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f678889661f6ca4b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073100.7740 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.7852 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073100.7858 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f678889661f6ca4b0','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073100.7864 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.7868 qkkdq3qbmkrg0q78ocrr3smsbm Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20240417@073100.7914 qkkdq3qbmkrg0q78ocrr3smsbm 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.1690.00.1'
20240417@073100.7928 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.7942 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073100.7965 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.7979 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073100.7984 qkkdq3qbmkrg0q78ocrr3smsbm Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100755200a'
20240417@073100.7994 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073100.8003 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.8032 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073100.8060 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f661058661f6ca4c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073100.8351 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.8375 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073100.8379 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f661058661f6ca4c3','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073100.8384 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.8429 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073100.8454 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.8467 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073100.8471 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073100.8481 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.8493 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073100.8516 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f668360661f6ca4cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073100.8791 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.8808 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073100.8813 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f668360661f6ca4cf','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073100.8819 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073100.8822 qkkdq3qbmkrg0q78ocrr3smsbm Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240417@073100.8834 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240417@073100.9032 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.9046 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073100.9069 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.9082 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073100.9087 qkkdq3qbmkrg0q78ocrr3smsbm Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240417@073100.9113 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073100.9123 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.9137 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073100.9162 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f643499661f6ca4de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240417@073100.9457 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073100.9489 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073100.9496 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f643499661f6ca4de','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073100.9502 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073100.9516 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073101.7180 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.7330 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073101.7370 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073101.7460 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.7610 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073101.8170 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f679177661f6ca512',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,80000,?,?,?)
20240417@073101.1076 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.1103 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073101.1107 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f679177661f6ca512','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073101.1117 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073101.1120 qkkdq3qbmkrg0q78ocrr3smsbm Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240417@073101.1131 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240417@073101.1142 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.1184 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073101.1207 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.1221 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073101.1225 qkkdq3qbmkrg0q78ocrr3smsbm Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240417@073101.1235 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073101.1246 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.1259 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073101.1299 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f613280661f6ca51e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240417@073101.1761 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.1793 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073101.1797 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f613280661f6ca51e','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073101.1802 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.1849 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073101.1873 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.1885 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073101.1889 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073101.1899 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.1912 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073101.1934 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f645771661f6ca52e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,110000,?,?,?)
20240417@073101.2204 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.2220 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073101.2224 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f645771661f6ca52e','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073101.2230 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073101.2234 qkkdq3qbmkrg0q78ocrr3smsbm Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240417@073101.2246 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240417@073101.2257 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.2300 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073101.2323 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.2335 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073101.2340 qkkdq3qbmkrg0q78ocrr3smsbm Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240417@073101.2350 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073101.2358 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.2373 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073101.2395 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f608480661f6ca539',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240417@073101.2731 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.2747 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073101.2751 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f608480661f6ca539','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073101.2757 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.2770 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073101.2794 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.2819 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073101.2823 qkkdq3qbmkrg0q78ocrr3smsbm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073101.2835 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.2880 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073101.2904 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f696117661f6ca545',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f648014661f6ca482' ,0,0 ,2,23.00,140000,?,?,?)
20240417@073101.3178 qkkdq3qbmkrg0q78ocrr3smsbm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.3206 qkkdq3qbmkrg0q78ocrr3smsbm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073101.3211 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f696117661f6ca545','aut661f648014661f6ca482' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073101.3215 qkkdq3qbmkrg0q78ocrr3smsbm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f648014661f6ca482','2402847','wait',39,'ari17112337378,753000005')
20240417@073101.3236 qkkdq3qbmkrg0q78ocrr3smsbm Query : use flama_phc
20240417@073101.3239 qkkdq3qbmkrg0q78ocrr3smsbm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073101.3253 qkkdq3qbmkrg0q78ocrr3smsbm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1210';
20240417@073101.3301 qkkdq3qbmkrg0q78ocrr3smsbm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1210';
20240417@073101.3317 qkkdq3qbmkrg0q78ocrr3smsbm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1210';
20240417@073101.3332 qkkdq3qbmkrg0q78ocrr3smsbm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1210';
20240417@073101.3758 ldlblpgia14ghiju3olv5fhr7v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073101.3805 ldlblpgia14ghiju3olv5fhr7v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073101.3828 ldlblpgia14ghiju3olv5fhr7v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1211';
20240417@073101.3874 ldlblpgia14ghiju3olv5fhr7v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1211';
20240417@073101.3892 ldlblpgia14ghiju3olv5fhr7v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1211';
20240417@073101.3918 ldlblpgia14ghiju3olv5fhr7v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1211';
20240417@073101.3936 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.3939 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073101.3958 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.3961 ldlblpgia14ghiju3olv5fhr7v Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20240417@073101.4100 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073101.4111 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402849 and bi.ref ='324.646.00.01' and bi.lordem =1
20240417@073101.4478 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.4485 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073101.4498 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.4501 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073101.4594 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.4598 ldlblpgia14ghiju3olv5fhr7v Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073101.4609 ldlblpgia14ghiju3olv5fhr7v 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
20240417@073101.4653 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.4656 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20240417@073101.4822 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.4825 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073101.4835 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.4838 ldlblpgia14ghiju3olv5fhr7v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073101.4848 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.4851 ldlblpgia14ghiju3olv5fhr7v Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20240417@073101.4864 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.4867 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from td where ndoc = 39
20240417@073101.4876 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073101.4886 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073101.4900 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073101.4931 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073101.4944 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073101.4983 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073101.4996 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073101.5006 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073101.5114 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073101.5124 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073101.5180 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073101.5190 ldlblpgia14ghiju3olv5fhr7v Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f664930661f6ca57a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073101.5369 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073101.5400 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073101.5433 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073101.5438 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073101.5442 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073101.5447 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073101.5490 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073101.5495 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073101.5499 ldlblpgia14ghiju3olv5fhr7v Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f664930661f6ca57a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073101.5774 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073101.5806 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073101.5819 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073101.5841 ldlblpgia14ghiju3olv5fhr7v 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 ('aut661f664930661f6ca57a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',949,102079,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073101.6199 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.6212 ldlblpgia14ghiju3olv5fhr7v Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073101.6227 ldlblpgia14ghiju3olv5fhr7v 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.646.00.01'
20240417@073101.6238 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.6255 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073101.6279 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.6330 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073101.6334 ldlblpgia14ghiju3olv5fhr7v Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073101.6344 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073101.6354 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.6366 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073101.6389 ldlblpgia14ghiju3olv5fhr7v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f614606661f6ca59b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut661f664930661f6ca57a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073101.6684 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.6699 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073101.6704 ldlblpgia14ghiju3olv5fhr7v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f614606661f6ca59b','aut661f664930661f6ca57a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073101.6710 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.6725 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073101.6790 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.6804 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073101.6808 ldlblpgia14ghiju3olv5fhr7v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073101.6818 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073101.6831 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073101.6855 ldlblpgia14ghiju3olv5fhr7v Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f645447661f6ca5a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f664930661f6ca57a' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073101.7138 ldlblpgia14ghiju3olv5fhr7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073101.7154 ldlblpgia14ghiju3olv5fhr7v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073101.7158 ldlblpgia14ghiju3olv5fhr7v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f645447661f6ca5a6','aut661f664930661f6ca57a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073101.7164 ldlblpgia14ghiju3olv5fhr7v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f664930661f6ca57a','2402849','wait',39,'ari17112337378,753000005')
20240417@073101.7180 ldlblpgia14ghiju3olv5fhr7v Query : use flama_phc
20240417@073101.7183 ldlblpgia14ghiju3olv5fhr7v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073101.7195 ldlblpgia14ghiju3olv5fhr7v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1211';
20240417@073101.7253 ldlblpgia14ghiju3olv5fhr7v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1211';
20240417@073101.7269 ldlblpgia14ghiju3olv5fhr7v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1211';
20240417@073101.7284 ldlblpgia14ghiju3olv5fhr7v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1211';
20240417@073101.8690 vbl80ttjtcrl6nqv97v58u6keq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073101.8743 vbl80ttjtcrl6nqv97v58u6keq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073101.8766 vbl80ttjtcrl6nqv97v58u6keq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1212';
20240417@073101.8809 vbl80ttjtcrl6nqv97v58u6keq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1212';
20240417@073101.8829 vbl80ttjtcrl6nqv97v58u6keq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1212';
20240417@073101.8843 vbl80ttjtcrl6nqv97v58u6keq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1212';
20240417@073101.8865 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073101.8871 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073101.8884 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073101.8887 vbl80ttjtcrl6nqv97v58u6keq Query : select no, estab,szadrsdesc from szadrs where u_coddest=3009
20240417@073101.8981 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2186.00.1'
20240417@073101.9202 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402855 and bi.ref ='304.2186.00.1' and bi.lordem =1
20240417@073101.9576 vbl80ttjtcrl6nqv97v58u6keq 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'
20240417@073101.9750 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402855 and bi.ref ='304.4005.00.2' and bi.lordem =2
20240417@073102.1420 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.1470 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073102.1770 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.1810 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073102.1920 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.1960 vbl80ttjtcrl6nqv97v58u6keq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073102.2110 vbl80ttjtcrl6nqv97v58u6keq 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
20240417@073102.2550 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.2590 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 ~inactivo valor from cl where no = '102360' and estab = 0 order by inactivo desc
20240417@073102.3810 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.3850 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073102.3970 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.4010 vbl80ttjtcrl6nqv97v58u6keq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073102.4120 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.4160 vbl80ttjtcrl6nqv97v58u6keq Query : select szadrsstamp valor from szadrs where szadrsdesc='bring-it marketing solutions, lda-entrega.'
20240417@073102.4290 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.4460 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from td where ndoc = 39
20240417@073102.4580 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073102.4700 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073102.4860 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073102.5350 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073102.5500 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073102.5790 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073102.5930 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073102.6040 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073102.7130 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073102.7240 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073102.7410 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073102.7520 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f681539661f6ca60e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073102.9380 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073102.9530 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073102.9820 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073102.9870 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073102.9930 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073102.9970 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073102.1002 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073102.1006 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073102.1011 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f681539661f6ca60e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073102.1295 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073102.1345 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073102.1360 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073102.1379 vbl80ttjtcrl6nqv97v58u6keq 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 ('aut661f681539661f6ca60e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',950,102360,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073102.1691 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.1703 vbl80ttjtcrl6nqv97v58u6keq Query : select st.usalote valor from st where st.ref = '304.2186.00.1'
20240417@073102.1718 vbl80ttjtcrl6nqv97v58u6keq 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.2186.00.1'
20240417@073102.1898 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.1912 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073102.1942 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.1955 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073102.1959 vbl80ttjtcrl6nqv97v58u6keq Query : select sestamp valor from se where ref ='304.2186.00.1' and lote = '240368'
20240417@073102.1977 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073102.2019 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.2033 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073102.2058 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f602254661f6ca631',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut661f681539661f6ca60e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073102.2322 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.2350 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073102.2356 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f602254661f6ca631','aut661f681539661f6ca60e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073102.2361 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.2376 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073102.2430 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.2443 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073102.2447 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073102.2457 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.2471 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073102.2494 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f611555661f6ca63c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f681539661f6ca60e' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073102.2797 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.2812 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073102.2819 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f611555661f6ca63c','aut661f681539661f6ca60e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073102.2823 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.2826 vbl80ttjtcrl6nqv97v58u6keq Query : select st.usalote valor from st where st.ref = '304.4005.00.2'
20240417@073102.2838 vbl80ttjtcrl6nqv97v58u6keq 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'
20240417@073102.3042 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.3057 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073102.3081 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.3094 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073102.3098 vbl80ttjtcrl6nqv97v58u6keq Query : select sestamp valor from se where ref ='304.4005.00.2' and lote = '230086'
20240417@073102.3122 vbl80ttjtcrl6nqv97v58u6keq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073102.3132 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.3159 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073102.3188 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f697729661f6ca64c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f681539661f6ca60e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073102.3619 vbl80ttjtcrl6nqv97v58u6keq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.4051 vbl80ttjtcrl6nqv97v58u6keq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073102.4058 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f697729661f6ca64c','aut661f681539661f6ca60e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073102.4063 vbl80ttjtcrl6nqv97v58u6keq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f681539661f6ca60e','2402855','wait',39,'ari17112337378,753000005')
20240417@073102.4160 vbl80ttjtcrl6nqv97v58u6keq Query : use flama_phc
20240417@073102.4163 vbl80ttjtcrl6nqv97v58u6keq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073102.4214 vbl80ttjtcrl6nqv97v58u6keq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1212';
20240417@073102.4455 vbl80ttjtcrl6nqv97v58u6keq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1212';
20240417@073102.4582 vbl80ttjtcrl6nqv97v58u6keq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1212';
20240417@073102.4666 vbl80ttjtcrl6nqv97v58u6keq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1212';
20240417@073102.5405 65tj3dqi8b44movf6kp45h2aq1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073102.5418 65tj3dqi8b44movf6kp45h2aq1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073102.5473 65tj3dqi8b44movf6kp45h2aq1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1213';
20240417@073102.5517 65tj3dqi8b44movf6kp45h2aq1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1213';
20240417@073102.5535 65tj3dqi8b44movf6kp45h2aq1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1213';
20240417@073102.5549 65tj3dqi8b44movf6kp45h2aq1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1213';
20240417@073102.5563 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.5567 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073102.5580 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.5583 65tj3dqi8b44movf6kp45h2aq1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20240417@073102.5679 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240417@073102.5691 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402856 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240417@073102.6058 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240417@073102.6070 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402856 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240417@073102.6419 65tj3dqi8b44movf6kp45h2aq1 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'
20240417@073102.6621 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402856 and bi.ref ='324.727.00.01' and bi.lordem =3
20240417@073102.6967 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.6972 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073102.6987 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.6990 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073102.7002 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.7005 65tj3dqi8b44movf6kp45h2aq1 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073102.7026 65tj3dqi8b44movf6kp45h2aq1 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
20240417@073102.7041 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.7044 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073102.7195 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.7199 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073102.7211 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.7214 65tj3dqi8b44movf6kp45h2aq1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073102.7225 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.7228 65tj3dqi8b44movf6kp45h2aq1 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20240417@073102.7240 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.7243 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from td where ndoc = 39
20240417@073102.7253 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073102.7265 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073102.7280 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073102.7297 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073102.7310 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073102.7344 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073102.7358 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073102.7370 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073102.7499 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073102.7509 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073102.7524 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073102.7534 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f628020661f6ca6b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073102.7693 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073102.7717 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073102.7753 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073102.7759 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073102.7764 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073102.7769 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073102.7774 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073102.7813 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073102.7818 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f628020661f6ca6b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073102.8078 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073102.8100 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073102.8117 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073102.8135 65tj3dqi8b44movf6kp45h2aq1 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 ('aut661f628020661f6ca6b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',951,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073102.8484 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.8489 65tj3dqi8b44movf6kp45h2aq1 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240417@073102.8506 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240417@073102.8518 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.8535 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073102.8561 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.8608 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073102.8613 65tj3dqi8b44movf6kp45h2aq1 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240417@073102.8624 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073102.8635 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.8649 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073102.8674 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f614115661f6ca6d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f628020661f6ca6b3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073102.8930 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.8948 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073102.8955 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f614115661f6ca6d2','aut661f628020661f6ca6b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073102.8961 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.8977 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073102.9002 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.9014 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073102.9018 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073102.9028 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.9040 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073102.9063 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f681210661f6ca6dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f628020661f6ca6b3' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073102.9426 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.9444 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073102.9452 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f681210661f6ca6dc','aut661f628020661f6ca6b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073102.9457 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073102.9460 65tj3dqi8b44movf6kp45h2aq1 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240417@073102.9472 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240417@073102.9486 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.9499 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073102.9557 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.9571 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073102.9576 65tj3dqi8b44movf6kp45h2aq1 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240417@073102.9587 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073102.9598 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.9612 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073102.9638 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f615184661f6ca6ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f628020661f6ca6b3' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073102.9931 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073102.9948 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073102.9953 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f615184661f6ca6ea','aut661f628020661f6ca6b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073102.9959 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073102.9974 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073102.9998 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.4500 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073103.4900 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073103.5900 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.7300 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073103.9800 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f650018661f6ca701',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f628020661f6ca6b3' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073103.3710 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.3900 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073103.3950 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f650018661f6ca701','aut661f628020661f6ca6b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073103.4000 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073103.4030 65tj3dqi8b44movf6kp45h2aq1 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240417@073103.4210 65tj3dqi8b44movf6kp45h2aq1 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'
20240417@073103.6540 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.6700 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073103.6960 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.7110 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073103.7210 65tj3dqi8b44movf6kp45h2aq1 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240417@073103.7320 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073103.7440 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.7580 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073103.7920 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f675321661f6ca712',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f628020661f6ca6b3' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240417@073103.1149 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.1168 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073103.1173 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f675321661f6ca712','aut661f628020661f6ca6b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073103.1178 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.1191 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073103.1221 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.1236 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073103.1240 65tj3dqi8b44movf6kp45h2aq1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073103.1250 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.1262 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073103.1322 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f654760661f6ca71e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f628020661f6ca6b3' ,0,0 ,2,23.00,80000,?,?,?)
20240417@073103.1605 65tj3dqi8b44movf6kp45h2aq1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.1624 65tj3dqi8b44movf6kp45h2aq1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073103.1629 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f654760661f6ca71e','aut661f628020661f6ca6b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073103.1634 65tj3dqi8b44movf6kp45h2aq1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f628020661f6ca6b3','2402856','wait',39,'ari17112337378,753000005')
20240417@073103.1653 65tj3dqi8b44movf6kp45h2aq1 Query : use flama_phc
20240417@073103.1656 65tj3dqi8b44movf6kp45h2aq1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073103.1668 65tj3dqi8b44movf6kp45h2aq1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1213';
20240417@073103.1723 65tj3dqi8b44movf6kp45h2aq1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1213';
20240417@073103.1739 65tj3dqi8b44movf6kp45h2aq1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1213';
20240417@073103.1754 65tj3dqi8b44movf6kp45h2aq1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1213';
20240417@073103.2194 isvij5j9bglt6qo3egpgukle01 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073103.2212 isvij5j9bglt6qo3egpgukle01 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073103.2288 isvij5j9bglt6qo3egpgukle01 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1214';
20240417@073103.2582 isvij5j9bglt6qo3egpgukle01 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1214';
20240417@073103.2667 isvij5j9bglt6qo3egpgukle01 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1214';
20240417@073103.2716 isvij5j9bglt6qo3egpgukle01 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1214';
20240417@073103.2734 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.2738 isvij5j9bglt6qo3egpgukle01 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073103.2751 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.2754 isvij5j9bglt6qo3egpgukle01 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1453
20240417@073103.2850 isvij5j9bglt6qo3egpgukle01 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'
20240417@073103.2861 isvij5j9bglt6qo3egpgukle01 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402857 and bi.ref ='324.727.00.01' and bi.lordem =1
20240417@073103.3234 isvij5j9bglt6qo3egpgukle01 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20240417@073103.3414 isvij5j9bglt6qo3egpgukle01 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402857 and bi.ref ='324.1643.00.1' and bi.lordem =2
20240417@073103.4091 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.4096 isvij5j9bglt6qo3egpgukle01 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073103.4110 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.4115 isvij5j9bglt6qo3egpgukle01 Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073103.4127 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.4131 isvij5j9bglt6qo3egpgukle01 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073103.4144 isvij5j9bglt6qo3egpgukle01 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
20240417@073103.4162 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.4167 isvij5j9bglt6qo3egpgukle01 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073103.4178 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.4181 isvij5j9bglt6qo3egpgukle01 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073103.4192 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.4229 isvij5j9bglt6qo3egpgukle01 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073103.4240 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.4242 isvij5j9bglt6qo3egpgukle01 Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - batalha'
20240417@073103.4255 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.4258 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from td where ndoc = 39
20240417@073103.4268 isvij5j9bglt6qo3egpgukle01 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073103.4280 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073103.4294 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073103.4311 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073103.4338 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073103.4366 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073103.4432 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073103.5244 isvij5j9bglt6qo3egpgukle01 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073103.5339 isvij5j9bglt6qo3egpgukle01 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073103.5348 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073103.5362 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073103.5372 isvij5j9bglt6qo3egpgukle01 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f643969661f6ca780' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073103.5533 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073103.5549 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073103.5578 isvij5j9bglt6qo3egpgukle01 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073103.5583 isvij5j9bglt6qo3egpgukle01 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073103.5588 isvij5j9bglt6qo3egpgukle01 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073103.5592 isvij5j9bglt6qo3egpgukle01 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073103.5597 isvij5j9bglt6qo3egpgukle01 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073103.5601 isvij5j9bglt6qo3egpgukle01 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073103.5605 isvij5j9bglt6qo3egpgukle01 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f643969661f6ca780',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073103.5934 isvij5j9bglt6qo3egpgukle01 Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073103.5958 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073103.5987 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073103.6005 isvij5j9bglt6qo3egpgukle01 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 ('aut661f643969661f6ca780',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',952,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073103.6355 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.6369 isvij5j9bglt6qo3egpgukle01 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240417@073103.6383 isvij5j9bglt6qo3egpgukle01 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'
20240417@073103.6395 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.6466 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073103.7649 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.7664 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073103.7668 isvij5j9bglt6qo3egpgukle01 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240417@073103.7678 isvij5j9bglt6qo3egpgukle01 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073103.7690 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.7706 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073103.7731 isvij5j9bglt6qo3egpgukle01 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f609458661f6ca7bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f643969661f6ca780' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073103.8017 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.8035 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073103.8039 isvij5j9bglt6qo3egpgukle01 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f609458661f6ca7bb','aut661f643969661f6ca780' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073103.8045 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.8057 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073103.8098 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.8110 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073103.8115 isvij5j9bglt6qo3egpgukle01 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073103.8128 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.8140 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073103.8164 isvij5j9bglt6qo3egpgukle01 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f611997661f6ca7c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f643969661f6ca780' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073103.8468 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.8484 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073103.8489 isvij5j9bglt6qo3egpgukle01 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f611997661f6ca7c6','aut661f643969661f6ca780' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073103.8493 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.8497 isvij5j9bglt6qo3egpgukle01 Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20240417@073103.8524 isvij5j9bglt6qo3egpgukle01 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.1643.00.1'
20240417@073103.8732 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.8746 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073103.8768 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.8781 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073103.8785 isvij5j9bglt6qo3egpgukle01 Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20240417@073103.8803 isvij5j9bglt6qo3egpgukle01 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073103.8812 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073103.8840 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073103.8862 isvij5j9bglt6qo3egpgukle01 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f626916661f6ca7d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f643969661f6ca780' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073103.9163 isvij5j9bglt6qo3egpgukle01 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073103.9179 isvij5j9bglt6qo3egpgukle01 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073103.9183 isvij5j9bglt6qo3egpgukle01 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f626916661f6ca7d7','aut661f643969661f6ca780' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073103.9188 isvij5j9bglt6qo3egpgukle01 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f643969661f6ca780','2402857','wait',39,'ari17112337378,753000005')
20240417@073103.9204 isvij5j9bglt6qo3egpgukle01 Query : use flama_phc
20240417@073103.9207 isvij5j9bglt6qo3egpgukle01 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073103.9228 isvij5j9bglt6qo3egpgukle01 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1214';
20240417@073103.9249 isvij5j9bglt6qo3egpgukle01 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1214';
20240417@073103.9273 isvij5j9bglt6qo3egpgukle01 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1214';
20240417@073103.9288 isvij5j9bglt6qo3egpgukle01 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1214';
20240417@073103.9749 51189gnih4ppj8rh5qfbunbb6f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073103.9764 51189gnih4ppj8rh5qfbunbb6f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073103.9788 51189gnih4ppj8rh5qfbunbb6f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1215';
20240417@073103.9863 51189gnih4ppj8rh5qfbunbb6f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1215';
20240417@073103.9886 51189gnih4ppj8rh5qfbunbb6f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1215';
20240417@073103.9910 51189gnih4ppj8rh5qfbunbb6f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1215';
20240417@073103.9930 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073103.9934 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073103.9948 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073103.9951 51189gnih4ppj8rh5qfbunbb6f Query : select no, estab,szadrsdesc from szadrs where u_coddest=3080
20240417@073104.5600 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073104.6800 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402858 and bi.ref ='324.646.00.01' and bi.lordem =1
20240417@073104.4880 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073104.5010 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402858 and bi.ref ='324.646.00.01' and bi.lordem =2
20240417@073104.8540 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.8580 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073104.8810 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.8840 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073104.8950 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.8980 51189gnih4ppj8rh5qfbunbb6f Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073104.9090 51189gnih4ppj8rh5qfbunbb6f 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
20240417@073104.9360 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.9400 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073104.9510 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.9540 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073104.9650 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.9680 51189gnih4ppj8rh5qfbunbb6f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073104.1007 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.1010 51189gnih4ppj8rh5qfbunbb6f Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- barcelos entrega'
20240417@073104.1024 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.1027 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from td where ndoc = 39
20240417@073104.1036 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073104.1048 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073104.1062 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073104.1080 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073104.1092 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073104.1133 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073104.1147 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073104.1158 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073104.1278 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073104.1288 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073104.1302 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073104.1312 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f690751661f6ca81c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073104.1473 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073104.1499 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073104.1576 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073104.1581 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073104.1633 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073104.1696 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073104.1774 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073104.1833 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073104.1862 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f690751661f6ca81c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073104.2107 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073104.2128 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073104.2141 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073104.2158 51189gnih4ppj8rh5qfbunbb6f 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 ('aut661f690751661f6ca81c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',953,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073104.2477 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.2481 51189gnih4ppj8rh5qfbunbb6f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073104.2492 51189gnih4ppj8rh5qfbunbb6f 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.646.00.01'
20240417@073104.2503 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.2517 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073104.2552 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.2565 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073104.2569 51189gnih4ppj8rh5qfbunbb6f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073104.2580 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073104.2802 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.2916 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073104.2939 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f673815661f6ca844',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f690751661f6ca81c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073104.3192 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.3284 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073104.3289 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f673815661f6ca844','aut661f690751661f6ca81c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073104.3294 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.3307 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073104.3329 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.3342 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073104.3346 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073104.3355 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.3367 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073104.3389 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f675108661f6ca851',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f690751661f6ca81c' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073104.3654 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.3677 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073104.3681 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f675108661f6ca851','aut661f690751661f6ca81c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073104.3685 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.3688 51189gnih4ppj8rh5qfbunbb6f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073104.3699 51189gnih4ppj8rh5qfbunbb6f 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.646.00.01'
20240417@073104.3711 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.3724 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073104.3749 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.3761 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073104.3766 51189gnih4ppj8rh5qfbunbb6f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073104.3776 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073104.3816 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.3829 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073104.3852 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f630893661f6ca85d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f690751661f6ca81c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073104.4131 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.4156 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073104.4160 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f630893661f6ca85d','aut661f690751661f6ca81c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073104.4165 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.4178 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073104.4205 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.4217 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073104.4222 51189gnih4ppj8rh5qfbunbb6f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073104.4233 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.4247 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073104.4304 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f657623661f6ca867',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f690751661f6ca81c' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073104.4557 51189gnih4ppj8rh5qfbunbb6f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.4576 51189gnih4ppj8rh5qfbunbb6f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073104.4581 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f657623661f6ca867','aut661f690751661f6ca81c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073104.4586 51189gnih4ppj8rh5qfbunbb6f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f690751661f6ca81c','2402858','wait',39,'ari17112337378,753000005')
20240417@073104.4603 51189gnih4ppj8rh5qfbunbb6f Query : use flama_phc
20240417@073104.4607 51189gnih4ppj8rh5qfbunbb6f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073104.4628 51189gnih4ppj8rh5qfbunbb6f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1215';
20240417@073104.4650 51189gnih4ppj8rh5qfbunbb6f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1215';
20240417@073104.4671 51189gnih4ppj8rh5qfbunbb6f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1215';
20240417@073104.4704 51189gnih4ppj8rh5qfbunbb6f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1215';
20240417@073104.5153 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073104.5167 s05phg80ag9tbr0jnd4ahsemu6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073104.5191 s05phg80ag9tbr0jnd4ahsemu6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1216';
20240417@073104.5247 s05phg80ag9tbr0jnd4ahsemu6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1216';
20240417@073104.5266 s05phg80ag9tbr0jnd4ahsemu6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1216';
20240417@073104.5313 s05phg80ag9tbr0jnd4ahsemu6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1216';
20240417@073104.5330 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.5334 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073104.5348 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.5353 s05phg80ag9tbr0jnd4ahsemu6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1474
20240417@073104.5439 s05phg80ag9tbr0jnd4ahsemu6 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'
20240417@073104.5451 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402859 and bi.ref ='324.727.00.01' and bi.lordem =1
20240417@073104.5824 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073104.5838 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402859 and bi.ref ='324.646.00.01' and bi.lordem =2
20240417@073104.6205 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073104.6219 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402859 and bi.ref ='324.646.00.01' and bi.lordem =3
20240417@073104.6645 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.6649 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073104.6664 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.6667 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073104.6678 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.6682 s05phg80ag9tbr0jnd4ahsemu6 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073104.6706 s05phg80ag9tbr0jnd4ahsemu6 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
20240417@073104.6725 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.6729 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073104.6740 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.6766 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073104.6805 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.6809 s05phg80ag9tbr0jnd4ahsemu6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073104.6821 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.6824 s05phg80ag9tbr0jnd4ahsemu6 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - corroios'
20240417@073104.6839 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.6842 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from td where ndoc = 39
20240417@073104.6853 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073104.6867 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073104.6882 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073104.6900 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073104.6925 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073104.6959 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073104.6974 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073104.6986 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073104.7108 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073104.7119 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073104.7135 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073104.7146 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f683872661f6ca8aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073104.7300 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073104.7325 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073104.7360 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073104.7366 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073104.7372 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073104.7378 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073104.7384 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073104.7414 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073104.7419 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f683872661f6ca8aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073104.7688 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073104.7719 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073104.7734 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073104.7756 s05phg80ag9tbr0jnd4ahsemu6 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 ('aut661f683872661f6ca8aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',954,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073104.8090 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.8095 s05phg80ag9tbr0jnd4ahsemu6 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240417@073104.8122 s05phg80ag9tbr0jnd4ahsemu6 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'
20240417@073104.8136 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.8154 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073104.8180 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.8224 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073104.8229 s05phg80ag9tbr0jnd4ahsemu6 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240417@073104.8241 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073104.8252 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.8267 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073104.8296 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f620733661f6ca8c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f683872661f6ca8aa' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073104.8550 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.8574 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073104.8579 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f620733661f6ca8c9','aut661f683872661f6ca8aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073104.8584 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.8599 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073104.8626 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.8640 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073104.8645 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073104.8656 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.8672 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073104.8696 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f601505661f6ca8d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f683872661f6ca8aa' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073104.8993 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.9011 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073104.9017 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f601505661f6ca8d3','aut661f683872661f6ca8aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073104.9022 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073104.9025 s05phg80ag9tbr0jnd4ahsemu6 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073104.9038 s05phg80ag9tbr0jnd4ahsemu6 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.646.00.01'
20240417@073104.9062 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.9076 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073104.9105 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.9151 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073104.9156 s05phg80ag9tbr0jnd4ahsemu6 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073104.9167 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073104.9178 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.9193 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073104.9243 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f612918661f6ca8e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f683872661f6ca8aa' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073104.9513 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.9531 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073104.9537 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f612918661f6ca8e0','aut661f683872661f6ca8aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073104.9543 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.9557 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073104.9628 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073104.9643 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073104.9649 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073104.9696 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073104.9721 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073104.9749 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f687427661f6ca8ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f683872661f6ca8aa' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073105.5500 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.8100 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073105.8500 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f687427661f6ca8ec','aut661f683872661f6ca8aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073105.9000 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073105.9300 s05phg80ag9tbr0jnd4ahsemu6 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073105.1050 s05phg80ag9tbr0jnd4ahsemu6 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.646.00.01'
20240417@073105.1170 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.1300 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073105.2040 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.2200 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073105.2240 s05phg80ag9tbr0jnd4ahsemu6 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073105.2340 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073105.2460 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.2590 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073105.3150 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f675339661f6ca905',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f683872661f6ca8aa' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240417@073105.5850 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.6020 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073105.6070 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f675339661f6ca905','aut661f683872661f6ca8aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073105.6120 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.6380 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073105.6690 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.6860 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073105.6910 s05phg80ag9tbr0jnd4ahsemu6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073105.7030 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.7170 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073105.7470 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f634134661f6ca911',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f683872661f6ca8aa' ,0,0 ,2,23.00,80000,?,?,?)
20240417@073105.1114 s05phg80ag9tbr0jnd4ahsemu6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.1131 s05phg80ag9tbr0jnd4ahsemu6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073105.1136 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f634134661f6ca911','aut661f683872661f6ca8aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073105.1141 s05phg80ag9tbr0jnd4ahsemu6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f683872661f6ca8aa','2402859','wait',39,'ari17112337378,753000005')
20240417@073105.1169 s05phg80ag9tbr0jnd4ahsemu6 Query : use flama_phc
20240417@073105.1175 s05phg80ag9tbr0jnd4ahsemu6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073105.1187 s05phg80ag9tbr0jnd4ahsemu6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1216';
20240417@073105.1209 s05phg80ag9tbr0jnd4ahsemu6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1216';
20240417@073105.1225 s05phg80ag9tbr0jnd4ahsemu6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1216';
20240417@073105.1239 s05phg80ag9tbr0jnd4ahsemu6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1216';
20240417@073105.1895 irkg52vij32mbvjbova4o00vic Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073105.1919 irkg52vij32mbvjbova4o00vic Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073105.1942 irkg52vij32mbvjbova4o00vic Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1217';
20240417@073105.1987 irkg52vij32mbvjbova4o00vic Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1217';
20240417@073105.2005 irkg52vij32mbvjbova4o00vic Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1217';
20240417@073105.2020 irkg52vij32mbvjbova4o00vic Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1217';
20240417@073105.2034 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.2038 irkg52vij32mbvjbova4o00vic Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073105.2051 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.2055 irkg52vij32mbvjbova4o00vic Query : select no, estab,szadrsdesc from szadrs where u_coddest=6855
20240417@073105.2194 irkg52vij32mbvjbova4o00vic Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073105.2205 irkg52vij32mbvjbova4o00vic Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402860 and bi.ref ='324.646.00.01' and bi.lordem =1
20240417@073105.2562 irkg52vij32mbvjbova4o00vic Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073105.2579 irkg52vij32mbvjbova4o00vic Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402860 and bi.ref ='324.646.00.01' and bi.lordem =2
20240417@073105.2968 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.2973 irkg52vij32mbvjbova4o00vic Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073105.2987 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.2991 irkg52vij32mbvjbova4o00vic Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073105.3003 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.3006 irkg52vij32mbvjbova4o00vic Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073105.3019 irkg52vij32mbvjbova4o00vic 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
20240417@073105.3416 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.3609 irkg52vij32mbvjbova4o00vic Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073105.4840 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.5056 irkg52vij32mbvjbova4o00vic Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073105.5438 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.5442 irkg52vij32mbvjbova4o00vic Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073105.5454 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.5457 irkg52vij32mbvjbova4o00vic Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - montijo nova'
20240417@073105.5471 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.5474 irkg52vij32mbvjbova4o00vic Query : select 1 valor from td where ndoc = 39
20240417@073105.5484 irkg52vij32mbvjbova4o00vic Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073105.5497 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073105.5511 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073105.5530 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073105.5543 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073105.5610 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073105.5624 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073105.5635 irkg52vij32mbvjbova4o00vic Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073105.5723 irkg52vij32mbvjbova4o00vic Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073105.5733 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073105.5748 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073105.5758 irkg52vij32mbvjbova4o00vic Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f628635661f6ca989' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073105.5912 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073105.5936 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073105.5970 irkg52vij32mbvjbova4o00vic Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073105.5975 irkg52vij32mbvjbova4o00vic Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073105.5981 irkg52vij32mbvjbova4o00vic Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073105.5986 irkg52vij32mbvjbova4o00vic Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073105.6026 irkg52vij32mbvjbova4o00vic Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073105.6031 irkg52vij32mbvjbova4o00vic Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073105.6036 irkg52vij32mbvjbova4o00vic Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f628635661f6ca989',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073105.6293 irkg52vij32mbvjbova4o00vic Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073105.6322 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073105.6338 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073105.7537 irkg52vij32mbvjbova4o00vic 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 ('aut661f628635661f6ca989',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',955,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073105.7874 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.7879 irkg52vij32mbvjbova4o00vic Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073105.7890 irkg52vij32mbvjbova4o00vic 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.646.00.01'
20240417@073105.7902 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.7916 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073105.7943 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.7957 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073105.7961 irkg52vij32mbvjbova4o00vic Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073105.7971 irkg52vij32mbvjbova4o00vic Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073105.7981 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.7993 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073105.8032 irkg52vij32mbvjbova4o00vic Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f642990661f6ca9c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f628635661f6ca989' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073105.8311 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.8370 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073105.8375 irkg52vij32mbvjbova4o00vic Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f642990661f6ca9c2','aut661f628635661f6ca989' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073105.8381 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.8396 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073105.8419 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.8433 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073105.8437 irkg52vij32mbvjbova4o00vic Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073105.8448 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.8461 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073105.8487 irkg52vij32mbvjbova4o00vic Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f616934661f6ca9ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f628635661f6ca989' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073105.8812 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.8830 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073105.8834 irkg52vij32mbvjbova4o00vic Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f616934661f6ca9ce','aut661f628635661f6ca989' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073105.8839 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.8843 irkg52vij32mbvjbova4o00vic Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073105.8853 irkg52vij32mbvjbova4o00vic 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.646.00.01'
20240417@073105.8866 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.8880 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073105.8903 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.8929 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073105.8934 irkg52vij32mbvjbova4o00vic Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073105.8944 irkg52vij32mbvjbova4o00vic Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073105.8958 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.8973 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073105.8997 irkg52vij32mbvjbova4o00vic Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f658690661f6ca9da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f628635661f6ca989' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073105.9304 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.9321 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073105.9326 irkg52vij32mbvjbova4o00vic Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f658690661f6ca9da','aut661f628635661f6ca989' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073105.9331 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.9357 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073105.9385 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.9397 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073105.9401 irkg52vij32mbvjbova4o00vic Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073105.9412 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073105.9466 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073105.9489 irkg52vij32mbvjbova4o00vic Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f642858661f6ca9e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f628635661f6ca989' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073105.9759 irkg52vij32mbvjbova4o00vic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073105.9784 irkg52vij32mbvjbova4o00vic Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073105.9789 irkg52vij32mbvjbova4o00vic Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f642858661f6ca9e5','aut661f628635661f6ca989' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073105.9793 irkg52vij32mbvjbova4o00vic Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f628635661f6ca989','2402860','wait',39,'ari17112337378,753000005')
20240417@073105.9811 irkg52vij32mbvjbova4o00vic Query : use flama_phc
20240417@073105.9813 irkg52vij32mbvjbova4o00vic Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073105.9825 irkg52vij32mbvjbova4o00vic Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1217';
20240417@073105.9894 irkg52vij32mbvjbova4o00vic Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1217';
20240417@073105.9914 irkg52vij32mbvjbova4o00vic Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1217';
20240417@073105.9932 irkg52vij32mbvjbova4o00vic Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1217';
20240417@073106.4060 iegm13jp38vuoidon7u836trit Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073106.4250 iegm13jp38vuoidon7u836trit Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073106.4490 iegm13jp38vuoidon7u836trit Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1218';
20240417@073106.4950 iegm13jp38vuoidon7u836trit Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1218';
20240417@073106.5130 iegm13jp38vuoidon7u836trit Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1218';
20240417@073106.5390 iegm13jp38vuoidon7u836trit Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1218';
20240417@073106.5540 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.5570 iegm13jp38vuoidon7u836trit Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073106.5730 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.5760 iegm13jp38vuoidon7u836trit Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20240417@073106.6690 iegm13jp38vuoidon7u836trit Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073106.6800 iegm13jp38vuoidon7u836trit Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402861 and bi.ref ='324.646.00.01' and bi.lordem =1
20240417@073106.1113 iegm13jp38vuoidon7u836trit Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073106.1125 iegm13jp38vuoidon7u836trit Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402861 and bi.ref ='324.646.00.01' and bi.lordem =2
20240417@073106.1489 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.1493 iegm13jp38vuoidon7u836trit Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073106.1506 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.1509 iegm13jp38vuoidon7u836trit Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073106.1522 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.1525 iegm13jp38vuoidon7u836trit Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073106.1535 iegm13jp38vuoidon7u836trit 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
20240417@073106.1549 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.1552 iegm13jp38vuoidon7u836trit Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073106.1562 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.1565 iegm13jp38vuoidon7u836trit Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073106.1575 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.1578 iegm13jp38vuoidon7u836trit Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073106.1588 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.1591 iegm13jp38vuoidon7u836trit Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20240417@073106.1604 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.1607 iegm13jp38vuoidon7u836trit Query : select 1 valor from td where ndoc = 39
20240417@073106.1623 iegm13jp38vuoidon7u836trit Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073106.1636 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073106.1651 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073106.1711 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073106.1725 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073106.1751 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073106.1765 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073106.1775 iegm13jp38vuoidon7u836trit Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073106.1874 iegm13jp38vuoidon7u836trit Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073106.1884 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073106.1902 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073106.1912 iegm13jp38vuoidon7u836trit Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f670534661f6caa2b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073106.2110 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073106.2127 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073106.2167 iegm13jp38vuoidon7u836trit Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073106.2172 iegm13jp38vuoidon7u836trit Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073106.2177 iegm13jp38vuoidon7u836trit Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073106.2182 iegm13jp38vuoidon7u836trit Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073106.2186 iegm13jp38vuoidon7u836trit Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073106.2191 iegm13jp38vuoidon7u836trit Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073106.2195 iegm13jp38vuoidon7u836trit Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f670534661f6caa2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073106.2454 iegm13jp38vuoidon7u836trit Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073106.2474 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073106.2489 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073106.2753 iegm13jp38vuoidon7u836trit 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 ('aut661f670534661f6caa2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',956,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073106.3059 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.3065 iegm13jp38vuoidon7u836trit Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073106.3078 iegm13jp38vuoidon7u836trit 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.646.00.01'
20240417@073106.3090 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.3189 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073106.3213 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.3230 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073106.3234 iegm13jp38vuoidon7u836trit Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073106.3245 iegm13jp38vuoidon7u836trit Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073106.3298 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.3311 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073106.3334 iegm13jp38vuoidon7u836trit Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f683812661f6caa50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f670534661f6caa2b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073106.3590 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.3609 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073106.3613 iegm13jp38vuoidon7u836trit Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f683812661f6caa50','aut661f670534661f6caa2b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073106.3619 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.3633 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073106.3657 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.3673 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073106.3677 iegm13jp38vuoidon7u836trit Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073106.3688 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.3701 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073106.3727 iegm13jp38vuoidon7u836trit Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f648633661f6caa5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f670534661f6caa2b' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073106.4025 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.4040 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073106.4045 iegm13jp38vuoidon7u836trit Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f648633661f6caa5a','aut661f670534661f6caa2b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073106.4049 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.4053 iegm13jp38vuoidon7u836trit Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073106.4070 iegm13jp38vuoidon7u836trit 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.646.00.01'
20240417@073106.4082 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.4097 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073106.4122 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.4136 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073106.4140 iegm13jp38vuoidon7u836trit Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073106.4191 iegm13jp38vuoidon7u836trit Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073106.4201 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.4214 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073106.4236 iegm13jp38vuoidon7u836trit Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f641348661f6caa66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f670534661f6caa2b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073106.4494 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.4512 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073106.4518 iegm13jp38vuoidon7u836trit Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f641348661f6caa66','aut661f670534661f6caa2b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073106.4523 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.4538 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073106.4561 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.4615 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073106.4621 iegm13jp38vuoidon7u836trit Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073106.4631 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.4644 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073106.4666 iegm13jp38vuoidon7u836trit Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f680301661f6caa71',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f670534661f6caa2b' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073106.4938 iegm13jp38vuoidon7u836trit Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.4955 iegm13jp38vuoidon7u836trit Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073106.4959 iegm13jp38vuoidon7u836trit Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f680301661f6caa71','aut661f670534661f6caa2b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073106.4964 iegm13jp38vuoidon7u836trit Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f670534661f6caa2b','2402861','wait',39,'ari17112337378,753000005')
20240417@073106.4982 iegm13jp38vuoidon7u836trit Query : use flama_phc
20240417@073106.4985 iegm13jp38vuoidon7u836trit Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073106.5001 iegm13jp38vuoidon7u836trit Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1218';
20240417@073106.5057 iegm13jp38vuoidon7u836trit Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1218';
20240417@073106.5074 iegm13jp38vuoidon7u836trit Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1218';
20240417@073106.5088 iegm13jp38vuoidon7u836trit Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1218';
20240417@073106.5563 mbuf27kvnap4aor1ougsqje8lh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073106.5580 mbuf27kvnap4aor1ougsqje8lh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073106.5602 mbuf27kvnap4aor1ougsqje8lh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1219';
20240417@073106.5646 mbuf27kvnap4aor1ougsqje8lh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1219';
20240417@073106.5663 mbuf27kvnap4aor1ougsqje8lh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1219';
20240417@073106.5678 mbuf27kvnap4aor1ougsqje8lh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1219';
20240417@073106.5698 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.5704 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073106.5716 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.5719 mbuf27kvnap4aor1ougsqje8lh Query : select no, estab,szadrsdesc from szadrs where u_coddest=2374
20240417@073106.5809 mbuf27kvnap4aor1ougsqje8lh 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'
20240417@073106.5820 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402862 and bi.ref ='324.727.00.01' and bi.lordem =1
20240417@073106.6203 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073106.6215 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402862 and bi.ref ='324.646.00.01' and bi.lordem =2
20240417@073106.6572 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073106.6583 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402862 and bi.ref ='324.646.00.01' and bi.lordem =3
20240417@073106.7003 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.7009 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073106.7024 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.7028 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073106.7038 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.7041 mbuf27kvnap4aor1ougsqje8lh Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073106.7052 mbuf27kvnap4aor1ougsqje8lh 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
20240417@073106.7109 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.7112 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073106.7123 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.7126 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073106.7136 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.7139 mbuf27kvnap4aor1ougsqje8lh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073106.7150 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.7152 mbuf27kvnap4aor1ougsqje8lh Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - vila real'
20240417@073106.7166 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.7168 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from td where ndoc = 39
20240417@073106.7178 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073106.7189 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073106.7204 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073106.7232 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073106.7246 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073106.7277 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073106.7290 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073106.7300 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073106.7434 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073106.7444 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073106.7458 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073106.7468 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f659278661f6caab2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073106.7623 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073106.7650 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073106.7684 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073106.7689 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073106.7693 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073106.7698 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073106.7705 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073106.7709 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073106.7714 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f659278661f6caab2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073106.8006 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073106.8027 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073106.8054 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073106.8073 mbuf27kvnap4aor1ougsqje8lh 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 ('aut661f659278661f6caab2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',957,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073106.8414 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.8454 mbuf27kvnap4aor1ougsqje8lh Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240417@073106.8467 mbuf27kvnap4aor1ougsqje8lh 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'
20240417@073106.8478 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.8492 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073106.8515 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.8527 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073106.8532 mbuf27kvnap4aor1ougsqje8lh Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240417@073106.8542 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073106.8552 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.8565 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073106.8589 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f608316661f6caad0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut661f659278661f6caab2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073106.8853 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.8879 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073106.8883 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f608316661f6caad0','aut661f659278661f6caab2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073106.8889 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.8902 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073106.8929 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.8941 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073106.8945 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073106.8958 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.8972 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073106.9042 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f652752661f6caada',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f659278661f6caab2' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073106.9333 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.9348 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073106.9353 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f652752661f6caada','aut661f659278661f6caab2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073106.9358 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073106.9361 mbuf27kvnap4aor1ougsqje8lh Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073106.9371 mbuf27kvnap4aor1ougsqje8lh 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.646.00.01'
20240417@073106.9382 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.9410 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073106.9437 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073106.9450 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073106.9454 mbuf27kvnap4aor1ougsqje8lh Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073106.9465 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073106.9475 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073106.9530 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073106.9839 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f616155661f6caae7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f659278661f6caab2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073107.2360 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.2530 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073107.2580 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f616155661f6caae7','aut661f659278661f6caab2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073107.2640 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.2920 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073107.3470 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.3640 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073107.3690 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073107.4220 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.4370 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073107.4610 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f664967661f6cab0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f659278661f6caab2' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073107.7300 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.7550 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073107.7600 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f664967661f6cab0a','aut661f659278661f6caab2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073107.7660 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073107.7700 mbuf27kvnap4aor1ougsqje8lh Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073107.7840 mbuf27kvnap4aor1ougsqje8lh 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.646.00.01'
20240417@073107.7980 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.8120 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073107.8390 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.8960 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073107.9010 mbuf27kvnap4aor1ougsqje8lh Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073107.9120 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073107.9230 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.9370 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073107.9620 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f602351661f6cab16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f659278661f6caab2' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240417@073107.1218 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.1246 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073107.1251 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f602351661f6cab16','aut661f659278661f6caab2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073107.1256 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.1270 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073107.1299 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.1317 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073107.1323 mbuf27kvnap4aor1ougsqje8lh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073107.1374 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.1388 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073107.1415 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f697577661f6cab21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f659278661f6caab2' ,0,0 ,2,23.00,80000,?,?,?)
20240417@073107.1694 mbuf27kvnap4aor1ougsqje8lh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.1731 mbuf27kvnap4aor1ougsqje8lh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073107.1738 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f697577661f6cab21','aut661f659278661f6caab2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073107.1745 mbuf27kvnap4aor1ougsqje8lh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f659278661f6caab2','2402862','wait',39,'ari17112337378,753000005')
20240417@073107.1768 mbuf27kvnap4aor1ougsqje8lh Query : use flama_phc
20240417@073107.1771 mbuf27kvnap4aor1ougsqje8lh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073107.1785 mbuf27kvnap4aor1ougsqje8lh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1219';
20240417@073107.1849 mbuf27kvnap4aor1ougsqje8lh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1219';
20240417@073107.1867 mbuf27kvnap4aor1ougsqje8lh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1219';
20240417@073107.1897 mbuf27kvnap4aor1ougsqje8lh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1219';
20240417@073107.2321 61v4hh3i81tupibec5avt2fftb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073107.2338 61v4hh3i81tupibec5avt2fftb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073107.2387 61v4hh3i81tupibec5avt2fftb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1220';
20240417@073107.2453 61v4hh3i81tupibec5avt2fftb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1220';
20240417@073107.2472 61v4hh3i81tupibec5avt2fftb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1220';
20240417@073107.2488 61v4hh3i81tupibec5avt2fftb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1220';
20240417@073107.2502 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.2506 61v4hh3i81tupibec5avt2fftb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073107.2521 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.2524 61v4hh3i81tupibec5avt2fftb Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20240417@073107.2620 61v4hh3i81tupibec5avt2fftb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073107.2632 61v4hh3i81tupibec5avt2fftb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402863 and bi.ref ='324.646.00.01' and bi.lordem =1
20240417@073107.3033 61v4hh3i81tupibec5avt2fftb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073107.3046 61v4hh3i81tupibec5avt2fftb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402863 and bi.ref ='324.646.00.01' and bi.lordem =2
20240417@073107.3417 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.3422 61v4hh3i81tupibec5avt2fftb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073107.3436 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.3439 61v4hh3i81tupibec5avt2fftb Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073107.3452 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.3455 61v4hh3i81tupibec5avt2fftb Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073107.3467 61v4hh3i81tupibec5avt2fftb 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
20240417@073107.3485 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.3489 61v4hh3i81tupibec5avt2fftb Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073107.3531 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.3535 61v4hh3i81tupibec5avt2fftb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073107.3547 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.3550 61v4hh3i81tupibec5avt2fftb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073107.3562 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.3565 61v4hh3i81tupibec5avt2fftb Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20240417@073107.3580 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.3583 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from td where ndoc = 39
20240417@073107.3594 61v4hh3i81tupibec5avt2fftb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073107.3607 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073107.3623 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073107.3642 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073107.3658 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073107.3694 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073107.3708 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073107.3720 61v4hh3i81tupibec5avt2fftb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073107.3847 61v4hh3i81tupibec5avt2fftb Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073107.3858 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073107.3873 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073107.3884 61v4hh3i81tupibec5avt2fftb Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f649556661f6cab5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073107.4044 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073107.4064 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073107.4100 61v4hh3i81tupibec5avt2fftb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073107.4106 61v4hh3i81tupibec5avt2fftb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073107.4112 61v4hh3i81tupibec5avt2fftb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073107.4117 61v4hh3i81tupibec5avt2fftb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073107.4122 61v4hh3i81tupibec5avt2fftb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073107.4184 61v4hh3i81tupibec5avt2fftb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073107.4190 61v4hh3i81tupibec5avt2fftb Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f649556661f6cab5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073107.4439 61v4hh3i81tupibec5avt2fftb Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073107.4462 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073107.4480 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073107.4501 61v4hh3i81tupibec5avt2fftb 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 ('aut661f649556661f6cab5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',958,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073107.4823 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.4827 61v4hh3i81tupibec5avt2fftb Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073107.4840 61v4hh3i81tupibec5avt2fftb 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.646.00.01'
20240417@073107.4854 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.4874 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073107.4902 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.4917 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073107.4922 61v4hh3i81tupibec5avt2fftb Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073107.4932 61v4hh3i81tupibec5avt2fftb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073107.4943 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.4957 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073107.4984 61v4hh3i81tupibec5avt2fftb Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f657265661f6cab78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f649556661f6cab5a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073107.5277 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.5294 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073107.5299 61v4hh3i81tupibec5avt2fftb Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f657265661f6cab78','aut661f649556661f6cab5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073107.5304 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.5318 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073107.5411 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.5427 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073107.5434 61v4hh3i81tupibec5avt2fftb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073107.5444 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.5458 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073107.5486 61v4hh3i81tupibec5avt2fftb Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f669844661f6cab84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f649556661f6cab5a' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073107.5735 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.5753 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073107.5758 61v4hh3i81tupibec5avt2fftb Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f669844661f6cab84','aut661f649556661f6cab5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073107.5762 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.5766 61v4hh3i81tupibec5avt2fftb Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073107.5778 61v4hh3i81tupibec5avt2fftb 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.646.00.01'
20240417@073107.5818 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.5831 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073107.5858 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.5872 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073107.5876 61v4hh3i81tupibec5avt2fftb Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073107.5887 61v4hh3i81tupibec5avt2fftb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073107.5898 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.5910 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073107.5936 61v4hh3i81tupibec5avt2fftb Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f656467661f6cab8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f649556661f6cab5a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073107.6220 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.6238 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073107.6244 61v4hh3i81tupibec5avt2fftb Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f656467661f6cab8f','aut661f649556661f6cab5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073107.6250 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.6309 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073107.6335 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.6349 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073107.6354 61v4hh3i81tupibec5avt2fftb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073107.6369 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073107.6382 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073107.6408 61v4hh3i81tupibec5avt2fftb Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f619607661f6cab9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f649556661f6cab5a' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073107.6687 61v4hh3i81tupibec5avt2fftb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073107.6714 61v4hh3i81tupibec5avt2fftb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073107.6719 61v4hh3i81tupibec5avt2fftb Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f619607661f6cab9b','aut661f649556661f6cab5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073107.6723 61v4hh3i81tupibec5avt2fftb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f649556661f6cab5a','2402863','wait',39,'ari17112337378,753000005')
20240417@073107.6742 61v4hh3i81tupibec5avt2fftb Query : use flama_phc
20240417@073107.6745 61v4hh3i81tupibec5avt2fftb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073107.6836 61v4hh3i81tupibec5avt2fftb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1220';
20240417@073107.7074 61v4hh3i81tupibec5avt2fftb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1220';
20240417@073107.7137 61v4hh3i81tupibec5avt2fftb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1220';
20240417@073107.7156 61v4hh3i81tupibec5avt2fftb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1220';
20240417@073107.7599 buinb7hjdojs9illlss54740g7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073107.7612 buinb7hjdojs9illlss54740g7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073107.7634 buinb7hjdojs9illlss54740g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1221';
20240417@073107.7678 buinb7hjdojs9illlss54740g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1221';
20240417@073107.7696 buinb7hjdojs9illlss54740g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1221';
20240417@073107.7713 buinb7hjdojs9illlss54740g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1221';
20240417@073107.7730 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.7733 buinb7hjdojs9illlss54740g7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073107.7746 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.7751 buinb7hjdojs9illlss54740g7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3145
20240417@073107.7875 buinb7hjdojs9illlss54740g7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073107.7885 buinb7hjdojs9illlss54740g7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402864 and bi.ref ='324.646.00.01' and bi.lordem =1
20240417@073107.8229 buinb7hjdojs9illlss54740g7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073107.8243 buinb7hjdojs9illlss54740g7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402864 and bi.ref ='324.646.00.01' and bi.lordem =2
20240417@073107.8621 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.8625 buinb7hjdojs9illlss54740g7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073107.8639 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.8642 buinb7hjdojs9illlss54740g7 Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073107.8651 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.8654 buinb7hjdojs9illlss54740g7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073107.8665 buinb7hjdojs9illlss54740g7 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
20240417@073107.8679 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.8682 buinb7hjdojs9illlss54740g7 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073107.8692 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.8703 buinb7hjdojs9illlss54740g7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073107.8715 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.8718 buinb7hjdojs9illlss54740g7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073107.8729 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.8732 buinb7hjdojs9illlss54740g7 Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - caldas da rainha'
20240417@073107.8745 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073107.8747 buinb7hjdojs9illlss54740g7 Query : select 1 valor from td where ndoc = 39
20240417@073107.9052 buinb7hjdojs9illlss54740g7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073108.7800 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073108.9500 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073108.1200 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073108.1340 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073108.1670 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073108.1820 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073108.1940 buinb7hjdojs9illlss54740g7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073108.3300 buinb7hjdojs9illlss54740g7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073108.3400 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073108.3540 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073108.3630 buinb7hjdojs9illlss54740g7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f673684661f6cac04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073108.5130 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073108.5280 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073108.5670 buinb7hjdojs9illlss54740g7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073108.5720 buinb7hjdojs9illlss54740g7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073108.5770 buinb7hjdojs9illlss54740g7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073108.5810 buinb7hjdojs9illlss54740g7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073108.5860 buinb7hjdojs9illlss54740g7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073108.5900 buinb7hjdojs9illlss54740g7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073108.5950 buinb7hjdojs9illlss54740g7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f673684661f6cac04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073108.8770 buinb7hjdojs9illlss54740g7 Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073108.8960 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073108.9090 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073108.9280 buinb7hjdojs9illlss54740g7 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 ('aut661f673684661f6cac04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',959,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073108.1201 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073108.1210 buinb7hjdojs9illlss54740g7 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073108.1224 buinb7hjdojs9illlss54740g7 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.646.00.01'
20240417@073108.1235 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.1251 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073108.1275 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.1288 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073108.1293 buinb7hjdojs9illlss54740g7 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073108.1303 buinb7hjdojs9illlss54740g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073108.1312 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.1326 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073108.1349 buinb7hjdojs9illlss54740g7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f662322661f6cac20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f673684661f6cac04' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073108.1637 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.1652 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073108.1657 buinb7hjdojs9illlss54740g7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f662322661f6cac20','aut661f673684661f6cac04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073108.1662 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.1676 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073108.1711 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.1727 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073108.1732 buinb7hjdojs9illlss54740g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073108.1742 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.1755 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073108.1813 buinb7hjdojs9illlss54740g7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f653089661f6cac2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f673684661f6cac04' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073108.2050 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.2074 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073108.2078 buinb7hjdojs9illlss54740g7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f653089661f6cac2a','aut661f673684661f6cac04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073108.2083 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073108.2086 buinb7hjdojs9illlss54740g7 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073108.2097 buinb7hjdojs9illlss54740g7 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.646.00.01'
20240417@073108.2108 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.2122 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073108.2145 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.2157 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073108.2162 buinb7hjdojs9illlss54740g7 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073108.2172 buinb7hjdojs9illlss54740g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073108.2183 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.2196 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073108.2260 buinb7hjdojs9illlss54740g7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f696541661f6cac35',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f673684661f6cac04' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073108.2501 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.2525 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073108.2529 buinb7hjdojs9illlss54740g7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f696541661f6cac35','aut661f673684661f6cac04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073108.2534 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.2552 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073108.2642 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.2657 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073108.2661 buinb7hjdojs9illlss54740g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073108.2672 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.2685 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073108.2712 buinb7hjdojs9illlss54740g7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f685351661f6cac41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f673684661f6cac04' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073108.2955 buinb7hjdojs9illlss54740g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.2978 buinb7hjdojs9illlss54740g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073108.2982 buinb7hjdojs9illlss54740g7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f685351661f6cac41','aut661f673684661f6cac04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073108.2987 buinb7hjdojs9illlss54740g7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f673684661f6cac04','2402864','wait',39,'ari17112337378,753000005')
20240417@073108.3003 buinb7hjdojs9illlss54740g7 Query : use flama_phc
20240417@073108.3006 buinb7hjdojs9illlss54740g7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073108.3017 buinb7hjdojs9illlss54740g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1221';
20240417@073108.3073 buinb7hjdojs9illlss54740g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1221';
20240417@073108.3089 buinb7hjdojs9illlss54740g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1221';
20240417@073108.3103 buinb7hjdojs9illlss54740g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1221';
20240417@073108.3509 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240417@073108.3544 0avvcbjnmfjq54rb2ms1v0skj4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240417@073108.3565 0avvcbjnmfjq54rb2ms1v0skj4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1222';
20240417@073108.3606 0avvcbjnmfjq54rb2ms1v0skj4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1222';
20240417@073108.3623 0avvcbjnmfjq54rb2ms1v0skj4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1222';
20240417@073108.3637 0avvcbjnmfjq54rb2ms1v0skj4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1222';
20240417@073108.3651 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.3654 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@073108.3679 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.3682 0avvcbjnmfjq54rb2ms1v0skj4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=68
20240417@073108.3769 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073108.3809 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402865 and bi.ref ='324.646.00.01' and bi.lordem =1
20240417@073108.4161 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240417@073108.4175 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402865 and bi.ref ='324.646.00.01' and bi.lordem =2
20240417@073108.4676 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.4841 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240417@073108.4855 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.4858 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 1 valor from td where td.ndoc = 39
20240417@073108.4869 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.4872 0avvcbjnmfjq54rb2ms1v0skj4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@073108.4883 0avvcbjnmfjq54rb2ms1v0skj4 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
20240417@073108.4897 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.4900 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240417@073108.4909 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.4915 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240417@073108.4926 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.4929 0avvcbjnmfjq54rb2ms1v0skj4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@073108.4939 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.4942 0avvcbjnmfjq54rb2ms1v0skj4 Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom'
20240417@073108.4954 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.4957 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from td where ndoc = 39
20240417@073108.4969 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240417@073108.5014 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073108.5029 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240417@073108.5045 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073108.5058 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240417@073108.5096 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073108.5110 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240417@073108.5122 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073108.5239 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240417@073108.5249 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240417@073108.5263 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240417@073108.5273 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut661f656577661f6cac7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240417@073108.5681 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240417@073108.5756 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240417@073108.5788 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240417@073108.5793 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240417@073108.5798 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240417@073108.5802 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240417@073108.5807 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240417@073108.5845 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240417@073108.5849 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut661f656577661f6cac7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240417@073108.6108 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 fno valor from wsft039data order by fno desc
20240417@073108.6140 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240417@073108.6184 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240417@073108.6203 0avvcbjnmfjq54rb2ms1v0skj4 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 ('aut661f656577661f6cac7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',960,101621,0,'2024-04-17',39,'euro',0,0,2024 ,'20240417','0801',?,?,?,?)
20240417@073108.6523 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.6527 0avvcbjnmfjq54rb2ms1v0skj4 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073108.6539 0avvcbjnmfjq54rb2ms1v0skj4 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.646.00.01'
20240417@073108.6550 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.6563 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073108.6600 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.6612 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073108.6617 0avvcbjnmfjq54rb2ms1v0skj4 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073108.6627 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073108.6637 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.6651 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073108.6675 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f627863661f6caca2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut661f656577661f6cac7d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240417@073108.6962 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.6978 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073108.6983 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f627863661f6caca2','aut661f656577661f6cac7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073108.6988 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.7002 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073108.7025 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.7049 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073108.7053 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073108.7062 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.7075 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073108.7099 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f685605661f6cacac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f656577661f6cac7d' ,0,0 ,2,23.00,20000,?,?,?)
20240417@073108.7389 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.7404 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073108.7409 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f685605661f6cacac','aut661f656577661f6cac7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073108.7413 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.7417 0avvcbjnmfjq54rb2ms1v0skj4 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240417@073108.7427 0avvcbjnmfjq54rb2ms1v0skj4 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.646.00.01'
20240417@073108.7440 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.7456 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073108.7501 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.7520 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073108.7525 0avvcbjnmfjq54rb2ms1v0skj4 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2301259100a'
20240417@073108.7535 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073108.7545 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.7558 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073108.7588 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut661f609272661f6cacb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut661f656577661f6cac7d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240417@073108.7880 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.7895 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073108.7899 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f609272661f6cacb8','aut661f656577661f6cac7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073108.7905 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.7919 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240417@073108.7957 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.7971 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240417@073108.7983 0avvcbjnmfjq54rb2ms1v0skj4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@073108.7995 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240417@073108.8008 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240417@073108.8035 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut661f631982661f6cacc3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut661f656577661f6cac7d' ,0,0 ,2,23.00,50000,?,?,?)
20240417@073108.8320 0avvcbjnmfjq54rb2ms1v0skj4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240417@073108.8336 0avvcbjnmfjq54rb2ms1v0skj4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240417@073108.8341 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661f631982661f6cacc3','aut661f656577661f6cac7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240417@073108.8345 0avvcbjnmfjq54rb2ms1v0skj4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut661f656577661f6cac7d','2402865','wait',39,'ari17112337378,753000005')
20240417@073108.8373 0avvcbjnmfjq54rb2ms1v0skj4 Query : use flama_phc
20240417@073108.8376 0avvcbjnmfjq54rb2ms1v0skj4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240417@073108.8388 0avvcbjnmfjq54rb2ms1v0skj4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1222';
20240417@073108.8410 0avvcbjnmfjq54rb2ms1v0skj4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1222';
20240417@073108.8427 0avvcbjnmfjq54rb2ms1v0skj4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1222';
20240417@073108.8475 0avvcbjnmfjq54rb2ms1v0skj4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1222';

20240417@135533.2246 4nsqfjgcl6ikda6u7qvogeg2mi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1223';
20240417@135533.2280 4nsqfjgcl6ikda6u7qvogeg2mi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1223';
20240417@135533.2295 4nsqfjgcl6ikda6u7qvogeg2mi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1223';
20240417@135533.2385 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.2391 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@135533.2443 4nsqfjgcl6ikda6u7qvogeg2mi Query : select no, estab,szadrsdesc from szadrs where u_coddest=39
20240417@135533.2555 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2682 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2693 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2706 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2717 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2730 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2742 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2753 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2765 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4020.00.1'
20240417@135533.2780 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.2784 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 1 valor from ts where ts.ndos = 5
20240417@135533.2865 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.2869 4nsqfjgcl6ikda6u7qvogeg2mi Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@135533.2908 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240417@135533.3041 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.3046 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240417@135533.3145 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.3149 4nsqfjgcl6ikda6u7qvogeg2mi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@135533.3192 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.3196 4nsqfjgcl6ikda6u7qvogeg2mi Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes - 1685-525 caneÇas'
20240417@135533.3213 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.3217 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from ts where ndos = 5
20240417@135533.3322 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240417@135533.3679 4nsqfjgcl6ikda6u7qvogeg2mi Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20240417@135533.3727 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240417@135533.4050 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240417@135533.4374 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20240417@135533.4503 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240417@135533.4623 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240417@135533.4682 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.4687 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240417@135533.4764 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240417@135533.4772 4nsqfjgcl6ikda6u7qvogeg2mi Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661fc75105661fc6c572',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240417@135533.4925 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240417@135533.4935 4nsqfjgcl6ikda6u7qvogeg2mi Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut661fc75105661fc6c572','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240417','14:25',?,?)
20240417@135533.5337 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240417@135533.5355 4nsqfjgcl6ikda6u7qvogeg2mi Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20240417@135533.5393 4nsqfjgcl6ikda6u7qvogeg2mi Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut661fc75105661fc6c572','trf entre armazéns a','2024-04-17',5,235,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20240417@135533.6327 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.6333 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.6444 4nsqfjgcl6ikda6u7qvogeg2mi 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.4020.00.1'
20240417@135533.6654 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240417@135533.7001 4nsqfjgcl6ikda6u7qvogeg2mi Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240417@135533.7245 4nsqfjgcl6ikda6u7qvogeg2mi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240417@135533.7552 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7556 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.7570 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7575 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.7586 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7589 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.7599 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7603 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.7614 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7618 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.7629 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7633 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.7643 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7646 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.7658 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7661 4nsqfjgcl6ikda6u7qvogeg2mi Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240417@135533.7680 4nsqfjgcl6ikda6u7qvogeg2mi Query : use flama_phc
20240417@135533.7684 4nsqfjgcl6ikda6u7qvogeg2mi Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20240417@135533.7761 4nsqfjgcl6ikda6u7qvogeg2mi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1223';
20240417@135533.7782 4nsqfjgcl6ikda6u7qvogeg2mi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1223';

20240417@150534.6853 tnq67uvudfvvd9kj3s9j1on7uu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1224';
20240417@150534.6942 tnq67uvudfvvd9kj3s9j1on7uu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1224';
20240417@150534.7156 tnq67uvudfvvd9kj3s9j1on7uu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1224';

20240417@161056.3248 fammb2isoj8uuroun9mu3th838 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1225';
20240417@161056.3266 fammb2isoj8uuroun9mu3th838 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1225';
20240417@161056.3284 fammb2isoj8uuroun9mu3th838 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1225';
20240417@161056.3298 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.3302 fammb2isoj8uuroun9mu3th838 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240417@161056.3316 fammb2isoj8uuroun9mu3th838 Query : select no, estab,szadrsdesc from szadrs where u_coddest=39
20240417@161056.3394 fammb2isoj8uuroun9mu3th838 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8261.00.1'
20240417@161056.3513 fammb2isoj8uuroun9mu3th838 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8152.00.1'
20240417@161056.3615 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.3618 fammb2isoj8uuroun9mu3th838 Query : select top 1 1 valor from ts where ts.ndos = 5
20240417@161056.3630 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.3633 fammb2isoj8uuroun9mu3th838 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240417@161056.3646 fammb2isoj8uuroun9mu3th838 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240417@161056.3663 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.3666 fammb2isoj8uuroun9mu3th838 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240417@161056.3681 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.3684 fammb2isoj8uuroun9mu3th838 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240417@161056.3695 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.3698 fammb2isoj8uuroun9mu3th838 Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes - 1685-525 caneÇas'
20240417@161056.3713 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.3716 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from ts where ndos = 5
20240417@161056.3726 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240417@161056.3740 fammb2isoj8uuroun9mu3th838 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20240417@161056.3788 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240417@161056.3794 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240417@161056.3800 fammb2isoj8uuroun9mu3th838 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20240417@161056.3814 fammb2isoj8uuroun9mu3th838 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240417@161056.3883 fammb2isoj8uuroun9mu3th838 Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240417@161056.3888 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.3892 fammb2isoj8uuroun9mu3th838 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240417@161056.3902 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20240417@161056.3910 fammb2isoj8uuroun9mu3th838 Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut661fe28236661fe6805e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240417@161056.3915 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20240417@161056.3924 fammb2isoj8uuroun9mu3th838 Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut661fe28236661fe6805e','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240417','16:40',?,?)
20240417@161056.4191 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20240417@161056.4206 fammb2isoj8uuroun9mu3th838 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20240417@161056.4216 fammb2isoj8uuroun9mu3th838 Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut661fe28236661fe6805e','trf entre armazéns a','2024-04-17',5,235,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20240417@161056.4647 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.4651 fammb2isoj8uuroun9mu3th838 Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20240417@161056.4663 fammb2isoj8uuroun9mu3th838 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.8261.00.1'
20240417@161056.4806 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240417@161056.4827 fammb2isoj8uuroun9mu3th838 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240417@161056.4844 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240417@161056.4853 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240417@161056.4865 fammb2isoj8uuroun9mu3th838 Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20240417@161056.4879 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240417@161056.4885 fammb2isoj8uuroun9mu3th838 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240417@161056.4920 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20240417@161056.4933 fammb2isoj8uuroun9mu3th838 Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20240417@161056.4966 fammb2isoj8uuroun9mu3th838 Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut661fe48336661fe68078',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut661fe28236661fe6805e'
20240417@161056.5924 fammb2isoj8uuroun9mu3th838 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20240417@161056.5933 fammb2isoj8uuroun9mu3th838 Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut661fe48336661fe68078','aut661fe28236661fe6805e',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut661fe28236661fe6805e'
20240417@161056.6164 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.6168 fammb2isoj8uuroun9mu3th838 Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20240417@161056.6185 fammb2isoj8uuroun9mu3th838 Query : use flama_phc
20240417@161056.6188 fammb2isoj8uuroun9mu3th838 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20240417@161056.6199 fammb2isoj8uuroun9mu3th838 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1225';
20240417@161056.6217 fammb2isoj8uuroun9mu3th838 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1225';

20240418@074542.7782 3vs1bj5mohrgie78dvdq54f9sd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1226';
20240418@074542.7815 3vs1bj5mohrgie78dvdq54f9sd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1226';
20240418@074542.7952 3vs1bj5mohrgie78dvdq54f9sd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1226';
20240418@074542.8042 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074542.8084 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074542.8141 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074542.8145 3vs1bj5mohrgie78dvdq54f9sd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20240418@074542.8499 3vs1bj5mohrgie78dvdq54f9sd 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'
20240418@074542.8921 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402827 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240418@074542.9582 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240418@074542.9960 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402827 and bi.ref ='324.1608.00.1' and bi.lordem =2
20240418@074543.5720 3vs1bj5mohrgie78dvdq54f9sd 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'
20240418@074543.9920 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402827 and bi.ref ='324.691.00.01' and bi.lordem =3
20240418@074543.1645 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074543.1649 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074543.2083 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074543.2087 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074543.2324 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074543.2365 3vs1bj5mohrgie78dvdq54f9sd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074543.2726 3vs1bj5mohrgie78dvdq54f9sd 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
20240418@074543.3050 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074543.3054 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20240418@074543.3278 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074543.3281 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074543.3545 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074543.3605 3vs1bj5mohrgie78dvdq54f9sd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074543.3771 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074543.3812 3vs1bj5mohrgie78dvdq54f9sd Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20240418@074543.4284 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074543.4332 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from td where ndoc = 39
20240418@074543.4718 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074543.4907 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074543.6617 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074543.7229 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074543.7860 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074543.8328 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074543.9124 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074543.9512 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074544.4430 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074544.9930 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074544.1128 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074544.1166 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c457976620c197e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074544.6184 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074544.6395 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074544.6680 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074544.6865 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074544.7122 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074544.7329 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074544.7576 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074544.7819 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074544.8063 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c457976620c197e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074545.1508 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074545.1867 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074545.2077 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074545.2356 3vs1bj5mohrgie78dvdq54f9sd 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 ('aut6620c457976620c197e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',961,101846,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074545.6897 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074545.6937 3vs1bj5mohrgie78dvdq54f9sd Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240418@074545.7197 3vs1bj5mohrgie78dvdq54f9sd 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'
20240418@074545.7613 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074545.8366 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074545.8749 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074546.3730 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074546.5510 3vs1bj5mohrgie78dvdq54f9sd Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240418@074546.1102 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074546.1626 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074546.1757 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074546.1934 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c761106620c19a27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6620c457976620c197e8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074546.6891 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074546.7455 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074546.7560 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c761106620c19a27','aut6620c457976620c197e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074546.8018 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074546.8058 3vs1bj5mohrgie78dvdq54f9sd Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240418@074546.8266 3vs1bj5mohrgie78dvdq54f9sd 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.1608.00.1'
20240418@074546.8648 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074546.8663 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074546.8694 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074546.8946 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074546.8970 3vs1bj5mohrgie78dvdq54f9sd Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2200658200a'
20240418@074546.8986 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074546.9196 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074546.9406 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074547.3180 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c096046620c19ae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6620c457976620c197e8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240418@074547.8230 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074547.8580 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074547.8630 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c096046620c19ae0','aut6620c457976620c197e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074547.9060 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074547.9480 3vs1bj5mohrgie78dvdq54f9sd Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240418@074547.1452 3vs1bj5mohrgie78dvdq54f9sd 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'
20240418@074547.2756 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074547.2888 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074547.3047 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074547.3323 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074547.3405 3vs1bj5mohrgie78dvdq54f9sd Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240418@074547.3614 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074547.3821 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074547.3878 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074547.4037 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c655206620c19b5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6620c457976620c197e8' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240418@074547.4653 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074547.5143 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074547.5361 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c655206620c19b5d','aut6620c457976620c197e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074547.5406 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074547.5618 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074547.6047 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074547.6063 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074547.6068 3vs1bj5mohrgie78dvdq54f9sd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074547.6078 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074547.6102 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074547.6329 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6620c775556620c19b94',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6620c457976620c197e8' ,0,0 ,2,23.00,40000,?,?,?)
20240418@074547.6982 3vs1bj5mohrgie78dvdq54f9sd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074547.7184 3vs1bj5mohrgie78dvdq54f9sd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074547.7266 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c775556620c19b94','aut6620c457976620c197e8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074547.7311 3vs1bj5mohrgie78dvdq54f9sd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6620c457976620c197e8','2402827','wait',39,'ari17112337378,753000005')
20240418@074547.7656 3vs1bj5mohrgie78dvdq54f9sd Query : use flama_phc
20240418@074547.7660 3vs1bj5mohrgie78dvdq54f9sd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240418@074547.7723 3vs1bj5mohrgie78dvdq54f9sd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1226';
20240418@074547.8597 3vs1bj5mohrgie78dvdq54f9sd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1226';
20240418@074547.8921 3vs1bj5mohrgie78dvdq54f9sd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1226';
20240418@074547.9138 3vs1bj5mohrgie78dvdq54f9sd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1226';
20240418@074548.7100 su672o6jpedhe4fal40vq8fpak Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074548.7220 su672o6jpedhe4fal40vq8fpak Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074548.7510 su672o6jpedhe4fal40vq8fpak Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1227';
20240418@074548.7990 su672o6jpedhe4fal40vq8fpak Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1227';
20240418@074548.8170 su672o6jpedhe4fal40vq8fpak Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1227';
20240418@074548.8320 su672o6jpedhe4fal40vq8fpak Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1227';
20240418@074548.8460 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.8490 su672o6jpedhe4fal40vq8fpak Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074548.8610 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.8640 su672o6jpedhe4fal40vq8fpak Query : select no, estab,szadrsdesc from szadrs where u_coddest=4784
20240418@074548.9470 su672o6jpedhe4fal40vq8fpak 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'
20240418@074548.1094 su672o6jpedhe4fal40vq8fpak Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402833 and bi.ref ='324.1879.00.1' and bi.lordem =1
20240418@074548.1419 su672o6jpedhe4fal40vq8fpak 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'
20240418@074548.1429 su672o6jpedhe4fal40vq8fpak Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402833 and bi.ref ='324.1879.00.1' and bi.lordem =1
20240418@074548.1435 su672o6jpedhe4fal40vq8fpak 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'
20240418@074548.1444 su672o6jpedhe4fal40vq8fpak Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402833 and bi.ref ='324.1879.00.1' and bi.lordem =2
20240418@074548.1798 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.1803 su672o6jpedhe4fal40vq8fpak Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074548.1815 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.1818 su672o6jpedhe4fal40vq8fpak Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074548.1828 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.1830 su672o6jpedhe4fal40vq8fpak Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074548.1841 su672o6jpedhe4fal40vq8fpak 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
20240418@074548.1854 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.1857 su672o6jpedhe4fal40vq8fpak Query : select top 1 ~inactivo valor from cl where no = '102410' and estab = 0 order by inactivo desc
20240418@074548.1957 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.1960 su672o6jpedhe4fal40vq8fpak Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074548.1970 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.1973 su672o6jpedhe4fal40vq8fpak Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074548.1983 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.1986 su672o6jpedhe4fal40vq8fpak Query : select szadrsstamp valor from szadrs where szadrsdesc='102410 - media markt matosinhos - prod inform e el'
20240418@074548.1998 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.2001 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from td where ndoc = 39
20240418@074548.2010 su672o6jpedhe4fal40vq8fpak Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074548.2021 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074548.2036 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074548.2052 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074548.2065 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074548.2090 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074548.2103 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074548.2112 su672o6jpedhe4fal40vq8fpak Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074548.2202 su672o6jpedhe4fal40vq8fpak Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074548.2211 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074548.2224 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074548.2233 su672o6jpedhe4fal40vq8fpak Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c520636620c19c33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074548.2399 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074548.2414 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074548.2442 su672o6jpedhe4fal40vq8fpak Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074548.2447 su672o6jpedhe4fal40vq8fpak Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074548.2452 su672o6jpedhe4fal40vq8fpak Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074548.2457 su672o6jpedhe4fal40vq8fpak Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074548.2462 su672o6jpedhe4fal40vq8fpak Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074548.2466 su672o6jpedhe4fal40vq8fpak Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074548.2470 su672o6jpedhe4fal40vq8fpak Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c520636620c19c33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074548.2724 su672o6jpedhe4fal40vq8fpak Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074548.2745 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074548.2764 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074548.2785 su672o6jpedhe4fal40vq8fpak 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 ('aut6620c520636620c19c33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',962,102410,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074548.3100 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.3106 su672o6jpedhe4fal40vq8fpak Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240418@074548.3120 su672o6jpedhe4fal40vq8fpak 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'
20240418@074548.3258 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074548.3272 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074548.3299 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074548.3315 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074548.3320 su672o6jpedhe4fal40vq8fpak Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301097100b'
20240418@074548.3326 su672o6jpedhe4fal40vq8fpak Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074548.3336 su672o6jpedhe4fal40vq8fpak Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074548.3350 su672o6jpedhe4fal40vq8fpak Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074548.3375 su672o6jpedhe4fal40vq8fpak Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c469686620c19c51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6620c520636620c19c33' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074548.3666 su672o6jpedhe4fal40vq8fpak Query : use flama_phc
20240418@074548.3671 su672o6jpedhe4fal40vq8fpak Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240418@074548.3758 su672o6jpedhe4fal40vq8fpak Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1227';
20240418@074548.3781 su672o6jpedhe4fal40vq8fpak Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1227';
20240418@074548.4184 uqavqvhmhk8sk0irfduiae2gid Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074548.4205 uqavqvhmhk8sk0irfduiae2gid Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074548.4230 uqavqvhmhk8sk0irfduiae2gid Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1228';
20240418@074548.4275 uqavqvhmhk8sk0irfduiae2gid Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1228';
20240418@074548.4294 uqavqvhmhk8sk0irfduiae2gid Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1228';
20240418@074548.4309 uqavqvhmhk8sk0irfduiae2gid Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1228';
20240418@074548.4323 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.4327 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074548.4341 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.4344 uqavqvhmhk8sk0irfduiae2gid Query : select no, estab,szadrsdesc from szadrs where u_coddest=4784
20240418@074548.4392 uqavqvhmhk8sk0irfduiae2gid 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'
20240418@074548.4547 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402834 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240418@074548.5450 uqavqvhmhk8sk0irfduiae2gid 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'
20240418@074548.5645 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402834 and bi.ref ='324.1470.00.1' and bi.lordem =2
20240418@074548.6077 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.6081 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074548.6093 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.6096 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074548.6105 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.6108 uqavqvhmhk8sk0irfduiae2gid Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074548.6149 uqavqvhmhk8sk0irfduiae2gid 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
20240418@074548.6163 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.6166 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 ~inactivo valor from cl where no = '102410' and estab = 0 order by inactivo desc
20240418@074548.6179 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.6183 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074548.6195 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.6198 uqavqvhmhk8sk0irfduiae2gid Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074548.6210 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.6213 uqavqvhmhk8sk0irfduiae2gid Query : select szadrsstamp valor from szadrs where szadrsdesc='102410 - media markt matosinhos - prod inform e el'
20240418@074548.6227 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.6230 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from td where ndoc = 39
20240418@074548.6243 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074548.6255 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074548.6270 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074548.6289 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074548.6304 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074548.6335 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074548.6351 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074548.6362 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074548.6458 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074548.6470 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074548.6486 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074548.6497 uqavqvhmhk8sk0irfduiae2gid Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c810876620c19c9b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074548.6661 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074548.6677 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074548.6708 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074548.6714 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074548.6720 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074548.6724 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074548.6729 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074548.6734 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074548.6740 uqavqvhmhk8sk0irfduiae2gid Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c810876620c19c9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074548.6990 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074548.7011 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074548.7026 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074548.7045 uqavqvhmhk8sk0irfduiae2gid 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 ('aut6620c810876620c19c9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',962,102410,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074548.7351 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.7356 uqavqvhmhk8sk0irfduiae2gid Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240418@074548.7370 uqavqvhmhk8sk0irfduiae2gid 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'
20240418@074548.7583 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074548.7599 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074548.7626 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074548.7641 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074548.7646 uqavqvhmhk8sk0irfduiae2gid Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240418@074548.7658 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074548.7668 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074548.7696 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074548.7723 uqavqvhmhk8sk0irfduiae2gid Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c117196620c19cbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6620c810876620c19c9b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074548.7993 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074548.8012 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074548.8018 uqavqvhmhk8sk0irfduiae2gid Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c117196620c19cbb','aut6620c810876620c19c9b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074548.8024 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.8028 uqavqvhmhk8sk0irfduiae2gid Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240418@074548.8042 uqavqvhmhk8sk0irfduiae2gid 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'
20240418@074548.8191 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074548.8207 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074548.8236 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074548.8250 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074548.8255 uqavqvhmhk8sk0irfduiae2gid Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240418@074548.8284 uqavqvhmhk8sk0irfduiae2gid Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074548.8297 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074548.8313 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074548.8338 uqavqvhmhk8sk0irfduiae2gid Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c106246620c19cca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6620c810876620c19c9b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240418@074548.8613 uqavqvhmhk8sk0irfduiae2gid Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074548.8629 uqavqvhmhk8sk0irfduiae2gid Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074548.8633 uqavqvhmhk8sk0irfduiae2gid Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c106246620c19cca','aut6620c810876620c19c9b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074548.8638 uqavqvhmhk8sk0irfduiae2gid Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6620c810876620c19c9b','2402834','wait',39,'ari17112337378,753000005')
20240418@074548.8659 uqavqvhmhk8sk0irfduiae2gid Query : use flama_phc
20240418@074548.8663 uqavqvhmhk8sk0irfduiae2gid Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240418@074548.8674 uqavqvhmhk8sk0irfduiae2gid Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1228';
20240418@074548.8695 uqavqvhmhk8sk0irfduiae2gid Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1228';
20240418@074548.8713 uqavqvhmhk8sk0irfduiae2gid Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1228';
20240418@074548.8729 uqavqvhmhk8sk0irfduiae2gid Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1228';
20240418@074548.9109 aaioakpi8d3ontkokuc8jp5uti Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074548.9122 aaioakpi8d3ontkokuc8jp5uti Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074548.9149 aaioakpi8d3ontkokuc8jp5uti Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1229';
20240418@074548.9207 aaioakpi8d3ontkokuc8jp5uti Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1229';
20240418@074548.9225 aaioakpi8d3ontkokuc8jp5uti Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1229';
20240418@074548.9242 aaioakpi8d3ontkokuc8jp5uti Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1229';
20240418@074548.9257 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074548.9260 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074548.9273 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074548.9276 aaioakpi8d3ontkokuc8jp5uti Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240418@074548.9363 aaioakpi8d3ontkokuc8jp5uti 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'
20240418@074548.9504 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402838 and bi.ref ='324.736.00.01' and bi.lordem =1
20240418@074548.9832 aaioakpi8d3ontkokuc8jp5uti 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'
20240418@074548.9998 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402838 and bi.ref ='324.727.00.01' and bi.lordem =2
20240418@074549.3200 aaioakpi8d3ontkokuc8jp5uti 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'
20240418@074549.3320 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402838 and bi.ref ='324.727.00.01' and bi.lordem =2
20240418@074549.3390 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.3420 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074549.3810 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.3850 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074549.3970 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.4000 aaioakpi8d3ontkokuc8jp5uti Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074549.4140 aaioakpi8d3ontkokuc8jp5uti 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
20240418@074549.4280 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.4320 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240418@074549.5450 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.5480 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074549.5580 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.5610 aaioakpi8d3ontkokuc8jp5uti Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074549.5720 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.5740 aaioakpi8d3ontkokuc8jp5uti Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240418@074549.5880 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.5910 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from td where ndoc = 39
20240418@074549.6000 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074549.6110 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074549.6240 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074549.6410 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074549.6550 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074549.6820 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074549.6950 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074549.7050 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074549.7960 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074549.8060 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074549.8180 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074549.8280 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c631036620c19d11' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074549.9760 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074549.9910 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074549.1019 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074549.1024 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074549.1029 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074549.1034 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074549.1039 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074549.1043 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074549.1047 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c631036620c19d11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074549.1288 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074549.1308 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074549.1321 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074549.1339 aaioakpi8d3ontkokuc8jp5uti 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 ('aut6620c631036620c19d11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',963,100810,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074549.1616 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.1620 aaioakpi8d3ontkokuc8jp5uti Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240418@074549.1632 aaioakpi8d3ontkokuc8jp5uti 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'
20240418@074549.1766 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.1780 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074549.1807 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.1823 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074549.1828 aaioakpi8d3ontkokuc8jp5uti Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2100297200a'
20240418@074549.1848 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074549.1859 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.1874 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074549.1903 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c935236620c19d2d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6620c631036620c19d11' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074549.2206 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.2220 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074549.2225 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c935236620c19d2d','aut6620c631036620c19d11' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074549.2229 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.2232 aaioakpi8d3ontkokuc8jp5uti Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240418@074549.2244 aaioakpi8d3ontkokuc8jp5uti 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'
20240418@074549.2375 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.2389 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074549.2412 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.2424 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074549.2428 aaioakpi8d3ontkokuc8jp5uti Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240418@074549.2442 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074549.2453 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.2466 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074549.2490 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c462586620c19d3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6620c631036620c19d11' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240418@074549.3807 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.3866 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074549.3872 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c462586620c19d3b','aut6620c631036620c19d11' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074549.3877 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.3892 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074549.3913 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.3924 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074549.3928 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074549.3940 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.3951 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074549.3994 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6620c130596620c19d60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6620c631036620c19d11' ,0,0 ,2,23.00,30000,?,?,?)
20240418@074549.4257 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.4272 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074549.4277 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c130596620c19d60','aut6620c631036620c19d11' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074549.4283 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.4286 aaioakpi8d3ontkokuc8jp5uti Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240418@074549.4297 aaioakpi8d3ontkokuc8jp5uti 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'
20240418@074549.4307 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.4319 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074549.4341 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.4352 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074549.4356 aaioakpi8d3ontkokuc8jp5uti Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240418@074549.4366 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074549.4376 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.4389 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074549.4418 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c539316620c19d6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut6620c631036620c19d11' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240418@074549.4675 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.4693 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074549.4700 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c539316620c19d6a','aut6620c631036620c19d11' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074549.4706 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.4721 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074549.4749 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.4762 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074549.4767 aaioakpi8d3ontkokuc8jp5uti Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074549.4779 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.4792 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074549.4818 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6620c331626620c19d74',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6620c631036620c19d11' ,0,0 ,2,23.00,60000,?,?,?)
20240418@074549.5161 aaioakpi8d3ontkokuc8jp5uti Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.5178 aaioakpi8d3ontkokuc8jp5uti Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074549.5183 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c331626620c19d74','aut6620c631036620c19d11' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074549.5188 aaioakpi8d3ontkokuc8jp5uti Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6620c631036620c19d11','2402838','wait',39,'ari17112337378,753000005')
20240418@074549.5204 aaioakpi8d3ontkokuc8jp5uti Query : use flama_phc
20240418@074549.5207 aaioakpi8d3ontkokuc8jp5uti Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240418@074549.5218 aaioakpi8d3ontkokuc8jp5uti Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1229';
20240418@074549.5241 aaioakpi8d3ontkokuc8jp5uti Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1229';
20240418@074549.5261 aaioakpi8d3ontkokuc8jp5uti Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1229';
20240418@074549.5279 aaioakpi8d3ontkokuc8jp5uti Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1229';
20240418@074549.5665 7bpo5h18v06obvbnle45d58llo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074549.5678 7bpo5h18v06obvbnle45d58llo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074549.5701 7bpo5h18v06obvbnle45d58llo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1230';
20240418@074549.5756 7bpo5h18v06obvbnle45d58llo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1230';
20240418@074549.5794 7bpo5h18v06obvbnle45d58llo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1230';
20240418@074549.5810 7bpo5h18v06obvbnle45d58llo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1230';
20240418@074549.5825 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.5828 7bpo5h18v06obvbnle45d58llo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074549.5842 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.5845 7bpo5h18v06obvbnle45d58llo Query : select no, estab,szadrsdesc from szadrs where u_coddest=4786
20240418@074549.5924 7bpo5h18v06obvbnle45d58llo 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'
20240418@074549.5935 7bpo5h18v06obvbnle45d58llo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402839 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240418@074549.6272 7bpo5h18v06obvbnle45d58llo 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'
20240418@074549.6285 7bpo5h18v06obvbnle45d58llo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402839 and bi.ref ='304.4320.00.1' and bi.lordem =2
20240418@074549.6643 7bpo5h18v06obvbnle45d58llo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240418@074549.6779 7bpo5h18v06obvbnle45d58llo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402839 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240418@074549.7133 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.7138 7bpo5h18v06obvbnle45d58llo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074549.7150 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.7153 7bpo5h18v06obvbnle45d58llo Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074549.7163 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.7165 7bpo5h18v06obvbnle45d58llo Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074549.7176 7bpo5h18v06obvbnle45d58llo 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
20240418@074549.7189 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.7192 7bpo5h18v06obvbnle45d58llo Query : select top 1 ~inactivo valor from cl where no = '101847' and estab = 0 order by inactivo desc
20240418@074549.7298 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.7301 7bpo5h18v06obvbnle45d58llo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074549.7311 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.7313 7bpo5h18v06obvbnle45d58llo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074549.7324 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.7327 7bpo5h18v06obvbnle45d58llo Query : select szadrsstamp valor from szadrs where szadrsdesc='101847 - media markt aveiro-prod.inf.e elect.,lda'
20240418@074549.7340 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.7343 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from td where ndoc = 39
20240418@074549.7361 7bpo5h18v06obvbnle45d58llo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074549.7372 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074549.7387 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074549.7404 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074549.7418 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074549.7442 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074549.7455 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074549.7464 7bpo5h18v06obvbnle45d58llo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074549.7554 7bpo5h18v06obvbnle45d58llo Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074549.7563 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074549.7576 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074549.7586 7bpo5h18v06obvbnle45d58llo Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c081026620c19db6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074549.7740 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074549.7755 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074549.7783 7bpo5h18v06obvbnle45d58llo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074549.7788 7bpo5h18v06obvbnle45d58llo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074549.7793 7bpo5h18v06obvbnle45d58llo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074549.7797 7bpo5h18v06obvbnle45d58llo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074549.7801 7bpo5h18v06obvbnle45d58llo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074549.7806 7bpo5h18v06obvbnle45d58llo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074549.7810 7bpo5h18v06obvbnle45d58llo Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c081026620c19db6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074549.8064 7bpo5h18v06obvbnle45d58llo Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074549.8084 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074549.8099 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074549.8115 7bpo5h18v06obvbnle45d58llo 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 ('aut6620c081026620c19db6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',964,101847,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074549.8410 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.8414 7bpo5h18v06obvbnle45d58llo Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240418@074549.8425 7bpo5h18v06obvbnle45d58llo 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'
20240418@074549.8464 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.8480 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074549.8504 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.8517 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074549.8522 7bpo5h18v06obvbnle45d58llo Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240418@074549.8533 7bpo5h18v06obvbnle45d58llo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074549.8544 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.8556 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074549.8582 7bpo5h18v06obvbnle45d58llo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c381956620c19dd0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6620c081026620c19db6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074549.8825 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.8842 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074549.8847 7bpo5h18v06obvbnle45d58llo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c381956620c19dd0','aut6620c081026620c19db6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074549.8852 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.8856 7bpo5h18v06obvbnle45d58llo Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240418@074549.8867 7bpo5h18v06obvbnle45d58llo 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'
20240418@074549.8878 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.8899 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074549.8924 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.8938 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074549.8943 7bpo5h18v06obvbnle45d58llo Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240418@074549.8953 7bpo5h18v06obvbnle45d58llo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074549.8962 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.8977 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074549.9000 7bpo5h18v06obvbnle45d58llo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c659886620c19dda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6620c081026620c19db6' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240418@074549.9257 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.9272 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074549.9276 7bpo5h18v06obvbnle45d58llo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c659886620c19dda','aut6620c081026620c19db6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074549.9281 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074549.9285 7bpo5h18v06obvbnle45d58llo Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240418@074549.9296 7bpo5h18v06obvbnle45d58llo 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.4743.00.1'
20240418@074549.9431 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.9443 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074549.9465 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074549.9477 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074549.9482 7bpo5h18v06obvbnle45d58llo Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240418@074549.9498 7bpo5h18v06obvbnle45d58llo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074549.9509 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074549.9521 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074549.9546 7bpo5h18v06obvbnle45d58llo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c313716620c19de8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6620c081026620c19db6' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240418@074550.5800 7bpo5h18v06obvbnle45d58llo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074550.7400 7bpo5h18v06obvbnle45d58llo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074550.7800 7bpo5h18v06obvbnle45d58llo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c313716620c19de8','aut6620c081026620c19db6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074550.8300 7bpo5h18v06obvbnle45d58llo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6620c081026620c19db6','2402839','wait',39,'ari17112337378,753000005')
20240418@074550.9800 7bpo5h18v06obvbnle45d58llo Query : use flama_phc
20240418@074550.1010 7bpo5h18v06obvbnle45d58llo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240418@074550.1120 7bpo5h18v06obvbnle45d58llo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1230';
20240418@074550.1320 7bpo5h18v06obvbnle45d58llo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1230';
20240418@074550.1500 7bpo5h18v06obvbnle45d58llo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1230';
20240418@074550.1650 7bpo5h18v06obvbnle45d58llo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1230';
20240418@074550.1086 uuih0aujm6ne0ldhbl64dug5mp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074550.1101 uuih0aujm6ne0ldhbl64dug5mp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074550.1149 uuih0aujm6ne0ldhbl64dug5mp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1231';
20240418@074550.1195 uuih0aujm6ne0ldhbl64dug5mp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1231';
20240418@074550.1212 uuih0aujm6ne0ldhbl64dug5mp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1231';
20240418@074550.1226 uuih0aujm6ne0ldhbl64dug5mp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1231';
20240418@074550.1241 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1244 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074550.1256 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1260 uuih0aujm6ne0ldhbl64dug5mp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240418@074550.1344 uuih0aujm6ne0ldhbl64dug5mp 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'
20240418@074550.1356 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402840 and bi.ref ='324.1879.00.1' and bi.lordem =1
20240418@074550.1686 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1690 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074550.1705 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1708 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074550.1719 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1722 uuih0aujm6ne0ldhbl64dug5mp Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074550.1736 uuih0aujm6ne0ldhbl64dug5mp 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
20240418@074550.1753 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1757 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240418@074550.1870 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1874 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074550.1886 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1889 uuih0aujm6ne0ldhbl64dug5mp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074550.1902 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1905 uuih0aujm6ne0ldhbl64dug5mp Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240418@074550.1918 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.1921 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from td where ndoc = 39
20240418@074550.1931 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074550.1942 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074550.1957 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074550.1973 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074550.1986 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074550.2013 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074550.2035 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074550.2047 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074550.2144 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074550.2179 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074550.2193 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074550.2203 uuih0aujm6ne0ldhbl64dug5mp Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c864536620c19e31' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074550.2374 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074550.2391 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074550.2420 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074550.2426 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074550.2431 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074550.2436 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074550.2441 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074550.2452 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074550.2480 uuih0aujm6ne0ldhbl64dug5mp Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c864536620c19e31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074550.2736 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074550.2757 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074550.2771 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074550.2815 uuih0aujm6ne0ldhbl64dug5mp 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 ('aut6620c864536620c19e31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',965,102199,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074550.3113 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.3117 uuih0aujm6ne0ldhbl64dug5mp Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240418@074550.3128 uuih0aujm6ne0ldhbl64dug5mp 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'
20240418@074550.3141 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074550.3154 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074550.3177 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074550.3190 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074550.3194 uuih0aujm6ne0ldhbl64dug5mp Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301097100b'
20240418@074550.3199 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074550.3208 uuih0aujm6ne0ldhbl64dug5mp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074550.3220 uuih0aujm6ne0ldhbl64dug5mp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074550.3245 uuih0aujm6ne0ldhbl64dug5mp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c198556620c19e4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6620c864536620c19e31' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074550.3509 uuih0aujm6ne0ldhbl64dug5mp Query : use flama_phc
20240418@074550.3512 uuih0aujm6ne0ldhbl64dug5mp Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240418@074550.3523 uuih0aujm6ne0ldhbl64dug5mp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1231';
20240418@074550.3542 uuih0aujm6ne0ldhbl64dug5mp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1231';
20240418@074550.4116 hlhb54ifftkpd2ceu6c78b46vf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074550.4164 hlhb54ifftkpd2ceu6c78b46vf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074550.4384 hlhb54ifftkpd2ceu6c78b46vf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1232';
20240418@074550.4628 hlhb54ifftkpd2ceu6c78b46vf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1232';
20240418@074550.4718 hlhb54ifftkpd2ceu6c78b46vf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1232';
20240418@074550.4940 hlhb54ifftkpd2ceu6c78b46vf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1232';
20240418@074550.4973 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.5014 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074550.5113 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.5116 hlhb54ifftkpd2ceu6c78b46vf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240418@074550.5169 hlhb54ifftkpd2ceu6c78b46vf 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'
20240418@074550.5181 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402841 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240418@074550.6085 hlhb54ifftkpd2ceu6c78b46vf 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'
20240418@074550.6882 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402841 and bi.ref ='324.4990.00.1' and bi.lordem =2
20240418@074550.7598 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.7641 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074550.7713 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.7716 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074550.7847 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.7850 hlhb54ifftkpd2ceu6c78b46vf Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074550.7862 hlhb54ifftkpd2ceu6c78b46vf 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
20240418@074550.7883 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.7885 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240418@074550.8015 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.8057 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074550.8161 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.8165 hlhb54ifftkpd2ceu6c78b46vf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074550.8176 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.8217 hlhb54ifftkpd2ceu6c78b46vf Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240418@074550.8465 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074550.8507 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from td where ndoc = 39
20240418@074550.8714 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074550.8935 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074550.8952 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074550.9085 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074550.9106 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074550.9396 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074550.9451 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074550.9661 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074551.2900 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074551.2410 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074551.2580 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074551.3880 hlhb54ifftkpd2ceu6c78b46vf Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c135696620c19eeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074551.6240 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074551.8120 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074551.1041 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074551.1122 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074551.1204 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074551.1286 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074551.1368 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074551.1450 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074551.1532 hlhb54ifftkpd2ceu6c78b46vf Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c135696620c19eeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074551.1951 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074551.2201 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074551.2257 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074551.2393 hlhb54ifftkpd2ceu6c78b46vf 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 ('aut6620c135696620c19eeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',965,102199,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074551.3013 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074551.3054 hlhb54ifftkpd2ceu6c78b46vf Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240418@074551.3261 hlhb54ifftkpd2ceu6c78b46vf 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'
20240418@074551.3320 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074551.3455 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074551.3479 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074551.3500 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074551.3619 hlhb54ifftkpd2ceu6c78b46vf Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240418@074551.3757 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074551.3768 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074551.3940 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074551.4478 hlhb54ifftkpd2ceu6c78b46vf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c553166620c19f5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6620c135696620c19eeb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074551.4958 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074551.5146 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074551.5153 hlhb54ifftkpd2ceu6c78b46vf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c553166620c19f5b','aut6620c135696620c19eeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074551.5158 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074551.5162 hlhb54ifftkpd2ceu6c78b46vf Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240418@074551.5333 hlhb54ifftkpd2ceu6c78b46vf 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'
20240418@074551.5790 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074551.6001 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074551.6205 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074551.6221 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074551.6226 hlhb54ifftkpd2ceu6c78b46vf Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240418@074551.6370 hlhb54ifftkpd2ceu6c78b46vf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074551.6510 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074551.6526 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074551.7030 hlhb54ifftkpd2ceu6c78b46vf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c972956620c19f9e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6620c135696620c19eeb' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240418@074551.7555 hlhb54ifftkpd2ceu6c78b46vf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074551.7687 hlhb54ifftkpd2ceu6c78b46vf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074551.7694 hlhb54ifftkpd2ceu6c78b46vf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c972956620c19f9e','aut6620c135696620c19eeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074551.7699 hlhb54ifftkpd2ceu6c78b46vf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6620c135696620c19eeb','2402841','wait',39,'ari17112337378,753000005')
20240418@074551.7717 hlhb54ifftkpd2ceu6c78b46vf Query : use flama_phc
20240418@074551.7724 hlhb54ifftkpd2ceu6c78b46vf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240418@074551.7812 hlhb54ifftkpd2ceu6c78b46vf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1232';
20240418@074551.8009 hlhb54ifftkpd2ceu6c78b46vf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1232';
20240418@074551.8027 hlhb54ifftkpd2ceu6c78b46vf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1232';
20240418@074551.8203 hlhb54ifftkpd2ceu6c78b46vf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1232';
20240418@074551.8927 un867stsr4mdkgnf9e7kkfhepu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074551.8941 un867stsr4mdkgnf9e7kkfhepu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074551.9062 un867stsr4mdkgnf9e7kkfhepu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1233';
20240418@074551.9115 un867stsr4mdkgnf9e7kkfhepu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1233';
20240418@074551.9133 un867stsr4mdkgnf9e7kkfhepu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1233';
20240418@074551.9153 un867stsr4mdkgnf9e7kkfhepu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1233';
20240418@074551.9167 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074551.9171 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074551.9212 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074551.9216 un867stsr4mdkgnf9e7kkfhepu Query : select no, estab,szadrsdesc from szadrs where u_coddest=4920
20240418@074551.9294 un867stsr4mdkgnf9e7kkfhepu 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'
20240418@074551.9442 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402845 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240418@074551.9775 un867stsr4mdkgnf9e7kkfhepu 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'
20240418@074551.9792 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402845 and bi.ref ='324.1879.00.1' and bi.lordem =2
20240418@074552.1200 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.1240 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074552.1390 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.1430 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074552.1550 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.1580 un867stsr4mdkgnf9e7kkfhepu Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074552.1700 un867stsr4mdkgnf9e7kkfhepu 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
20240418@074552.1870 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.1900 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 ~inactivo valor from cl where no = '101711' and estab = 0 order by inactivo desc
20240418@074552.3870 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.3910 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074552.4080 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.4120 un867stsr4mdkgnf9e7kkfhepu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074552.4250 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.4280 un867stsr4mdkgnf9e7kkfhepu Query : select szadrsstamp valor from szadrs where szadrsdesc='101711 - media markt benfica -prod.inf.elect., lda'
20240418@074552.4450 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.4490 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from td where ndoc = 39
20240418@074552.4600 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074552.4740 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074552.4890 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074552.5110 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074552.5260 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074552.5590 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074552.5750 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074552.5890 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074552.6850 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074552.6970 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074552.7130 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074552.7250 un867stsr4mdkgnf9e7kkfhepu Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c571016620c1a00e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074552.8880 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074552.9050 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074552.9400 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074552.9470 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074552.9540 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074552.9610 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074552.9970 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074552.1004 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074552.1010 un867stsr4mdkgnf9e7kkfhepu Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c571016620c1a00e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074552.1256 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074552.1278 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074552.1294 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074552.1315 un867stsr4mdkgnf9e7kkfhepu 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 ('aut6620c571016620c1a00e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',966,101711,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074552.1845 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.1886 un867stsr4mdkgnf9e7kkfhepu Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240418@074552.1902 un867stsr4mdkgnf9e7kkfhepu 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'
20240418@074552.2037 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074552.2052 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074552.2100 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074552.2114 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074552.2119 un867stsr4mdkgnf9e7kkfhepu Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240418@074552.2137 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074552.2147 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074552.2159 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074552.2184 un867stsr4mdkgnf9e7kkfhepu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c980216620c1a034',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6620c571016620c1a00e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074552.2458 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074552.2474 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074552.2478 un867stsr4mdkgnf9e7kkfhepu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c980216620c1a034','aut6620c571016620c1a00e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074552.2505 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074552.2519 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074552.2544 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074552.2557 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074552.2562 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074552.2572 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074552.2585 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074552.2608 un867stsr4mdkgnf9e7kkfhepu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6620c356496620c1a03e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6620c571016620c1a00e' ,0,0 ,2,23.00,20000,?,?,?)
20240418@074552.3075 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074552.3115 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074552.3120 un867stsr4mdkgnf9e7kkfhepu Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c356496620c1a03e','aut6620c571016620c1a00e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074552.3127 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.3131 un867stsr4mdkgnf9e7kkfhepu Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240418@074552.3144 un867stsr4mdkgnf9e7kkfhepu 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'
20240418@074552.3156 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074552.3170 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074552.3195 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074552.3208 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074552.3213 un867stsr4mdkgnf9e7kkfhepu Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301097100b'
20240418@074552.3217 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074552.3227 un867stsr4mdkgnf9e7kkfhepu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074552.3240 un867stsr4mdkgnf9e7kkfhepu Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074552.3265 un867stsr4mdkgnf9e7kkfhepu Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c218296620c1a04e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6620c571016620c1a00e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240418@074552.3536 un867stsr4mdkgnf9e7kkfhepu Query : use flama_phc
20240418@074552.3540 un867stsr4mdkgnf9e7kkfhepu Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240418@074552.3553 un867stsr4mdkgnf9e7kkfhepu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1233';
20240418@074552.3572 un867stsr4mdkgnf9e7kkfhepu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1233';
20240418@074552.3947 gsdu87alt5vi5oijo3cb6t3rsg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074552.3967 gsdu87alt5vi5oijo3cb6t3rsg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074552.5169 gsdu87alt5vi5oijo3cb6t3rsg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1234';
20240418@074552.5223 gsdu87alt5vi5oijo3cb6t3rsg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1234';
20240418@074552.5276 gsdu87alt5vi5oijo3cb6t3rsg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1234';
20240418@074552.5488 gsdu87alt5vi5oijo3cb6t3rsg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1234';
20240418@074552.5578 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.5620 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074552.5829 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.5870 gsdu87alt5vi5oijo3cb6t3rsg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4920
20240418@074552.6071 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240418@074552.6334 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402846 and bi.ref ='324.4421.00.1' and bi.lordem =1
20240418@074552.7080 gsdu87alt5vi5oijo3cb6t3rsg 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'
20240418@074552.7288 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402846 and bi.ref ='324.4990.00.1' and bi.lordem =2
20240418@074552.7996 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.8038 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074552.8152 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.8155 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074552.8287 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.8291 gsdu87alt5vi5oijo3cb6t3rsg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074552.8303 gsdu87alt5vi5oijo3cb6t3rsg 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
20240418@074552.8325 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.8328 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 ~inactivo valor from cl where no = '101711' and estab = 0 order by inactivo desc
20240418@074552.8341 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.8344 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074552.8587 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.8602 gsdu87alt5vi5oijo3cb6t3rsg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074552.8613 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.8616 gsdu87alt5vi5oijo3cb6t3rsg Query : select szadrsstamp valor from szadrs where szadrsdesc='101711 - media markt benfica -prod.inf.elect., lda'
20240418@074552.8786 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074552.8829 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from td where ndoc = 39
20240418@074552.9038 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074552.9286 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074552.9416 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074552.9560 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074552.9575 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074552.9804 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074552.9873 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074552.9887 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074553.2150 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074553.4210 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074553.6310 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074553.7190 gsdu87alt5vi5oijo3cb6t3rsg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c267306620c1a0f1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074553.9930 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074553.1091 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074553.1297 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074553.1379 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074553.1461 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074553.1544 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074553.1626 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074553.1708 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074553.1790 gsdu87alt5vi5oijo3cb6t3rsg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c267306620c1a0f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074553.2373 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074553.2474 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074553.2488 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074553.2512 gsdu87alt5vi5oijo3cb6t3rsg 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 ('aut6620c267306620c1a0f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',966,101711,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074553.3136 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074553.3141 gsdu87alt5vi5oijo3cb6t3rsg Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240418@074553.3351 gsdu87alt5vi5oijo3cb6t3rsg 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.4421.00.1'
20240418@074553.3805 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074553.4009 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074553.4154 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074553.4168 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074553.4173 gsdu87alt5vi5oijo3cb6t3rsg Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20240418@074553.4239 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074553.4248 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074553.4432 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074553.4557 gsdu87alt5vi5oijo3cb6t3rsg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c304486620c1a167',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6620c267306620c1a0f1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074553.5105 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074553.5315 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074553.5397 gsdu87alt5vi5oijo3cb6t3rsg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c304486620c1a167','aut6620c267306620c1a0f1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074553.5441 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074553.5483 gsdu87alt5vi5oijo3cb6t3rsg Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240418@074553.5621 gsdu87alt5vi5oijo3cb6t3rsg 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'
20240418@074553.5633 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074553.5767 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074553.5798 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074553.5928 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074553.6013 gsdu87alt5vi5oijo3cb6t3rsg Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240418@074553.6083 gsdu87alt5vi5oijo3cb6t3rsg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074553.6093 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074553.6269 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074553.6809 gsdu87alt5vi5oijo3cb6t3rsg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c427756620c1a194',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6620c267306620c1a0f1' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240418@074553.7304 gsdu87alt5vi5oijo3cb6t3rsg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074553.7517 gsdu87alt5vi5oijo3cb6t3rsg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074553.7598 gsdu87alt5vi5oijo3cb6t3rsg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c427756620c1a194','aut6620c267306620c1a0f1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074553.7604 gsdu87alt5vi5oijo3cb6t3rsg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6620c267306620c1a0f1','2402846','wait',39,'ari17112337378,753000005')
20240418@074553.7620 gsdu87alt5vi5oijo3cb6t3rsg Query : use flama_phc
20240418@074553.7660 gsdu87alt5vi5oijo3cb6t3rsg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240418@074553.7966 gsdu87alt5vi5oijo3cb6t3rsg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1234';
20240418@074553.8636 gsdu87alt5vi5oijo3cb6t3rsg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1234';
20240418@074553.9056 gsdu87alt5vi5oijo3cb6t3rsg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1234';
20240418@074553.9114 gsdu87alt5vi5oijo3cb6t3rsg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1234';
20240418@074553.9608 mqbs9evi2hkq18hdup646dol62 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074553.9620 mqbs9evi2hkq18hdup646dol62 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074553.9642 mqbs9evi2hkq18hdup646dol62 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1235';
20240418@074553.9690 mqbs9evi2hkq18hdup646dol62 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1235';
20240418@074553.9708 mqbs9evi2hkq18hdup646dol62 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1235';
20240418@074553.9735 mqbs9evi2hkq18hdup646dol62 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1235';
20240418@074553.9768 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074553.9779 mqbs9evi2hkq18hdup646dol62 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074553.9865 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074553.9869 mqbs9evi2hkq18hdup646dol62 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4782
20240418@074553.9961 mqbs9evi2hkq18hdup646dol62 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'
20240418@074553.9972 mqbs9evi2hkq18hdup646dol62 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402851 and bi.ref ='324.1879.00.1' and bi.lordem =1
20240418@074554.3370 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.3400 mqbs9evi2hkq18hdup646dol62 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074554.3530 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.3570 mqbs9evi2hkq18hdup646dol62 Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074554.3660 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.3690 mqbs9evi2hkq18hdup646dol62 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074554.3820 mqbs9evi2hkq18hdup646dol62 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
20240418@074554.4250 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.4280 mqbs9evi2hkq18hdup646dol62 Query : select top 1 ~inactivo valor from cl where no = '101848' and estab = 0 order by inactivo desc
20240418@074554.5350 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.5390 mqbs9evi2hkq18hdup646dol62 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074554.5490 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.5530 mqbs9evi2hkq18hdup646dol62 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074554.5630 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.5660 mqbs9evi2hkq18hdup646dol62 Query : select szadrsstamp valor from szadrs where szadrsdesc='101848 - media markt braga-prod.inf.e eelect.,lda'
20240418@074554.5790 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.5830 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from td where ndoc = 39
20240418@074554.5930 mqbs9evi2hkq18hdup646dol62 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074554.6050 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074554.6190 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074554.6400 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074554.6540 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074554.6800 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074554.6940 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074554.7050 mqbs9evi2hkq18hdup646dol62 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074554.7970 mqbs9evi2hkq18hdup646dol62 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074554.8060 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074554.8190 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074554.8350 mqbs9evi2hkq18hdup646dol62 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c211896620c1a211' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074554.9990 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074554.1071 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074554.1104 mqbs9evi2hkq18hdup646dol62 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074554.1110 mqbs9evi2hkq18hdup646dol62 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074554.1115 mqbs9evi2hkq18hdup646dol62 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074554.1120 mqbs9evi2hkq18hdup646dol62 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074554.1125 mqbs9evi2hkq18hdup646dol62 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074554.1130 mqbs9evi2hkq18hdup646dol62 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074554.1134 mqbs9evi2hkq18hdup646dol62 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c211896620c1a211',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074554.1406 mqbs9evi2hkq18hdup646dol62 Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074554.1425 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074554.1439 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074554.1455 mqbs9evi2hkq18hdup646dol62 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 ('aut6620c211896620c1a211',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',967,101848,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074554.1809 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.1836 mqbs9evi2hkq18hdup646dol62 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240418@074554.1853 mqbs9evi2hkq18hdup646dol62 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'
20240418@074554.1865 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074554.1887 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074554.1911 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074554.1926 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074554.1930 mqbs9evi2hkq18hdup646dol62 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301097100b'
20240418@074554.1936 mqbs9evi2hkq18hdup646dol62 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074554.1947 mqbs9evi2hkq18hdup646dol62 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074554.1960 mqbs9evi2hkq18hdup646dol62 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074554.2085 mqbs9evi2hkq18hdup646dol62 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c763346620c1a22f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6620c211896620c1a211' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074554.2348 mqbs9evi2hkq18hdup646dol62 Query : use flama_phc
20240418@074554.2351 mqbs9evi2hkq18hdup646dol62 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240418@074554.2362 mqbs9evi2hkq18hdup646dol62 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1235';
20240418@074554.2382 mqbs9evi2hkq18hdup646dol62 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1235';
20240418@074554.2980 rpnp9ltcucku2tkrr1b576v2qp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240418@074554.2992 rpnp9ltcucku2tkrr1b576v2qp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240418@074554.3015 rpnp9ltcucku2tkrr1b576v2qp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1236';
20240418@074554.3057 rpnp9ltcucku2tkrr1b576v2qp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1236';
20240418@074554.3075 rpnp9ltcucku2tkrr1b576v2qp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1236';
20240418@074554.3092 rpnp9ltcucku2tkrr1b576v2qp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1236';
20240418@074554.3105 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.3109 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240418@074554.3121 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.3125 rpnp9ltcucku2tkrr1b576v2qp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20240418@074554.3203 rpnp9ltcucku2tkrr1b576v2qp 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'
20240418@074554.3215 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402852 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240418@074554.3544 rpnp9ltcucku2tkrr1b576v2qp 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'
20240418@074554.3555 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2028 and bo.obrano = 2402852 and bi.ref ='324.1470.00.1' and bi.lordem =2
20240418@074554.3870 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.3874 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240418@074554.3889 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.3892 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 1 valor from td where td.ndoc = 39
20240418@074554.3901 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.3904 rpnp9ltcucku2tkrr1b576v2qp Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240418@074554.3914 rpnp9ltcucku2tkrr1b576v2qp 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
20240418@074554.3928 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.3931 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20240418@074554.4032 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.4035 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240418@074554.4045 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.4048 rpnp9ltcucku2tkrr1b576v2qp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240418@074554.4058 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.4060 rpnp9ltcucku2tkrr1b576v2qp Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20240418@074554.4072 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.4075 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from td where ndoc = 39
20240418@074554.4086 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240418@074554.4096 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074554.4109 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240418@074554.4124 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074554.4137 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240418@074554.4165 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074554.4178 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240418@074554.4189 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074554.4280 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240418@074554.4290 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240418@074554.4303 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240418@074554.4312 rpnp9ltcucku2tkrr1b576v2qp Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6620c579586620c1a266' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240418@074554.4466 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240418@074554.4481 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240418@074554.4507 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240418@074554.4512 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240418@074554.4516 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240418@074554.4521 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240418@074554.4525 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240418@074554.4529 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240418@074554.4534 rpnp9ltcucku2tkrr1b576v2qp Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6620c579586620c1a266',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240418@074554.4785 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 fno valor from wsft039data order by fno desc
20240418@074554.4804 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240418@074554.4817 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240418@074554.4834 rpnp9ltcucku2tkrr1b576v2qp 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 ('aut6620c579586620c1a266',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',967,102040,0,'2024-04-18',39,'euro',0,0,2024 ,'20240418','0815',?,?,?,?)
20240418@074554.5377 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.5382 rpnp9ltcucku2tkrr1b576v2qp Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240418@074554.5395 rpnp9ltcucku2tkrr1b576v2qp 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'
20240418@074554.5405 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074554.5419 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074554.5440 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074554.5453 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074554.5457 rpnp9ltcucku2tkrr1b576v2qp Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240418@074554.5466 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074554.5476 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074554.5489 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074554.5510 rpnp9ltcucku2tkrr1b576v2qp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c209146620c1a285',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6620c579586620c1a266' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240418@074554.5778 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074554.5793 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074554.5798 rpnp9ltcucku2tkrr1b576v2qp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c209146620c1a285','aut6620c579586620c1a266' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074554.5825 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.5829 rpnp9ltcucku2tkrr1b576v2qp Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240418@074554.5839 rpnp9ltcucku2tkrr1b576v2qp 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'
20240418@074554.5850 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074554.5878 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240418@074554.5900 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074554.5911 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240418@074554.5916 rpnp9ltcucku2tkrr1b576v2qp Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240418@074554.5925 rpnp9ltcucku2tkrr1b576v2qp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240418@074554.5934 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240418@074554.5946 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240418@074554.5968 rpnp9ltcucku2tkrr1b576v2qp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6620c363776620c1a290',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6620c579586620c1a266' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240418@074554.6314 rpnp9ltcucku2tkrr1b576v2qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240418@074554.6478 rpnp9ltcucku2tkrr1b576v2qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240418@074554.6483 rpnp9ltcucku2tkrr1b576v2qp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6620c363776620c1a290','aut6620c579586620c1a266' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240418@074554.6488 rpnp9ltcucku2tkrr1b576v2qp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6620c579586620c1a266','2402852','wait',39,'ari17112337378,753000005')
20240418@074554.6510 rpnp9ltcucku2tkrr1b576v2qp Query : use flama_phc
20240418@074554.6513 rpnp9ltcucku2tkrr1b576v2qp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240418@074554.6527 rpnp9ltcucku2tkrr1b576v2qp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1236';
20240418@074554.6549 rpnp9ltcucku2tkrr1b576v2qp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1236';
20240418@074554.6565 rpnp9ltcucku2tkrr1b576v2qp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1236';
20240418@074554.6578 rpnp9ltcucku2tkrr1b576v2qp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1236';
20240418@074554.6982 h5bt1m32nidt4voscg29a4usd4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
