20230428@170619.6640 087p6i81vk50vlf7b8uba4aa18 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be40879644beefae0','','wait',39,'ari17112337378,753000005')
20230428@170619.7310 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170619.7340 087p6i81vk50vlf7b8uba4aa18 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170619.7480 087p6i81vk50vlf7b8uba4aa18 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='94';
20230428@170619.7600 087p6i81vk50vlf7b8uba4aa18 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='94';
20230428@170619.7690 087p6i81vk50vlf7b8uba4aa18 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='94';
20230428@170619.7790 087p6i81vk50vlf7b8uba4aa18 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='94';
20230428@170619.1888 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170619.1903 qvpb9r9uvmfid5a2aum7ue3g4q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170619.1915 qvpb9r9uvmfid5a2aum7ue3g4q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='95';
20230428@170619.1951 qvpb9r9uvmfid5a2aum7ue3g4q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='95';
20230428@170619.1962 qvpb9r9uvmfid5a2aum7ue3g4q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='95';
20230428@170619.1972 qvpb9r9uvmfid5a2aum7ue3g4q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='95';
20230428@170619.1981 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.1984 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170619.1996 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.1999 qvpb9r9uvmfid5a2aum7ue3g4q Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20230428@170619.2031 qvpb9r9uvmfid5a2aum7ue3g4q 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'
20230428@170619.2129 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.4970.00.1' and bi.lordem =1
20230428@170619.2429 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.959.00.01'
20230428@170619.2533 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.959.00.01' and bi.lordem =2
20230428@170619.2837 qvpb9r9uvmfid5a2aum7ue3g4q 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'
20230428@170619.2933 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.1608.00.1' and bi.lordem =3
20230428@170619.3213 qvpb9r9uvmfid5a2aum7ue3g4q 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'
20230428@170619.3308 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.4990.00.1' and bi.lordem =4
20230428@170619.3624 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.3628 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170619.3641 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.3644 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170619.3655 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.3658 qvpb9r9uvmfid5a2aum7ue3g4q Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170619.3689 qvpb9r9uvmfid5a2aum7ue3g4q 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
20230428@170619.3705 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.3708 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20230428@170619.3737 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.3740 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170619.3750 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.3753 qvpb9r9uvmfid5a2aum7ue3g4q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170619.3767 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.3770 qvpb9r9uvmfid5a2aum7ue3g4q Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20230428@170619.3781 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.3784 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from td where ndoc = 39
20230428@170619.3794 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170619.3806 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170619.3819 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170619.3829 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170619.3844 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170619.3863 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170619.3870 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170619.3910 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170619.3920 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170619.3926 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be44430644beefb5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.3931 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170619.3944 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170619.3949 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be44430644beefb5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.3953 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170619.3963 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170619.3976 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170619.3986 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be44430644beefb5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44,101846,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170619.4296 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.4300 qvpb9r9uvmfid5a2aum7ue3g4q Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230428@170619.4314 qvpb9r9uvmfid5a2aum7ue3g4q 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'
20230428@170619.4463 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.4476 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170619.4485 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.4498 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170619.4502 qvpb9r9uvmfid5a2aum7ue3g4q Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230428@170619.4513 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170619.4522 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.4533 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170619.4542 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be30958644beefb6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644be44430644beefb5e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170619.4815 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.4831 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170619.4836 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be30958644beefb6e','aut644be44430644beefb5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.4864 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.4875 qvpb9r9uvmfid5a2aum7ue3g4q Query : select st.usalote valor from st where st.ref = '324.959.00.01'
20230428@170619.4888 qvpb9r9uvmfid5a2aum7ue3g4q 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.959.00.01'
20230428@170619.5019 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.5034 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170619.5065 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.5079 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170619.5083 qvpb9r9uvmfid5a2aum7ue3g4q Query : select sestamp valor from se where ref ='324.959.00.01' and lote = 'r2100174200a'
20230428@170619.5099 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170619.5109 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.5123 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170619.5134 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be02192644beefb7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644be44430644beefb5e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230428@170619.5436 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.5459 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170619.5463 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be02192644beefb7c','aut644be44430644beefb5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.5468 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.5470 qvpb9r9uvmfid5a2aum7ue3g4q Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20230428@170619.5482 qvpb9r9uvmfid5a2aum7ue3g4q 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'
20230428@170619.5598 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.5612 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170619.5624 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.5638 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170619.5643 qvpb9r9uvmfid5a2aum7ue3g4q Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r200144720'
20230428@170619.5666 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170619.5682 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.5694 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170619.5704 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be19280644beefb8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644be44430644beefb5e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230428@170619.5971 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.5987 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170619.5992 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be19280644beefb8a','aut644be44430644beefb5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.5997 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.6001 qvpb9r9uvmfid5a2aum7ue3g4q Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20230428@170619.6012 qvpb9r9uvmfid5a2aum7ue3g4q 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'
20230428@170619.6162 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.6176 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170619.6188 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.6200 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170619.6205 qvpb9r9uvmfid5a2aum7ue3g4q Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20230428@170619.6216 qvpb9r9uvmfid5a2aum7ue3g4q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170619.6231 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.6245 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170619.6255 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be27463644beefb98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644be44430644beefb5e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230428@170619.6526 qvpb9r9uvmfid5a2aum7ue3g4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.6543 qvpb9r9uvmfid5a2aum7ue3g4q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170619.6547 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be27463644beefb98','aut644be44430644beefb5e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.6553 qvpb9r9uvmfid5a2aum7ue3g4q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be44430644beefb5e','','wait',39,'ari17112337378,753000005')
20230428@170619.6571 qvpb9r9uvmfid5a2aum7ue3g4q Query : use flama_phc
20230428@170619.6574 qvpb9r9uvmfid5a2aum7ue3g4q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170619.6585 qvpb9r9uvmfid5a2aum7ue3g4q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='95';
20230428@170619.6597 qvpb9r9uvmfid5a2aum7ue3g4q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='95';
20230428@170619.6607 qvpb9r9uvmfid5a2aum7ue3g4q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='95';
20230428@170619.6617 qvpb9r9uvmfid5a2aum7ue3g4q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='95';
20230428@170619.6916 78c05ap8cvohdr1majmlga7302 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170619.6930 78c05ap8cvohdr1majmlga7302 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170619.6943 78c05ap8cvohdr1majmlga7302 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='96';
20230428@170619.6984 78c05ap8cvohdr1majmlga7302 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='96';
20230428@170619.6995 78c05ap8cvohdr1majmlga7302 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='96';
20230428@170619.7005 78c05ap8cvohdr1majmlga7302 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='96';
20230428@170619.7015 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.7018 78c05ap8cvohdr1majmlga7302 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170619.7030 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.7033 78c05ap8cvohdr1majmlga7302 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20230428@170619.7103 78c05ap8cvohdr1majmlga7302 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'
20230428@170619.7233 78c05ap8cvohdr1majmlga7302 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1470.00.1' and bi.lordem =1
20230428@170619.7576 78c05ap8cvohdr1majmlga7302 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'
20230428@170619.7676 78c05ap8cvohdr1majmlga7302 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.4421.00.1' and bi.lordem =2
20230428@170619.8353 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.8436 78c05ap8cvohdr1majmlga7302 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170619.8825 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.8835 78c05ap8cvohdr1majmlga7302 Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170619.8850 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.8853 78c05ap8cvohdr1majmlga7302 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170619.8866 78c05ap8cvohdr1majmlga7302 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
20230428@170619.8880 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.8883 78c05ap8cvohdr1majmlga7302 Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20230428@170619.8969 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.8972 78c05ap8cvohdr1majmlga7302 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170619.8984 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.8988 78c05ap8cvohdr1majmlga7302 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170619.9000 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.9003 78c05ap8cvohdr1majmlga7302 Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20230428@170619.9016 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.9019 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from td where ndoc = 39
20230428@170619.9029 78c05ap8cvohdr1majmlga7302 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170619.9041 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170619.9057 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170619.9067 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170619.9081 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170619.9086 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170619.9092 78c05ap8cvohdr1majmlga7302 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170619.9139 78c05ap8cvohdr1majmlga7302 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170619.9181 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170619.9189 78c05ap8cvohdr1majmlga7302 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be76075644beefbdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.9194 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170619.9216 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170619.9221 78c05ap8cvohdr1majmlga7302 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be76075644beefbdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.9226 78c05ap8cvohdr1majmlga7302 Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170619.9237 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170619.9251 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170619.9261 78c05ap8cvohdr1majmlga7302 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be76075644beefbdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',45,102040,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170619.9563 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170619.9567 78c05ap8cvohdr1majmlga7302 Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20230428@170619.9581 78c05ap8cvohdr1majmlga7302 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'
20230428@170619.9699 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.9714 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170619.9725 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.9746 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170619.9751 78c05ap8cvohdr1majmlga7302 Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20230428@170619.9768 78c05ap8cvohdr1majmlga7302 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170619.9778 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.9790 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170619.9800 78c05ap8cvohdr1majmlga7302 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be43177644beefbee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644be76075644beefbdd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170620.7400 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.9000 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170620.9500 78c05ap8cvohdr1majmlga7302 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be43177644beefbee','aut644be76075644beefbdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.1000 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170620.1040 78c05ap8cvohdr1majmlga7302 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20230428@170620.1150 78c05ap8cvohdr1majmlga7302 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'
20230428@170620.2310 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.2450 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170620.2580 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.2730 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170620.2780 78c05ap8cvohdr1majmlga7302 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20230428@170620.2960 78c05ap8cvohdr1majmlga7302 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170620.3060 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.3190 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170620.3290 78c05ap8cvohdr1majmlga7302 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be31036644beefc07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3 ,'aut644be76075644beefbdd' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230428@170620.6040 78c05ap8cvohdr1majmlga7302 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.6200 78c05ap8cvohdr1majmlga7302 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170620.6250 78c05ap8cvohdr1majmlga7302 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be31036644beefc07','aut644be76075644beefbdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.6300 78c05ap8cvohdr1majmlga7302 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be76075644beefbdd','','wait',39,'ari17112337378,753000005')
20230428@170620.6470 78c05ap8cvohdr1majmlga7302 Query : use flama_phc
20230428@170620.6500 78c05ap8cvohdr1majmlga7302 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170620.6610 78c05ap8cvohdr1majmlga7302 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='96';
20230428@170620.6730 78c05ap8cvohdr1majmlga7302 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='96';
20230428@170620.6860 78c05ap8cvohdr1majmlga7302 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='96';
20230428@170620.6970 78c05ap8cvohdr1majmlga7302 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='96';
20230428@170620.1013 9omhun24p97oefmbtn20k8oq65 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170620.1026 9omhun24p97oefmbtn20k8oq65 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170620.1040 9omhun24p97oefmbtn20k8oq65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='97';
20230428@170620.1085 9omhun24p97oefmbtn20k8oq65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='97';
20230428@170620.1096 9omhun24p97oefmbtn20k8oq65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='97';
20230428@170620.1111 9omhun24p97oefmbtn20k8oq65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='97';
20230428@170620.1122 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1125 9omhun24p97oefmbtn20k8oq65 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170620.1138 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1143 9omhun24p97oefmbtn20k8oq65 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20230428@170620.1176 9omhun24p97oefmbtn20k8oq65 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230428@170620.1189 9omhun24p97oefmbtn20k8oq65 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1824.00.1' and bi.lordem =1
20230428@170620.1516 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1520 9omhun24p97oefmbtn20k8oq65 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170620.1535 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1538 9omhun24p97oefmbtn20k8oq65 Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170620.1549 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1552 9omhun24p97oefmbtn20k8oq65 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170620.1563 9omhun24p97oefmbtn20k8oq65 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
20230428@170620.1579 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1582 9omhun24p97oefmbtn20k8oq65 Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20230428@170620.1593 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1596 9omhun24p97oefmbtn20k8oq65 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170620.1607 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1610 9omhun24p97oefmbtn20k8oq65 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170620.1622 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1625 9omhun24p97oefmbtn20k8oq65 Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20230428@170620.1637 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.1641 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from td where ndoc = 39
20230428@170620.1651 9omhun24p97oefmbtn20k8oq65 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170620.1664 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170620.1679 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170620.1689 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170620.1703 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170620.1707 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170620.1714 9omhun24p97oefmbtn20k8oq65 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170620.1755 9omhun24p97oefmbtn20k8oq65 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170620.1765 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170620.1771 9omhun24p97oefmbtn20k8oq65 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be71684644beefc29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.1777 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170620.1790 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170620.1795 9omhun24p97oefmbtn20k8oq65 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be71684644beefc29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.1807 9omhun24p97oefmbtn20k8oq65 Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170620.1818 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170620.1832 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170620.1843 9omhun24p97oefmbtn20k8oq65 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be71684644beefc29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',46,102040,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170620.2157 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.2239 9omhun24p97oefmbtn20k8oq65 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230428@170620.2654 9omhun24p97oefmbtn20k8oq65 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230428@170620.2725 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.2761 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170620.2773 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.2790 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170620.2795 9omhun24p97oefmbtn20k8oq65 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230428@170620.2810 9omhun24p97oefmbtn20k8oq65 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170620.2822 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.2836 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170620.2849 9omhun24p97oefmbtn20k8oq65 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be17944644beefc44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644be71684644beefc29' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170620.3119 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.3138 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170620.3144 9omhun24p97oefmbtn20k8oq65 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be17944644beefc44','aut644be71684644beefc29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.3149 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.3165 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170620.3197 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.3211 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170620.3217 9omhun24p97oefmbtn20k8oq65 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170620.3231 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.3246 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170620.3268 9omhun24p97oefmbtn20k8oq65 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be07652644beefc4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be71684644beefc29' ,0,0 ,2,23.00,20000,?,?,?)
20230428@170620.3534 9omhun24p97oefmbtn20k8oq65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.3556 9omhun24p97oefmbtn20k8oq65 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170620.3561 9omhun24p97oefmbtn20k8oq65 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be07652644beefc4e','aut644be71684644beefc29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.3566 9omhun24p97oefmbtn20k8oq65 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be71684644beefc29','','wait',39,'ari17112337378,753000005')
20230428@170620.3586 9omhun24p97oefmbtn20k8oq65 Query : use flama_phc
20230428@170620.3589 9omhun24p97oefmbtn20k8oq65 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170620.3604 9omhun24p97oefmbtn20k8oq65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='97';
20230428@170620.3618 9omhun24p97oefmbtn20k8oq65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='97';
20230428@170620.3631 9omhun24p97oefmbtn20k8oq65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='97';
20230428@170620.3644 9omhun24p97oefmbtn20k8oq65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='97';
20230428@170620.3953 klkc0s53lb6jjo9ip52bset6jd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170620.3966 klkc0s53lb6jjo9ip52bset6jd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170620.3981 klkc0s53lb6jjo9ip52bset6jd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='98';
20230428@170620.4023 klkc0s53lb6jjo9ip52bset6jd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='98';
20230428@170620.4035 klkc0s53lb6jjo9ip52bset6jd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='98';
20230428@170620.4050 klkc0s53lb6jjo9ip52bset6jd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='98';
20230428@170620.4061 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.4064 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170620.4091 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.4095 klkc0s53lb6jjo9ip52bset6jd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4788
20230428@170620.4167 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.959.00.01'
20230428@170620.4180 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.959.00.01' and bi.lordem =1
20230428@170620.4482 klkc0s53lb6jjo9ip52bset6jd 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'
20230428@170620.4495 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4990.00.1' and bi.lordem =2
20230428@170620.4865 klkc0s53lb6jjo9ip52bset6jd 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'
20230428@170620.4878 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.4421.00.1' and bi.lordem =3
20230428@170620.5182 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5186 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170620.5212 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5216 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170620.5227 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5230 klkc0s53lb6jjo9ip52bset6jd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170620.5241 klkc0s53lb6jjo9ip52bset6jd 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
20230428@170620.5257 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5260 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 ~inactivo valor from cl where no = '102044' and estab = 0 order by inactivo desc
20230428@170620.5346 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5349 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170620.5361 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5364 klkc0s53lb6jjo9ip52bset6jd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170620.5380 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5383 klkc0s53lb6jjo9ip52bset6jd Query : select szadrsstamp valor from szadrs where szadrsdesc='102044 - media markt leiria-prod.inf.e electrÓnicos,lda'
20230428@170620.5397 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5400 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from td where ndoc = 39
20230428@170620.5429 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170620.5440 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170620.5454 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170620.5466 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170620.5479 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170620.5485 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170620.5491 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170620.5533 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170620.5543 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170620.5549 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be49166644beefc86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.5555 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170620.5567 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170620.5572 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be49166644beefc86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.5576 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170620.5588 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170620.5601 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170620.5612 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be49166644beefc86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',47,102044,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170620.5917 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.5922 klkc0s53lb6jjo9ip52bset6jd Query : select st.usalote valor from st where st.ref = '324.959.00.01'
20230428@170620.5934 klkc0s53lb6jjo9ip52bset6jd 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.959.00.01'
20230428@170620.5946 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.5971 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170620.5983 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.5997 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170620.6002 klkc0s53lb6jjo9ip52bset6jd Query : select sestamp valor from se where ref ='324.959.00.01' and lote = 'r2100174200a'
20230428@170620.6013 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170620.6023 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.6037 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170620.6048 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be75327644beefc93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644be49166644beefc86' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170620.6333 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.6351 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170620.6356 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be75327644beefc93','aut644be49166644beefc86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.6361 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.6364 klkc0s53lb6jjo9ip52bset6jd Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20230428@170620.6376 klkc0s53lb6jjo9ip52bset6jd 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'
20230428@170620.6400 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.6415 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170620.6425 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.6438 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170620.6444 klkc0s53lb6jjo9ip52bset6jd Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20230428@170620.6454 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170620.6465 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.6478 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170620.6494 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be53808644beefc9d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644be49166644beefc86' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230428@170620.6767 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.6782 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170620.6787 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be53808644beefc9d','aut644be49166644beefc86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.6792 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.6795 klkc0s53lb6jjo9ip52bset6jd Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20230428@170620.6806 klkc0s53lb6jjo9ip52bset6jd 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'
20230428@170620.6818 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.6832 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170620.6843 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.6855 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170620.6941 klkc0s53lb6jjo9ip52bset6jd Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20230428@170620.7396 klkc0s53lb6jjo9ip52bset6jd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170620.7459 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170620.7475 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170620.7486 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be35775644beefcb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3 ,'aut644be49166644beefc86' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230428@170620.7769 klkc0s53lb6jjo9ip52bset6jd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170620.7815 klkc0s53lb6jjo9ip52bset6jd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170620.7820 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be35775644beefcb6','aut644be49166644beefc86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170620.7826 klkc0s53lb6jjo9ip52bset6jd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be49166644beefc86','','wait',39,'ari17112337378,753000005')
20230428@170620.7844 klkc0s53lb6jjo9ip52bset6jd Query : use flama_phc
20230428@170620.7847 klkc0s53lb6jjo9ip52bset6jd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170620.7860 klkc0s53lb6jjo9ip52bset6jd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='98';
20230428@170620.7871 klkc0s53lb6jjo9ip52bset6jd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='98';
20230428@170620.7881 klkc0s53lb6jjo9ip52bset6jd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='98';
20230428@170620.7891 klkc0s53lb6jjo9ip52bset6jd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='98';
20230428@170620.8248 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170620.8261 fl2d54u2hbhmu4fk3fd8u3m659 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170620.8274 fl2d54u2hbhmu4fk3fd8u3m659 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='99';
20230428@170620.8322 fl2d54u2hbhmu4fk3fd8u3m659 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='99';
20230428@170620.8333 fl2d54u2hbhmu4fk3fd8u3m659 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='99';
20230428@170620.8344 fl2d54u2hbhmu4fk3fd8u3m659 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='99';
20230428@170620.8354 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170620.8358 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170620.8380 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170620.8383 fl2d54u2hbhmu4fk3fd8u3m659 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20230428@170620.8453 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4211.00.1'
20230428@170620.8556 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='304.4211.00.1' and bi.lordem =1
20230428@170620.8869 fl2d54u2hbhmu4fk3fd8u3m659 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'
20230428@170620.8975 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='304.4320.00.1' and bi.lordem =2
20230428@170620.9278 fl2d54u2hbhmu4fk3fd8u3m659 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'
20230428@170620.9290 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='304.4320.00.1' and bi.lordem =2
20230428@170620.9296 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20230428@170620.9400 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.1716.00.1' and bi.lordem =3
20230428@170620.9695 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2262.00.1'
20230428@170620.9795 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.2262.00.1' and bi.lordem =4
20230428@170621.1980 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20230428@170621.2100 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.4902.00.1' and bi.lordem =5
20230428@170621.5100 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.5140 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170621.5310 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.5340 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170621.5450 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.5480 fl2d54u2hbhmu4fk3fd8u3m659 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170621.5680 fl2d54u2hbhmu4fk3fd8u3m659 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
20230428@170621.5830 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.5860 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20230428@170621.6700 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.6740 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170621.6850 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.6880 fl2d54u2hbhmu4fk3fd8u3m659 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170621.7030 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.7060 fl2d54u2hbhmu4fk3fd8u3m659 Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20230428@170621.7190 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.7220 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from td where ndoc = 39
20230428@170621.7320 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170621.7440 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170621.7580 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170621.7670 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170621.7810 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170621.7850 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170621.7920 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170621.8790 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170621.8890 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170621.8960 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be51784644beefd13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.9020 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170621.9160 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170621.9200 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be51784644beefd13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.9250 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170621.9360 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170621.9510 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170621.9610 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be51784644beefd13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48,199510,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170621.1403 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.1591 fl2d54u2hbhmu4fk3fd8u3m659 Query : select st.usalote valor from st where st.ref = '304.4211.00.1'
20230428@170621.1723 fl2d54u2hbhmu4fk3fd8u3m659 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.4211.00.1'
20230428@170621.1865 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.1881 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.1892 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.1907 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.1912 fl2d54u2hbhmu4fk3fd8u3m659 Query : select sestamp valor from se where ref ='304.4211.00.1' and lote = '220034'
20230428@170621.1941 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.1953 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.1966 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.1978 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be12046644beefd2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20 ,'aut644be51784644beefd13' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170621.2285 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.2303 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.2308 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be12046644beefd2f','aut644be51784644beefd13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.2314 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.2330 fl2d54u2hbhmu4fk3fd8u3m659 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230428@170621.2344 fl2d54u2hbhmu4fk3fd8u3m659 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'
20230428@170621.2458 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.2480 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.2491 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.2504 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.2512 fl2d54u2hbhmu4fk3fd8u3m659 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230428@170621.2524 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.2534 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.2547 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.2557 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be12484644beefd3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',300 ,'aut644be51784644beefd13' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230428@170621.2825 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.2854 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.2859 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be12484644beefd3d','aut644be51784644beefd13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.2871 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.2875 fl2d54u2hbhmu4fk3fd8u3m659 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230428@170621.2886 fl2d54u2hbhmu4fk3fd8u3m659 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'
20230428@170621.2897 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.2911 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.2921 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.2933 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.2938 fl2d54u2hbhmu4fk3fd8u3m659 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230547'
20230428@170621.2955 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.2965 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.2978 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.2990 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be08307644beefd48',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',300 ,'aut644be51784644beefd13' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230428@170621.3266 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.3283 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.3288 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be08307644beefd48','aut644be51784644beefd13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.3293 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.3297 fl2d54u2hbhmu4fk3fd8u3m659 Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20230428@170621.3309 fl2d54u2hbhmu4fk3fd8u3m659 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.1716.00.1'
20230428@170621.3427 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.3442 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.3452 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.3465 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.3469 fl2d54u2hbhmu4fk3fd8u3m659 Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100893150a'
20230428@170621.3482 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.3492 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.3506 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.3517 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be47029644beefd55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32 ,'aut644be51784644beefd13' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230428@170621.3801 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.3816 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.3821 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be47029644beefd55','aut644be51784644beefd13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.3825 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.3829 fl2d54u2hbhmu4fk3fd8u3m659 Query : select st.usalote valor from st where st.ref = '324.2262.00.1'
20230428@170621.3841 fl2d54u2hbhmu4fk3fd8u3m659 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.2262.00.1'
20230428@170621.3955 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.3972 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.3982 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.3998 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.4002 fl2d54u2hbhmu4fk3fd8u3m659 Query : select sestamp valor from se where ref ='324.2262.00.1' and lote = 'r2001478100a'
20230428@170621.4014 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.4024 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.4038 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.4048 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be77375644beefd62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10 ,'aut644be51784644beefd13' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230428@170621.4337 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.4353 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.4357 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be77375644beefd62','aut644be51784644beefd13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.4362 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.4366 fl2d54u2hbhmu4fk3fd8u3m659 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230428@170621.4377 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20230428@170621.4389 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.4403 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.4419 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.4431 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.4435 fl2d54u2hbhmu4fk3fd8u3m659 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230428@170621.4446 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.4465 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.4478 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.4492 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be18450644beefd6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60 ,'aut644be51784644beefd13' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230428@170621.4759 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.4778 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.4782 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be18450644beefd6d','aut644be51784644beefd13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.4788 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.4804 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.4814 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.4827 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.4831 fl2d54u2hbhmu4fk3fd8u3m659 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.4841 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.4853 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.4863 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be20933644beefd76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be51784644beefd13' ,0,0 ,2,23.00,70000,?,?,?)
20230428@170621.5143 fl2d54u2hbhmu4fk3fd8u3m659 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.5159 fl2d54u2hbhmu4fk3fd8u3m659 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.5163 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be20933644beefd76','aut644be51784644beefd13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.5168 fl2d54u2hbhmu4fk3fd8u3m659 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be51784644beefd13','','wait',39,'ari17112337378,753000005')
20230428@170621.5186 fl2d54u2hbhmu4fk3fd8u3m659 Query : use flama_phc
20230428@170621.5189 fl2d54u2hbhmu4fk3fd8u3m659 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170621.5203 fl2d54u2hbhmu4fk3fd8u3m659 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='99';
20230428@170621.5214 fl2d54u2hbhmu4fk3fd8u3m659 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='99';
20230428@170621.5226 fl2d54u2hbhmu4fk3fd8u3m659 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='99';
20230428@170621.5237 fl2d54u2hbhmu4fk3fd8u3m659 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='99';
20230428@170621.6145 7ft4t9beljm2srt43i3o75fl0p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170621.6175 7ft4t9beljm2srt43i3o75fl0p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170621.6188 7ft4t9beljm2srt43i3o75fl0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='100';
20230428@170621.6422 7ft4t9beljm2srt43i3o75fl0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='100';
20230428@170621.6435 7ft4t9beljm2srt43i3o75fl0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='100';
20230428@170621.6449 7ft4t9beljm2srt43i3o75fl0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='100';
20230428@170621.6464 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.6469 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170621.6482 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.6485 7ft4t9beljm2srt43i3o75fl0p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20230428@170621.6520 7ft4t9beljm2srt43i3o75fl0p 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'
20230428@170621.6530 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='324.1608.00.1' and bi.lordem =1
20230428@170621.7149 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.1'
20230428@170621.7384 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='324.1642.00.1' and bi.lordem =2
20230428@170621.7715 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230428@170621.7836 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='324.1684.00.1' and bi.lordem =3
20230428@170621.8155 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8160 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170621.8175 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8179 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170621.8191 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8194 7ft4t9beljm2srt43i3o75fl0p Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170621.8207 7ft4t9beljm2srt43i3o75fl0p 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
20230428@170621.8222 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8225 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20230428@170621.8234 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8237 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170621.8247 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8249 7ft4t9beljm2srt43i3o75fl0p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170621.8259 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8262 7ft4t9beljm2srt43i3o75fl0p Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20230428@170621.8274 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8276 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from td where ndoc = 39
20230428@170621.8286 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170621.8297 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170621.8310 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170621.8320 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170621.8334 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170621.8338 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170621.8345 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170621.8385 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170621.8395 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170621.8401 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be40033644beefdcb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.8406 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170621.8418 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170621.8422 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be40033644beefdcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.8426 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170621.8437 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170621.8452 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170621.8463 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be40033644beefdcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',49,199510,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170621.8831 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.8835 7ft4t9beljm2srt43i3o75fl0p Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20230428@170621.8847 7ft4t9beljm2srt43i3o75fl0p 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'
20230428@170621.8859 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.8873 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.8883 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.8897 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.8902 7ft4t9beljm2srt43i3o75fl0p Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r200144720'
20230428@170621.8913 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.8922 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.8935 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.8945 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be74497644beefdd9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48 ,'aut644be40033644beefdcb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170621.9222 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.9238 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.9242 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be74497644beefdd9','aut644be40033644beefdcb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.9247 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.9251 7ft4t9beljm2srt43i3o75fl0p Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230428@170621.9262 7ft4t9beljm2srt43i3o75fl0p 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.1642.00.1'
20230428@170621.9390 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.9406 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.9416 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.9429 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170621.9434 7ft4t9beljm2srt43i3o75fl0p Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230428@170621.9445 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170621.9455 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.9467 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170621.9477 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be73907644beefde6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',50 ,'aut644be40033644beefdcb' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230428@170621.9786 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.9802 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170621.9807 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be73907644beefde6','aut644be40033644beefdcb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170621.9812 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170621.9815 7ft4t9beljm2srt43i3o75fl0p Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230428@170621.9828 7ft4t9beljm2srt43i3o75fl0p 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.1684.00.1'
20230428@170621.9961 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170621.9976 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170621.9985 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170621.9999 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170622.3000 7ft4t9beljm2srt43i3o75fl0p Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230428@170622.1700 7ft4t9beljm2srt43i3o75fl0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170622.3700 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.4900 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170622.5900 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be86272644beefe00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100 ,'aut644be40033644beefdcb' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230428@170622.3340 7ft4t9beljm2srt43i3o75fl0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.3510 7ft4t9beljm2srt43i3o75fl0p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170622.3560 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be86272644beefe00','aut644be40033644beefdcb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.3610 7ft4t9beljm2srt43i3o75fl0p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be40033644beefdcb','','wait',39,'ari17112337378,753000005')
20230428@170622.3770 7ft4t9beljm2srt43i3o75fl0p Query : use flama_phc
20230428@170622.3800 7ft4t9beljm2srt43i3o75fl0p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170622.3910 7ft4t9beljm2srt43i3o75fl0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='100';
20230428@170622.4030 7ft4t9beljm2srt43i3o75fl0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='100';
20230428@170622.4150 7ft4t9beljm2srt43i3o75fl0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='100';
20230428@170622.4250 7ft4t9beljm2srt43i3o75fl0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='100';
20230428@170622.8530 66i8go61a40cdvhhp77shqsp6o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170622.8660 66i8go61a40cdvhhp77shqsp6o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170622.8800 66i8go61a40cdvhhp77shqsp6o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='101';
20230428@170622.9180 66i8go61a40cdvhhp77shqsp6o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='101';
20230428@170622.9290 66i8go61a40cdvhhp77shqsp6o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='101';
20230428@170622.9400 66i8go61a40cdvhhp77shqsp6o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='101';
20230428@170622.9520 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.9550 66i8go61a40cdvhhp77shqsp6o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170622.9680 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.9710 66i8go61a40cdvhhp77shqsp6o Query : select no, estab,szadrsdesc from szadrs where u_coddest=3674
20230428@170622.1042 66i8go61a40cdvhhp77shqsp6o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20230428@170622.1149 66i8go61a40cdvhhp77shqsp6o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 2 and bi.ref ='324.5343.00.1' and bi.lordem =1
20230428@170622.1466 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.1471 66i8go61a40cdvhhp77shqsp6o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170622.1484 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.1487 66i8go61a40cdvhhp77shqsp6o Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170622.1498 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.1541 66i8go61a40cdvhhp77shqsp6o Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170622.2156 66i8go61a40cdvhhp77shqsp6o 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
20230428@170622.2173 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.2176 66i8go61a40cdvhhp77shqsp6o Query : select top 1 ~inactivo valor from cl where no = '199524' and estab = 0 order by inactivo desc
20230428@170622.2262 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.2266 66i8go61a40cdvhhp77shqsp6o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170622.2276 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.2279 66i8go61a40cdvhhp77shqsp6o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170622.2289 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.2291 66i8go61a40cdvhhp77shqsp6o Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- az'
20230428@170622.2304 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.2307 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from td where ndoc = 39
20230428@170622.2316 66i8go61a40cdvhhp77shqsp6o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170622.2327 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170622.2339 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170622.2348 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170622.2360 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170622.2364 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170622.2370 66i8go61a40cdvhhp77shqsp6o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170622.2410 66i8go61a40cdvhhp77shqsp6o Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170622.2419 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170622.2425 66i8go61a40cdvhhp77shqsp6o Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be64918644beefe39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.2430 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170622.2442 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170622.2446 66i8go61a40cdvhhp77shqsp6o Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be64918644beefe39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.2451 66i8go61a40cdvhhp77shqsp6o Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170622.2462 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170622.2476 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170622.2485 66i8go61a40cdvhhp77shqsp6o Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be64918644beefe39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',50,199524,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170622.2853 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.2857 66i8go61a40cdvhhp77shqsp6o Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20230428@170622.2870 66i8go61a40cdvhhp77shqsp6o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20230428@170622.2987 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.3005 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170622.3015 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.3030 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170622.3035 66i8go61a40cdvhhp77shqsp6o Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2100244100a'
20230428@170622.3047 66i8go61a40cdvhhp77shqsp6o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170622.3057 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.3070 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170622.3080 66i8go61a40cdvhhp77shqsp6o Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be90613644beefe4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',198 ,'aut644be64918644beefe39' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170622.3511 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.4058 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170622.4169 66i8go61a40cdvhhp77shqsp6o Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be90613644beefe4a','aut644be64918644beefe39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.4228 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.4290 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170622.4300 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.4313 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170622.4317 66i8go61a40cdvhhp77shqsp6o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170622.4326 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.4338 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170622.4348 66i8go61a40cdvhhp77shqsp6o Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be86944644beefe69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be64918644beefe39' ,0,0 ,2,23.00,20000,?,?,?)
20230428@170622.4627 66i8go61a40cdvhhp77shqsp6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.4642 66i8go61a40cdvhhp77shqsp6o Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170622.4647 66i8go61a40cdvhhp77shqsp6o Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be86944644beefe69','aut644be64918644beefe39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.4651 66i8go61a40cdvhhp77shqsp6o Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be64918644beefe39','','wait',39,'ari17112337378,753000005')
20230428@170622.4669 66i8go61a40cdvhhp77shqsp6o Query : use flama_phc
20230428@170622.4671 66i8go61a40cdvhhp77shqsp6o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170622.4683 66i8go61a40cdvhhp77shqsp6o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='101';
20230428@170622.4695 66i8go61a40cdvhhp77shqsp6o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='101';
20230428@170622.4705 66i8go61a40cdvhhp77shqsp6o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='101';
20230428@170622.4715 66i8go61a40cdvhhp77shqsp6o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='101';
20230428@170622.5004 ksoigaatpe8k6v02f84hrhjgpt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170622.5020 ksoigaatpe8k6v02f84hrhjgpt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170622.5034 ksoigaatpe8k6v02f84hrhjgpt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='102';
20230428@170622.5071 ksoigaatpe8k6v02f84hrhjgpt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='102';
20230428@170622.5082 ksoigaatpe8k6v02f84hrhjgpt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='102';
20230428@170622.5092 ksoigaatpe8k6v02f84hrhjgpt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='102';
20230428@170622.5102 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5105 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170622.5117 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5120 ksoigaatpe8k6v02f84hrhjgpt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20230428@170622.5156 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20230428@170622.5167 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.4902.00.1' and bi.lordem =1
20230428@170622.5476 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20230428@170622.5487 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.4906.00.1' and bi.lordem =2
20230428@170622.5810 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5814 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170622.5826 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5829 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170622.5838 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5840 ksoigaatpe8k6v02f84hrhjgpt Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170622.5851 ksoigaatpe8k6v02f84hrhjgpt 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
20230428@170622.5863 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5866 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20230428@170622.5876 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5878 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170622.5889 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5892 ksoigaatpe8k6v02f84hrhjgpt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170622.5903 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5906 ksoigaatpe8k6v02f84hrhjgpt Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20230428@170622.5917 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.5920 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from td where ndoc = 39
20230428@170622.5930 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170622.5941 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170622.5955 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170622.5964 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170622.5977 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170622.5981 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170622.5987 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170622.6029 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170622.6038 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170622.6044 ksoigaatpe8k6v02f84hrhjgpt Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be59095644beefe92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.6055 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170622.6069 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170622.6073 ksoigaatpe8k6v02f84hrhjgpt Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be59095644beefe92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.6083 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170622.6094 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170622.6107 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170622.6117 ksoigaatpe8k6v02f84hrhjgpt Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be59095644beefe92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',51,199510,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170622.6423 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.6427 ksoigaatpe8k6v02f84hrhjgpt Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230428@170622.6439 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20230428@170622.6451 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.6468 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170622.6478 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.6491 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170622.6496 ksoigaatpe8k6v02f84hrhjgpt Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230428@170622.6507 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170622.6517 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.6529 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170622.6539 ksoigaatpe8k6v02f84hrhjgpt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be38905644beefe9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100 ,'aut644be59095644beefe92' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170622.6854 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.7359 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170622.7367 ksoigaatpe8k6v02f84hrhjgpt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be38905644beefe9f','aut644be59095644beefe92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.7374 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.7389 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170622.7402 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.7415 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170622.7420 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170622.7430 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.7445 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170622.7455 ksoigaatpe8k6v02f84hrhjgpt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be68905644beefeb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be59095644beefe92' ,0,0 ,2,23.00,20000,?,?,?)
20230428@170622.7730 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.7747 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170622.7752 ksoigaatpe8k6v02f84hrhjgpt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be68905644beefeb5','aut644be59095644beefe92' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170622.7757 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.7762 ksoigaatpe8k6v02f84hrhjgpt Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230428@170622.7786 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20230428@170622.7799 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.7814 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170622.7825 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170622.7839 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170622.7844 ksoigaatpe8k6v02f84hrhjgpt Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2200756100a'
20230428@170622.7848 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170622.7859 ksoigaatpe8k6v02f84hrhjgpt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170622.7871 ksoigaatpe8k6v02f84hrhjgpt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170622.7881 ksoigaatpe8k6v02f84hrhjgpt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be72662644beefebf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644be59095644beefe92' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230428@170622.8201 ksoigaatpe8k6v02f84hrhjgpt Query : use flama_phc
20230428@170622.8205 ksoigaatpe8k6v02f84hrhjgpt Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230428@170622.8217 ksoigaatpe8k6v02f84hrhjgpt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='102';
20230428@170622.8230 ksoigaatpe8k6v02f84hrhjgpt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='102';
20230428@170622.8547 j173aa8uc5tn7p0i1b5cbsge7m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170622.8560 j173aa8uc5tn7p0i1b5cbsge7m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170622.8575 j173aa8uc5tn7p0i1b5cbsge7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='103';
20230428@170622.8614 j173aa8uc5tn7p0i1b5cbsge7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='103';
20230428@170622.8625 j173aa8uc5tn7p0i1b5cbsge7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='103';
20230428@170622.8636 j173aa8uc5tn7p0i1b5cbsge7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='103';
20230428@170622.8648 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170622.8651 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170622.8666 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170622.8669 j173aa8uc5tn7p0i1b5cbsge7m Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20230428@170622.8736 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230428@170622.8749 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 5 and bi.ref ='324.1684.00.1' and bi.lordem =1
20230428@170622.9058 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170622.9063 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170622.9081 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170622.9084 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170622.9096 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170622.9100 j173aa8uc5tn7p0i1b5cbsge7m Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170622.9111 j173aa8uc5tn7p0i1b5cbsge7m 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
20230428@170622.9128 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170622.9132 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230428@170622.9249 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170622.9254 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170622.9514 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170622.9596 j173aa8uc5tn7p0i1b5cbsge7m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170623.1000 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170623.8400 j173aa8uc5tn7p0i1b5cbsge7m Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20230428@170623.3450 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170623.3480 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from td where ndoc = 39
20230428@170623.3590 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170623.3700 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170623.3840 j173aa8uc5tn7p0i1b5cbsge7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170623.3940 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170623.4080 j173aa8uc5tn7p0i1b5cbsge7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170623.4120 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170623.4200 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170623.4740 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170623.8890 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170623.1036 j173aa8uc5tn7p0i1b5cbsge7m Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be34246644beeff0a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.1050 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170623.1065 j173aa8uc5tn7p0i1b5cbsge7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170623.1070 j173aa8uc5tn7p0i1b5cbsge7m Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be34246644beeff0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.1074 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170623.1085 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170623.1097 j173aa8uc5tn7p0i1b5cbsge7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170623.1107 j173aa8uc5tn7p0i1b5cbsge7m Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be34246644beeff0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',51,101597,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170623.1396 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170623.1400 j173aa8uc5tn7p0i1b5cbsge7m Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230428@170623.1411 j173aa8uc5tn7p0i1b5cbsge7m 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.1684.00.1'
20230428@170623.1422 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.1435 j173aa8uc5tn7p0i1b5cbsge7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170623.1444 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.1457 j173aa8uc5tn7p0i1b5cbsge7m Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170623.1461 j173aa8uc5tn7p0i1b5cbsge7m Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230428@170623.1470 j173aa8uc5tn7p0i1b5cbsge7m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170623.1479 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.1490 j173aa8uc5tn7p0i1b5cbsge7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170623.1499 j173aa8uc5tn7p0i1b5cbsge7m Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be28584644beeff24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',450 ,'aut644be34246644beeff0a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170623.1746 j173aa8uc5tn7p0i1b5cbsge7m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.1760 j173aa8uc5tn7p0i1b5cbsge7m Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170623.1765 j173aa8uc5tn7p0i1b5cbsge7m Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be28584644beeff24','aut644be34246644beeff0a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.1770 j173aa8uc5tn7p0i1b5cbsge7m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be34246644beeff0a','','wait',39,'ari17112337378,753000005')
20230428@170623.1785 j173aa8uc5tn7p0i1b5cbsge7m Query : use flama_phc
20230428@170623.1788 j173aa8uc5tn7p0i1b5cbsge7m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170623.1798 j173aa8uc5tn7p0i1b5cbsge7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='103';
20230428@170623.1809 j173aa8uc5tn7p0i1b5cbsge7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='103';
20230428@170623.1819 j173aa8uc5tn7p0i1b5cbsge7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='103';
20230428@170623.1836 j173aa8uc5tn7p0i1b5cbsge7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='103';
20230428@170623.2451 asl32gi6u8lvldolno8rekhdhd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170623.2462 asl32gi6u8lvldolno8rekhdhd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170623.2476 asl32gi6u8lvldolno8rekhdhd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='104';
20230428@170623.2515 asl32gi6u8lvldolno8rekhdhd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='104';
20230428@170623.2526 asl32gi6u8lvldolno8rekhdhd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='104';
20230428@170623.2536 asl32gi6u8lvldolno8rekhdhd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='104';
20230428@170623.2547 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.2550 asl32gi6u8lvldolno8rekhdhd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170623.2563 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.2566 asl32gi6u8lvldolno8rekhdhd Query : select no, estab,szadrsdesc from szadrs where u_coddest=542
20230428@170623.2633 asl32gi6u8lvldolno8rekhdhd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230428@170623.2644 asl32gi6u8lvldolno8rekhdhd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 0 and bi.ref ='324.1824.00.1' and bi.lordem =2
20230428@170623.2940 asl32gi6u8lvldolno8rekhdhd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230428@170623.2952 asl32gi6u8lvldolno8rekhdhd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 0 and bi.ref ='324.1824.00.1' and bi.lordem =3
20230428@170623.3474 asl32gi6u8lvldolno8rekhdhd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20230428@170623.3847 asl32gi6u8lvldolno8rekhdhd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 0 and bi.ref ='324.4980.00.1' and bi.lordem =4
20230428@170623.4140 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4144 asl32gi6u8lvldolno8rekhdhd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170623.4156 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4159 asl32gi6u8lvldolno8rekhdhd Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170623.4168 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4171 asl32gi6u8lvldolno8rekhdhd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170623.4181 asl32gi6u8lvldolno8rekhdhd 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
20230428@170623.4195 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4198 asl32gi6u8lvldolno8rekhdhd Query : select top 1 ~inactivo valor from cl where no = '100974' and estab = 0 order by inactivo desc
20230428@170623.4279 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4282 asl32gi6u8lvldolno8rekhdhd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170623.4292 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4295 asl32gi6u8lvldolno8rekhdhd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170623.4306 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4309 asl32gi6u8lvldolno8rekhdhd Query : select szadrsstamp valor from szadrs where szadrsdesc='marques soares, s.a.'
20230428@170623.4322 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4325 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from td where ndoc = 39
20230428@170623.4335 asl32gi6u8lvldolno8rekhdhd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170623.4346 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170623.4361 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170623.4370 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170623.4383 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170623.4387 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170623.4394 asl32gi6u8lvldolno8rekhdhd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170623.4435 asl32gi6u8lvldolno8rekhdhd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170623.4445 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170623.4451 asl32gi6u8lvldolno8rekhdhd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be64765644beeff6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.4456 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170623.4469 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170623.4473 asl32gi6u8lvldolno8rekhdhd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be64765644beeff6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.4478 asl32gi6u8lvldolno8rekhdhd Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170623.4488 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170623.4502 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170623.4512 asl32gi6u8lvldolno8rekhdhd Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be64765644beeff6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52,100974,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170623.4812 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.4816 asl32gi6u8lvldolno8rekhdhd Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230428@170623.4828 asl32gi6u8lvldolno8rekhdhd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230428@170623.4839 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.4857 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170623.4867 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.4881 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170623.4885 asl32gi6u8lvldolno8rekhdhd Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230428@170623.4895 asl32gi6u8lvldolno8rekhdhd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170623.4905 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.4919 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170623.4929 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be37825644beeff77',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9 ,'aut644be64765644beeff6b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170623.5187 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.5211 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170623.5216 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be37825644beeff77','aut644be64765644beeff6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.5221 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.5235 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170623.5245 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.5258 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170623.5262 asl32gi6u8lvldolno8rekhdhd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170623.5272 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.5284 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170623.5294 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be62678644beeff80',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be64765644beeff6b' ,0,0 ,2,23.00,20000,?,?,?)
20230428@170623.5580 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.5598 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170623.5603 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be62678644beeff80','aut644be64765644beeff6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.5607 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.5610 asl32gi6u8lvldolno8rekhdhd Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230428@170623.5622 asl32gi6u8lvldolno8rekhdhd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230428@170623.5654 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.6028 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170623.6439 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.6725 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170623.6733 asl32gi6u8lvldolno8rekhdhd Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230428@170623.6744 asl32gi6u8lvldolno8rekhdhd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170623.6753 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.6774 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170623.6784 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be20818644beeffa4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644be64765644beeff6b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230428@170623.7082 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.7101 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170623.7105 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be20818644beeffa4','aut644be64765644beeff6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.7110 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.7127 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170623.7137 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.7149 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170623.7154 asl32gi6u8lvldolno8rekhdhd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170623.7170 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.7182 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170623.7193 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be08698644beeffaf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be64765644beeff6b' ,0,0 ,2,23.00,50000,?,?,?)
20230428@170623.7472 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.7487 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170623.7492 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be08698644beeffaf','aut644be64765644beeff6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.7497 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.7500 asl32gi6u8lvldolno8rekhdhd Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20230428@170623.7515 asl32gi6u8lvldolno8rekhdhd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20230428@170623.7630 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.7644 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170623.7654 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.7668 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170623.7672 asl32gi6u8lvldolno8rekhdhd Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2100553200a'
20230428@170623.7960 asl32gi6u8lvldolno8rekhdhd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170623.7972 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170623.8107 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170623.8335 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be73412644beeffc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644be64765644beeff6b' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230428@170623.8612 asl32gi6u8lvldolno8rekhdhd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170623.8630 asl32gi6u8lvldolno8rekhdhd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170623.8635 asl32gi6u8lvldolno8rekhdhd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be73412644beeffc2','aut644be64765644beeff6b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170623.8640 asl32gi6u8lvldolno8rekhdhd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be64765644beeff6b','','wait',39,'ari17112337378,753000005')
20230428@170623.8659 asl32gi6u8lvldolno8rekhdhd Query : use flama_phc
20230428@170623.8662 asl32gi6u8lvldolno8rekhdhd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170623.8677 asl32gi6u8lvldolno8rekhdhd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='104';
20230428@170623.8690 asl32gi6u8lvldolno8rekhdhd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='104';
20230428@170623.8699 asl32gi6u8lvldolno8rekhdhd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='104';
20230428@170623.8709 asl32gi6u8lvldolno8rekhdhd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='104';
20230428@170623.9007 f8a7futkld2meptetjm7shamf4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170623.9056 f8a7futkld2meptetjm7shamf4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170623.9073 f8a7futkld2meptetjm7shamf4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='105';
20230428@170623.9131 f8a7futkld2meptetjm7shamf4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='105';
20230428@170623.9144 f8a7futkld2meptetjm7shamf4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='105';
20230428@170623.9155 f8a7futkld2meptetjm7shamf4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='105';
20230428@170623.9164 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170623.9167 f8a7futkld2meptetjm7shamf4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170623.9181 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170623.9184 f8a7futkld2meptetjm7shamf4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=908
20230428@170623.9279 f8a7futkld2meptetjm7shamf4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20230428@170623.9415 f8a7futkld2meptetjm7shamf4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 1 and bi.ref ='324.5500.00.1' and bi.lordem =1
20230428@170623.9758 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170623.9762 f8a7futkld2meptetjm7shamf4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170623.9788 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170623.9792 f8a7futkld2meptetjm7shamf4 Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170623.9802 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170623.9805 f8a7futkld2meptetjm7shamf4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170623.9816 f8a7futkld2meptetjm7shamf4 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
20230428@170623.9831 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170623.9835 f8a7futkld2meptetjm7shamf4 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230428@170623.9961 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170623.9965 f8a7futkld2meptetjm7shamf4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170623.9984 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170623.9988 f8a7futkld2meptetjm7shamf4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170624.1400 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170624.1800 f8a7futkld2meptetjm7shamf4 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda-aveiro'
20230428@170624.3300 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170624.3600 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from td where ndoc = 39
20230428@170624.4700 f8a7futkld2meptetjm7shamf4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170624.6000 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170624.8100 f8a7futkld2meptetjm7shamf4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170624.9200 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170624.1050 f8a7futkld2meptetjm7shamf4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170624.1100 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170624.1170 f8a7futkld2meptetjm7shamf4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170624.1640 f8a7futkld2meptetjm7shamf4 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170624.1740 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170624.1800 f8a7futkld2meptetjm7shamf4 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be34057644bef0002' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.1850 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170624.2140 f8a7futkld2meptetjm7shamf4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170624.2180 f8a7futkld2meptetjm7shamf4 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be34057644bef0002',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.2230 f8a7futkld2meptetjm7shamf4 Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170624.2340 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170624.2470 f8a7futkld2meptetjm7shamf4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170624.2590 f8a7futkld2meptetjm7shamf4 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be34057644bef0002',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',53,101621,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170624.5590 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170624.7210 f8a7futkld2meptetjm7shamf4 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230428@170624.1480 f8a7futkld2meptetjm7shamf4 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.5500.00.1'
20230428@170624.1741 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.1754 f8a7futkld2meptetjm7shamf4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170624.1763 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.1775 f8a7futkld2meptetjm7shamf4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170624.1798 f8a7futkld2meptetjm7shamf4 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230428@170624.1808 f8a7futkld2meptetjm7shamf4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170624.1817 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.1828 f8a7futkld2meptetjm7shamf4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170624.1837 f8a7futkld2meptetjm7shamf4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be66829644bef002c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644be34057644bef0002' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170624.2080 f8a7futkld2meptetjm7shamf4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.2095 f8a7futkld2meptetjm7shamf4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170624.2100 f8a7futkld2meptetjm7shamf4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be66829644bef002c','aut644be34057644bef0002' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.2105 f8a7futkld2meptetjm7shamf4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be34057644bef0002','','wait',39,'ari17112337378,753000005')
20230428@170624.2120 f8a7futkld2meptetjm7shamf4 Query : use flama_phc
20230428@170624.2123 f8a7futkld2meptetjm7shamf4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170624.2134 f8a7futkld2meptetjm7shamf4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='105';
20230428@170624.2159 f8a7futkld2meptetjm7shamf4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='105';
20230428@170624.2168 f8a7futkld2meptetjm7shamf4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='105';
20230428@170624.2178 f8a7futkld2meptetjm7shamf4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='105';
20230428@170624.2496 qapp6eu36n9o5sji27j4qlg8qp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170624.2509 qapp6eu36n9o5sji27j4qlg8qp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170624.2526 qapp6eu36n9o5sji27j4qlg8qp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='106';
20230428@170624.2578 qapp6eu36n9o5sji27j4qlg8qp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='106';
20230428@170624.2590 qapp6eu36n9o5sji27j4qlg8qp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='106';
20230428@170624.2601 qapp6eu36n9o5sji27j4qlg8qp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='106';
20230428@170624.2611 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.2615 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170624.2647 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.2651 qapp6eu36n9o5sji27j4qlg8qp Query : select no, estab,szadrsdesc from szadrs where u_coddest=1453
20230428@170624.2734 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20230428@170624.2746 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.5500.00.1' and bi.lordem =1
20230428@170624.3051 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20230428@170624.3062 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.5500.00.1' and bi.lordem =2
20230428@170624.3414 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.3418 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170624.3433 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.3436 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170624.3449 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.3452 qapp6eu36n9o5sji27j4qlg8qp Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170624.3464 qapp6eu36n9o5sji27j4qlg8qp 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
20230428@170624.3481 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.3484 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230428@170624.3495 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.3499 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170624.3510 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.3513 qapp6eu36n9o5sji27j4qlg8qp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170624.3524 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.3528 qapp6eu36n9o5sji27j4qlg8qp Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - batalha'
20230428@170624.3542 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.3545 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from td where ndoc = 39
20230428@170624.3556 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170624.3568 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170624.3584 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170624.3595 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170624.3611 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170624.3615 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170624.3623 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170624.3671 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170624.3681 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170624.3687 qapp6eu36n9o5sji27j4qlg8qp Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be99282644bef0058' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.3692 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170624.3705 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170624.3709 qapp6eu36n9o5sji27j4qlg8qp Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be99282644bef0058',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.3713 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170624.3724 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170624.3738 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170624.3748 qapp6eu36n9o5sji27j4qlg8qp Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be99282644bef0058',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',54,101621,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170624.4026 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.4030 qapp6eu36n9o5sji27j4qlg8qp Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230428@170624.4042 qapp6eu36n9o5sji27j4qlg8qp 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.5500.00.1'
20230428@170624.4053 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.4067 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170624.4077 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.4090 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170624.4094 qapp6eu36n9o5sji27j4qlg8qp Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230428@170624.4104 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170624.4114 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.4125 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170624.4135 qapp6eu36n9o5sji27j4qlg8qp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be25279644bef0064',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644be99282644bef0058' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170624.4382 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.4397 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170624.4402 qapp6eu36n9o5sji27j4qlg8qp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be25279644bef0064','aut644be99282644bef0058' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.4406 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.4409 qapp6eu36n9o5sji27j4qlg8qp Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230428@170624.4419 qapp6eu36n9o5sji27j4qlg8qp 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.5500.00.1'
20230428@170624.4429 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.4440 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170624.4450 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.4460 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170624.4464 qapp6eu36n9o5sji27j4qlg8qp Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230428@170624.4473 qapp6eu36n9o5sji27j4qlg8qp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170624.4482 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.4493 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170624.4503 qapp6eu36n9o5sji27j4qlg8qp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be30216644bef006d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644be99282644bef0058' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230428@170624.4751 qapp6eu36n9o5sji27j4qlg8qp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.4766 qapp6eu36n9o5sji27j4qlg8qp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170624.4770 qapp6eu36n9o5sji27j4qlg8qp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be30216644bef006d','aut644be99282644bef0058' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.4776 qapp6eu36n9o5sji27j4qlg8qp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be99282644bef0058','','wait',39,'ari17112337378,753000005')
20230428@170624.4791 qapp6eu36n9o5sji27j4qlg8qp Query : use flama_phc
20230428@170624.4794 qapp6eu36n9o5sji27j4qlg8qp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170624.4805 qapp6eu36n9o5sji27j4qlg8qp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='106';
20230428@170624.4815 qapp6eu36n9o5sji27j4qlg8qp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='106';
20230428@170624.4825 qapp6eu36n9o5sji27j4qlg8qp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='106';
20230428@170624.4835 qapp6eu36n9o5sji27j4qlg8qp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='106';
20230428@170624.5185 vqp4md7id4lrbutkshp70255ud Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170624.5200 vqp4md7id4lrbutkshp70255ud Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170624.5213 vqp4md7id4lrbutkshp70255ud Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='107';
20230428@170624.5250 vqp4md7id4lrbutkshp70255ud Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='107';
20230428@170624.5261 vqp4md7id4lrbutkshp70255ud Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='107';
20230428@170624.5271 vqp4md7id4lrbutkshp70255ud Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='107';
20230428@170624.5281 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5284 vqp4md7id4lrbutkshp70255ud Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170624.5296 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5299 vqp4md7id4lrbutkshp70255ud Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20230428@170624.5365 vqp4md7id4lrbutkshp70255ud Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20230428@170624.5376 vqp4md7id4lrbutkshp70255ud Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 3 and bi.ref ='324.1716.00.1' and bi.lordem =1
20230428@170624.5670 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5674 vqp4md7id4lrbutkshp70255ud Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170624.5686 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5689 vqp4md7id4lrbutkshp70255ud Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170624.5699 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5701 vqp4md7id4lrbutkshp70255ud Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170624.5712 vqp4md7id4lrbutkshp70255ud 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
20230428@170624.5726 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5730 vqp4md7id4lrbutkshp70255ud Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230428@170624.5742 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5745 vqp4md7id4lrbutkshp70255ud Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170624.5756 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5760 vqp4md7id4lrbutkshp70255ud Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170624.5773 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5776 vqp4md7id4lrbutkshp70255ud Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20230428@170624.5789 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.5792 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from td where ndoc = 39
20230428@170624.5801 vqp4md7id4lrbutkshp70255ud Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170624.5812 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170624.5829 vqp4md7id4lrbutkshp70255ud Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170624.5840 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170624.5854 vqp4md7id4lrbutkshp70255ud Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170624.5859 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170624.5866 vqp4md7id4lrbutkshp70255ud Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170624.5907 vqp4md7id4lrbutkshp70255ud Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170624.5918 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170624.5924 vqp4md7id4lrbutkshp70255ud Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be16650644bef008f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.5930 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170624.5944 vqp4md7id4lrbutkshp70255ud Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170624.5948 vqp4md7id4lrbutkshp70255ud Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be16650644bef008f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.5952 vqp4md7id4lrbutkshp70255ud Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170624.5963 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170624.5977 vqp4md7id4lrbutkshp70255ud Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170624.5995 vqp4md7id4lrbutkshp70255ud Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be16650644bef008f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',55,101621,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170624.6298 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.6304 vqp4md7id4lrbutkshp70255ud Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20230428@170624.6316 vqp4md7id4lrbutkshp70255ud 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.1716.00.1'
20230428@170624.6329 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.6344 vqp4md7id4lrbutkshp70255ud Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170624.6356 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.6370 vqp4md7id4lrbutkshp70255ud Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170624.6374 vqp4md7id4lrbutkshp70255ud Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100893150a'
20230428@170624.6386 vqp4md7id4lrbutkshp70255ud Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170624.6396 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.6409 vqp4md7id4lrbutkshp70255ud Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170624.6419 vqp4md7id4lrbutkshp70255ud Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be61822644bef009c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644be16650644bef008f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170624.6708 vqp4md7id4lrbutkshp70255ud Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.6726 vqp4md7id4lrbutkshp70255ud Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170624.6771 vqp4md7id4lrbutkshp70255ud Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be61822644bef009c','aut644be16650644bef008f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.6897 vqp4md7id4lrbutkshp70255ud Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be16650644bef008f','','wait',39,'ari17112337378,753000005')
20230428@170624.7558 vqp4md7id4lrbutkshp70255ud Query : use flama_phc
20230428@170624.7613 vqp4md7id4lrbutkshp70255ud Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170624.7682 vqp4md7id4lrbutkshp70255ud Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='107';
20230428@170624.7713 vqp4md7id4lrbutkshp70255ud Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='107';
20230428@170624.7732 vqp4md7id4lrbutkshp70255ud Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='107';
20230428@170624.7742 vqp4md7id4lrbutkshp70255ud Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='107';
20230428@170624.8051 jubksrasrg6vjenephldm6usrd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170624.8065 jubksrasrg6vjenephldm6usrd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170624.8078 jubksrasrg6vjenephldm6usrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='108';
20230428@170624.8116 jubksrasrg6vjenephldm6usrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='108';
20230428@170624.8127 jubksrasrg6vjenephldm6usrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='108';
20230428@170624.8138 jubksrasrg6vjenephldm6usrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='108';
20230428@170624.8149 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8152 jubksrasrg6vjenephldm6usrd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170624.8165 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8169 jubksrasrg6vjenephldm6usrd Query : select no, estab,szadrsdesc from szadrs where u_coddest=2021
20230428@170624.8251 jubksrasrg6vjenephldm6usrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20230428@170624.8353 jubksrasrg6vjenephldm6usrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 4 and bi.ref ='324.4910.00.1' and bi.lordem =1
20230428@170624.8695 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8700 jubksrasrg6vjenephldm6usrd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170624.8717 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8720 jubksrasrg6vjenephldm6usrd Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170624.8732 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8736 jubksrasrg6vjenephldm6usrd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170624.8748 jubksrasrg6vjenephldm6usrd 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
20230428@170624.8766 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8769 jubksrasrg6vjenephldm6usrd Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230428@170624.8779 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8782 jubksrasrg6vjenephldm6usrd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170624.8793 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8796 jubksrasrg6vjenephldm6usrd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170624.8807 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8810 jubksrasrg6vjenephldm6usrd Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m corroios'
20230428@170624.8881 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.8884 jubksrasrg6vjenephldm6usrd Query : select 1 valor from td where ndoc = 39
20230428@170624.8894 jubksrasrg6vjenephldm6usrd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170624.8906 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170624.8919 jubksrasrg6vjenephldm6usrd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170624.8929 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170624.8941 jubksrasrg6vjenephldm6usrd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170624.8946 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170624.8952 jubksrasrg6vjenephldm6usrd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170624.8993 jubksrasrg6vjenephldm6usrd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170624.9003 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170624.9009 jubksrasrg6vjenephldm6usrd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be31211644bef00da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.9014 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170624.9070 jubksrasrg6vjenephldm6usrd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170624.9074 jubksrasrg6vjenephldm6usrd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be31211644bef00da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.9079 jubksrasrg6vjenephldm6usrd Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170624.9089 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170624.9103 jubksrasrg6vjenephldm6usrd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170624.9112 jubksrasrg6vjenephldm6usrd Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be31211644bef00da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56,101621,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170624.9440 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.9444 jubksrasrg6vjenephldm6usrd Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20230428@170624.9466 jubksrasrg6vjenephldm6usrd 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.4910.00.1'
20230428@170624.9578 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.9592 jubksrasrg6vjenephldm6usrd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170624.9602 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.9616 jubksrasrg6vjenephldm6usrd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170624.9620 jubksrasrg6vjenephldm6usrd Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20230428@170624.9632 jubksrasrg6vjenephldm6usrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170624.9642 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170624.9655 jubksrasrg6vjenephldm6usrd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170624.9666 jubksrasrg6vjenephldm6usrd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be53196644bef00eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644be31211644bef00da' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170624.9932 jubksrasrg6vjenephldm6usrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170624.9953 jubksrasrg6vjenephldm6usrd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170624.9959 jubksrasrg6vjenephldm6usrd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be53196644bef00eb','aut644be31211644bef00da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170624.9965 jubksrasrg6vjenephldm6usrd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be31211644bef00da','','wait',39,'ari17112337378,753000005')
20230428@170624.9986 jubksrasrg6vjenephldm6usrd Query : use flama_phc
20230428@170624.9989 jubksrasrg6vjenephldm6usrd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170625.2000 jubksrasrg6vjenephldm6usrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='108';
20230428@170625.2000 jubksrasrg6vjenephldm6usrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='108';
20230428@170625.3000 jubksrasrg6vjenephldm6usrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='108';
20230428@170625.4100 jubksrasrg6vjenephldm6usrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='108';
20230428@170625.3960 tcq3ha9198un5hrfddrp74m30t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170625.4090 tcq3ha9198un5hrfddrp74m30t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170625.4230 tcq3ha9198un5hrfddrp74m30t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='109';
20230428@170625.4620 tcq3ha9198un5hrfddrp74m30t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='109';
20230428@170625.4740 tcq3ha9198un5hrfddrp74m30t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='109';
20230428@170625.4850 tcq3ha9198un5hrfddrp74m30t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='109';
20230428@170625.5060 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.5100 tcq3ha9198un5hrfddrp74m30t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170625.5240 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.5270 tcq3ha9198un5hrfddrp74m30t Query : select no, estab,szadrsdesc from szadrs where u_coddest=2227
20230428@170625.5990 tcq3ha9198un5hrfddrp74m30t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20230428@170625.6120 tcq3ha9198un5hrfddrp74m30t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 5 and bi.ref ='324.4902.00.1' and bi.lordem =1
20230428@170625.9130 tcq3ha9198un5hrfddrp74m30t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20230428@170625.9280 tcq3ha9198un5hrfddrp74m30t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 5 and bi.ref ='324.4906.00.1' and bi.lordem =2
20230428@170625.1307 tcq3ha9198un5hrfddrp74m30t 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'
20230428@170625.1319 tcq3ha9198un5hrfddrp74m30t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 5 and bi.ref ='304.4320.00.1' and bi.lordem =3
20230428@170625.1629 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.1633 tcq3ha9198un5hrfddrp74m30t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170625.1646 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.1649 tcq3ha9198un5hrfddrp74m30t Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170625.1659 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.1662 tcq3ha9198un5hrfddrp74m30t Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170625.1673 tcq3ha9198un5hrfddrp74m30t 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
20230428@170625.1686 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.1689 tcq3ha9198un5hrfddrp74m30t Query : select top 1 ~inactivo valor from cl where no = '101428' and estab = 0 order by inactivo desc
20230428@170625.1775 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.1778 tcq3ha9198un5hrfddrp74m30t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170625.1788 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.1791 tcq3ha9198un5hrfddrp74m30t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170625.1801 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.1804 tcq3ha9198un5hrfddrp74m30t Query : select szadrsstamp valor from szadrs where szadrsdesc='el corte inglês - alcochete'
20230428@170625.1817 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.1820 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from td where ndoc = 39
20230428@170625.1830 tcq3ha9198un5hrfddrp74m30t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170625.1843 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170625.1856 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170625.1867 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170625.1879 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170625.1883 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170625.1889 tcq3ha9198un5hrfddrp74m30t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170625.1929 tcq3ha9198un5hrfddrp74m30t Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170625.1939 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170625.1945 tcq3ha9198un5hrfddrp74m30t Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be51535644bef012e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.1950 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170625.1963 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170625.1967 tcq3ha9198un5hrfddrp74m30t Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be51535644bef012e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.1971 tcq3ha9198un5hrfddrp74m30t Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170625.1982 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170625.1995 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170625.2004 tcq3ha9198un5hrfddrp74m30t Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be51535644bef012e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',57,101428,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170625.2291 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.2295 tcq3ha9198un5hrfddrp74m30t Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230428@170625.2307 tcq3ha9198un5hrfddrp74m30t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20230428@170625.2318 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.2331 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170625.2340 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170625.2353 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170625.2358 tcq3ha9198un5hrfddrp74m30t Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230428@170625.2367 tcq3ha9198un5hrfddrp74m30t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170625.2384 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.2397 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170625.2407 tcq3ha9198un5hrfddrp74m30t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be25792644bef013a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644be51535644bef012e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170625.2664 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170625.2681 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170625.2686 tcq3ha9198un5hrfddrp74m30t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be25792644bef013a','aut644be51535644bef012e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.2693 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.2707 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170625.2718 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170625.2730 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170625.2747 tcq3ha9198un5hrfddrp74m30t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170625.2761 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.2774 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170625.2785 tcq3ha9198un5hrfddrp74m30t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be30902644bef0143',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be51535644bef012e' ,0,0 ,2,23.00,20000,?,?,?)
20230428@170625.3059 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170625.3075 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170625.3081 tcq3ha9198un5hrfddrp74m30t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be30902644bef0143','aut644be51535644bef012e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.3086 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.3089 tcq3ha9198un5hrfddrp74m30t Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230428@170625.3102 tcq3ha9198un5hrfddrp74m30t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20230428@170625.3115 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.3129 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170625.3139 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170625.3152 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170625.3157 tcq3ha9198un5hrfddrp74m30t Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2200756100a'
20230428@170625.3162 tcq3ha9198un5hrfddrp74m30t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170625.3172 tcq3ha9198un5hrfddrp74m30t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.3185 tcq3ha9198un5hrfddrp74m30t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170625.3195 tcq3ha9198un5hrfddrp74m30t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be32391644bef014d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644be51535644bef012e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230428@170625.3458 tcq3ha9198un5hrfddrp74m30t Query : use flama_phc
20230428@170625.3463 tcq3ha9198un5hrfddrp74m30t Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230428@170625.3474 tcq3ha9198un5hrfddrp74m30t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='109';
20230428@170625.3485 tcq3ha9198un5hrfddrp74m30t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='109';
20230428@170625.3784 7fddlfmhdc34ghfui3nesi1m0u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170625.3797 7fddlfmhdc34ghfui3nesi1m0u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170625.3812 7fddlfmhdc34ghfui3nesi1m0u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='110';
20230428@170625.3850 7fddlfmhdc34ghfui3nesi1m0u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='110';
20230428@170625.3861 7fddlfmhdc34ghfui3nesi1m0u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='110';
20230428@170625.3871 7fddlfmhdc34ghfui3nesi1m0u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='110';
20230428@170625.3881 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.3884 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170625.3896 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.3899 7fddlfmhdc34ghfui3nesi1m0u Query : select no, estab,szadrsdesc from szadrs where u_coddest=3674
20230428@170625.3932 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20230428@170625.4036 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 6 and bi.ref ='324.5501.00.1' and bi.lordem =1
20230428@170625.4341 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.4345 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170625.4358 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.4361 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170625.4371 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.4373 7fddlfmhdc34ghfui3nesi1m0u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170625.4384 7fddlfmhdc34ghfui3nesi1m0u 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
20230428@170625.4397 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.4400 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 ~inactivo valor from cl where no = '199524' and estab = 0 order by inactivo desc
20230428@170625.4410 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.4413 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170625.4423 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.4426 7fddlfmhdc34ghfui3nesi1m0u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170625.4436 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.4439 7fddlfmhdc34ghfui3nesi1m0u Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- az'
20230428@170625.4451 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.4454 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from td where ndoc = 39
20230428@170625.4463 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170625.4474 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170625.4488 7fddlfmhdc34ghfui3nesi1m0u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170625.4497 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170625.4510 7fddlfmhdc34ghfui3nesi1m0u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170625.4514 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170625.4520 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170625.4561 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170625.4571 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170625.4579 7fddlfmhdc34ghfui3nesi1m0u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be30165644bef016e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.4584 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170625.4596 7fddlfmhdc34ghfui3nesi1m0u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170625.4600 7fddlfmhdc34ghfui3nesi1m0u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be30165644bef016e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.4605 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170625.4615 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170625.4627 7fddlfmhdc34ghfui3nesi1m0u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170625.4636 7fddlfmhdc34ghfui3nesi1m0u Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be30165644bef016e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',57,199524,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170625.5179 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.5346 7fddlfmhdc34ghfui3nesi1m0u Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20230428@170625.5762 7fddlfmhdc34ghfui3nesi1m0u 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.5501.00.1'
20230428@170625.5940 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.5954 7fddlfmhdc34ghfui3nesi1m0u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170625.5963 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170625.5977 7fddlfmhdc34ghfui3nesi1m0u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170625.5982 7fddlfmhdc34ghfui3nesi1m0u Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2200800200a'
20230428@170625.5992 7fddlfmhdc34ghfui3nesi1m0u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170625.6002 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.6015 7fddlfmhdc34ghfui3nesi1m0u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170625.6025 7fddlfmhdc34ghfui3nesi1m0u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be73167644bef0192',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',220 ,'aut644be30165644bef016e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170625.6283 7fddlfmhdc34ghfui3nesi1m0u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170625.6299 7fddlfmhdc34ghfui3nesi1m0u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170625.6304 7fddlfmhdc34ghfui3nesi1m0u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be73167644bef0192','aut644be30165644bef016e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.6309 7fddlfmhdc34ghfui3nesi1m0u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be30165644bef016e','','wait',39,'ari17112337378,753000005')
20230428@170625.6326 7fddlfmhdc34ghfui3nesi1m0u Query : use flama_phc
20230428@170625.6329 7fddlfmhdc34ghfui3nesi1m0u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170625.6340 7fddlfmhdc34ghfui3nesi1m0u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='110';
20230428@170625.6351 7fddlfmhdc34ghfui3nesi1m0u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='110';
20230428@170625.6360 7fddlfmhdc34ghfui3nesi1m0u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='110';
20230428@170625.6370 7fddlfmhdc34ghfui3nesi1m0u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='110';
20230428@170625.6725 doclh6vl9dq3uv9l60t1u6mhb0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170625.6737 doclh6vl9dq3uv9l60t1u6mhb0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170625.6750 doclh6vl9dq3uv9l60t1u6mhb0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='111';
20230428@170625.6787 doclh6vl9dq3uv9l60t1u6mhb0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='111';
20230428@170625.6799 doclh6vl9dq3uv9l60t1u6mhb0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='111';
20230428@170625.6809 doclh6vl9dq3uv9l60t1u6mhb0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='111';
20230428@170625.6818 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.6821 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170625.6834 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.6836 doclh6vl9dq3uv9l60t1u6mhb0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20230428@170625.6905 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20230428@170625.6914 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 7 and bi.ref ='324.4906.00.1' and bi.lordem =1
20230428@170625.7198 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7202 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170625.7215 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7217 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170625.7227 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7230 doclh6vl9dq3uv9l60t1u6mhb0 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170625.7239 doclh6vl9dq3uv9l60t1u6mhb0 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
20230428@170625.7254 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7257 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20230428@170625.7346 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7350 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170625.7360 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7363 doclh6vl9dq3uv9l60t1u6mhb0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170625.7373 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7376 doclh6vl9dq3uv9l60t1u6mhb0 Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20230428@170625.7390 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7392 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from td where ndoc = 39
20230428@170625.7402 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170625.7414 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170625.7428 doclh6vl9dq3uv9l60t1u6mhb0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170625.7438 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170625.7460 doclh6vl9dq3uv9l60t1u6mhb0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170625.7464 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170625.7471 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170625.7515 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170625.7525 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170625.7531 doclh6vl9dq3uv9l60t1u6mhb0 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be63609644bef01b6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.7537 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170625.7549 doclh6vl9dq3uv9l60t1u6mhb0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170625.7554 doclh6vl9dq3uv9l60t1u6mhb0 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be63609644bef01b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.7558 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170625.7569 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170625.7582 doclh6vl9dq3uv9l60t1u6mhb0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170625.7591 doclh6vl9dq3uv9l60t1u6mhb0 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be63609644bef01b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',58,100327,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170625.7883 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.7888 doclh6vl9dq3uv9l60t1u6mhb0 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230428@170625.7899 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20230428@170625.7910 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.7923 doclh6vl9dq3uv9l60t1u6mhb0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170625.7932 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170625.7947 doclh6vl9dq3uv9l60t1u6mhb0 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170625.7952 doclh6vl9dq3uv9l60t1u6mhb0 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2200756100a'
20230428@170625.7956 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170625.7965 doclh6vl9dq3uv9l60t1u6mhb0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170625.7977 doclh6vl9dq3uv9l60t1u6mhb0 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170625.7986 doclh6vl9dq3uv9l60t1u6mhb0 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be84504644bef01c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644be63609644bef01b6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170625.8265 doclh6vl9dq3uv9l60t1u6mhb0 Query : use flama_phc
20230428@170625.8269 doclh6vl9dq3uv9l60t1u6mhb0 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230428@170625.8280 doclh6vl9dq3uv9l60t1u6mhb0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='111';
20230428@170625.8292 doclh6vl9dq3uv9l60t1u6mhb0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='111';
20230428@170625.8592 c69ouhv5u91aamkmdgqu8cltf1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170625.8629 c69ouhv5u91aamkmdgqu8cltf1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170625.8643 c69ouhv5u91aamkmdgqu8cltf1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='112';
20230428@170625.8681 c69ouhv5u91aamkmdgqu8cltf1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='112';
20230428@170625.8692 c69ouhv5u91aamkmdgqu8cltf1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='112';
20230428@170625.8703 c69ouhv5u91aamkmdgqu8cltf1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='112';
20230428@170625.8721 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.8724 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170625.8736 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.8739 c69ouhv5u91aamkmdgqu8cltf1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2632
20230428@170625.8820 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20230428@170625.8913 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 8 and bi.ref ='324.642.00.01' and bi.lordem =1
20230428@170625.9193 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9197 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170625.9210 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9212 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170625.9222 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9226 c69ouhv5u91aamkmdgqu8cltf1 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170625.9237 c69ouhv5u91aamkmdgqu8cltf1 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
20230428@170625.9253 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9257 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230428@170625.9267 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9270 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170625.9280 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9283 c69ouhv5u91aamkmdgqu8cltf1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170625.9293 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9296 c69ouhv5u91aamkmdgqu8cltf1 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- braganÇa'
20230428@170625.9309 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9312 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from td where ndoc = 39
20230428@170625.9321 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170625.9332 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170625.9346 c69ouhv5u91aamkmdgqu8cltf1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170625.9355 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170625.9369 c69ouhv5u91aamkmdgqu8cltf1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170625.9373 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170625.9379 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170625.9419 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170625.9428 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170625.9434 c69ouhv5u91aamkmdgqu8cltf1 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be98691644bef01e4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.9439 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170625.9450 c69ouhv5u91aamkmdgqu8cltf1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170625.9455 c69ouhv5u91aamkmdgqu8cltf1 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be98691644bef01e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170625.9459 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170625.9470 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170625.9482 c69ouhv5u91aamkmdgqu8cltf1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170625.9491 c69ouhv5u91aamkmdgqu8cltf1 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be98691644bef01e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',58,101621,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170625.9769 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170625.9809 c69ouhv5u91aamkmdgqu8cltf1 Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20230428@170625.9863 c69ouhv5u91aamkmdgqu8cltf1 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.642.00.01'
20230428@170626.6700 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170626.8200 c69ouhv5u91aamkmdgqu8cltf1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170626.9300 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170626.1070 c69ouhv5u91aamkmdgqu8cltf1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170626.1120 c69ouhv5u91aamkmdgqu8cltf1 Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20230428@170626.1240 c69ouhv5u91aamkmdgqu8cltf1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170626.1340 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170626.1460 c69ouhv5u91aamkmdgqu8cltf1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170626.1560 c69ouhv5u91aamkmdgqu8cltf1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be03438644bef0203',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644be98691644bef01e4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170626.4190 c69ouhv5u91aamkmdgqu8cltf1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170626.4340 c69ouhv5u91aamkmdgqu8cltf1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170626.4380 c69ouhv5u91aamkmdgqu8cltf1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be03438644bef0203','aut644be98691644bef01e4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170626.4440 c69ouhv5u91aamkmdgqu8cltf1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644be98691644bef01e4','','wait',39,'ari17112337378,753000005')
20230428@170626.4600 c69ouhv5u91aamkmdgqu8cltf1 Query : use flama_phc
20230428@170626.4630 c69ouhv5u91aamkmdgqu8cltf1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230428@170626.4740 c69ouhv5u91aamkmdgqu8cltf1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='112';
20230428@170626.4850 c69ouhv5u91aamkmdgqu8cltf1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='112';
20230428@170626.4960 c69ouhv5u91aamkmdgqu8cltf1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='112';
20230428@170626.5070 c69ouhv5u91aamkmdgqu8cltf1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='112';
20230428@170626.1106 agesbo4vvlqe0c6f4lj7518snn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170626.1119 agesbo4vvlqe0c6f4lj7518snn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170626.1133 agesbo4vvlqe0c6f4lj7518snn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='113';
20230428@170626.1170 agesbo4vvlqe0c6f4lj7518snn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='113';
20230428@170626.1180 agesbo4vvlqe0c6f4lj7518snn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='113';
20230428@170626.1195 agesbo4vvlqe0c6f4lj7518snn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='113';
20230428@170626.1205 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.1208 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170626.1221 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.1225 agesbo4vvlqe0c6f4lj7518snn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230428@170626.1258 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4590.00.1'
20230428@170626.1363 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 9 and bi.ref ='324.4590.00.1' and bi.lordem =1
20230428@170626.1644 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20230428@170626.1696 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 9 and bi.ref ='324.1716.00.1' and bi.lordem =2
20230428@170626.2002 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20230428@170626.2098 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 9 and bi.ref ='324.969.00.01' and bi.lordem =3
20230428@170626.2573 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230428@170626.3211 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 9 and bi.ref ='324.2212.00.1' and bi.lordem =4
20230428@170626.4104 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20230428@170626.4484 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 9 and bi.ref ='324.1578.00.1' and bi.lordem =5
20230428@170626.5085 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230428@170626.5412 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 9 and bi.ref ='324.670.00.01' and bi.lordem =6
20230428@170626.6095 agesbo4vvlqe0c6f4lj7518snn 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'
20230428@170626.6476 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 9 and bi.ref ='324.1643.00.1' and bi.lordem =7
20230428@170626.7076 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.7118 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170626.7326 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.7368 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170626.7629 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.8039 agesbo4vvlqe0c6f4lj7518snn Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170626.8771 agesbo4vvlqe0c6f4lj7518snn 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
20230428@170626.9058 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.9100 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230428@170626.9307 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.9348 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170626.9554 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.9595 agesbo4vvlqe0c6f4lj7518snn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170626.9801 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.9843 agesbo4vvlqe0c6f4lj7518snn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230428@170626.9996 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170626.9999 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from td where ndoc = 39
20230428@170627.9000 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170627.2400 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170627.3800 agesbo4vvlqe0c6f4lj7518snn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170627.4700 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170627.6000 agesbo4vvlqe0c6f4lj7518snn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170627.6400 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170627.7100 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170627.1120 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170627.1210 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170627.1280 agesbo4vvlqe0c6f4lj7518snn Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be09678644bef0301' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170627.1330 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170627.1450 agesbo4vvlqe0c6f4lj7518snn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170627.1490 agesbo4vvlqe0c6f4lj7518snn Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be09678644bef0301',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170627.1530 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170627.1640 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170627.1760 agesbo4vvlqe0c6f4lj7518snn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170627.1860 agesbo4vvlqe0c6f4lj7518snn Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be09678644bef0301',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',59,100810,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170627.4720 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170627.4770 agesbo4vvlqe0c6f4lj7518snn Query : select st.usalote valor from st where st.ref = '324.4590.00.1'
20230428@170627.4890 agesbo4vvlqe0c6f4lj7518snn 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.4590.00.1'
20230428@170627.5940 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170627.6070 agesbo4vvlqe0c6f4lj7518snn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170627.6170 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170627.6300 agesbo4vvlqe0c6f4lj7518snn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170627.6340 agesbo4vvlqe0c6f4lj7518snn Query : select sestamp valor from se where ref ='324.4590.00.1' and lote = '12/17'
20230428@170627.6400 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170627.6490 agesbo4vvlqe0c6f4lj7518snn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170627.6610 agesbo4vvlqe0c6f4lj7518snn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170627.6710 agesbo4vvlqe0c6f4lj7518snn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be76391644bef030f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644be09678644bef0301' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170627.9200 agesbo4vvlqe0c6f4lj7518snn Query : use flama_phc
20230428@170627.9240 agesbo4vvlqe0c6f4lj7518snn Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230428@170627.9360 agesbo4vvlqe0c6f4lj7518snn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='113';
20230428@170627.9470 agesbo4vvlqe0c6f4lj7518snn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='113';

20230502@080011.6400 mkqo2vmqpif5b0u3n8e0se74ch Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='114';
20230502@080011.9600 mkqo2vmqpif5b0u3n8e0se74ch Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='114';
20230502@080011.1090 mkqo2vmqpif5b0u3n8e0se74ch Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='114';
20230502@080011.1200 mkqo2vmqpif5b0u3n8e0se74ch Query : use flama_phc
20230502@080011.1230 mkqo2vmqpif5b0u3n8e0se74ch Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230502@080011.1760 mkqo2vmqpif5b0u3n8e0se74ch Query : select no, estab,szadrsdesc from szadrs where u_coddest=39
20230502@080011.2460 mkqo2vmqpif5b0u3n8e0se74ch Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1685.00.1'
20230502@080011.3960 mkqo2vmqpif5b0u3n8e0se74ch Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =gt2 and bo.boano =2002 and bo.obrano = 0 and bi.ref ='324.1685.00.1' and bi.lordem =1
20230502@080011.8500 7dmcmo8gdpoh251hq3gb3ctttj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230502@080011.8900 7dmcmo8gdpoh251hq3gb3ctttj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230502@080011.9050 7dmcmo8gdpoh251hq3gb3ctttj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='115';
20230502@080011.9610 7dmcmo8gdpoh251hq3gb3ctttj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='115';
20230502@080011.9790 7dmcmo8gdpoh251hq3gb3ctttj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='115';
20230502@080011.1005 7dmcmo8gdpoh251hq3gb3ctttj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='115';

20230502@152755.2398 4agfqt4jkedld2fsgjlislb5rq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='116';
20230502@152755.2429 4agfqt4jkedld2fsgjlislb5rq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='116';
20230502@152755.2443 4agfqt4jkedld2fsgjlislb5rq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='116';
20230502@152755.2461 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152755.2465 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230502@152755.2510 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152755.2513 4agfqt4jkedld2fsgjlislb5rq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230502@152755.2578 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20230502@152755.2684 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.499.00.01' and bi.lordem =20000
20230502@152755.2992 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20230502@152755.3096 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1416.00.1' and bi.lordem =30000
20230502@152755.3379 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20230502@152755.3484 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.4910.00.1' and bi.lordem =40000
20230502@152755.4043 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20230502@152755.4154 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1406.00.1' and bi.lordem =50000
20230502@152755.4543 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230502@152755.4670 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='304.422.00.07' and bi.lordem =60000
20230502@152755.5126 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20230502@152755.5237 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.4980.00.1' and bi.lordem =70000
20230502@152755.5541 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20230502@152755.5552 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.4980.00.1' and bi.lordem =70000
20230502@152755.5558 4agfqt4jkedld2fsgjlislb5rq 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'
20230502@152755.5665 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='304.4320.00.1' and bi.lordem =80000
20230502@152755.5970 4agfqt4jkedld2fsgjlislb5rq 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'
20230502@152755.6096 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1470.00.1' and bi.lordem =90000
20230502@152755.7548 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20230502@152755.7703 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='304.4860.00.1' and bi.lordem =100000
20230502@152755.8136 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20230502@152755.8294 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.948.00.01' and bi.lordem =110000
20230502@152755.8669 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20230502@152755.8694 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.948.00.01' and bi.lordem =110000
20230502@152755.8715 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.944.00.01'
20230502@152755.8904 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.944.00.01' and bi.lordem =120000
20230502@152755.9481 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20230502@152755.9601 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1705.00.1' and bi.lordem =130000
20230502@152755.9926 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152755.9930 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230502@152756.8600 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.9000 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 1 valor from td where td.ndoc = 39
20230502@152756.1560 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.1600 4agfqt4jkedld2fsgjlislb5rq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230502@152756.1990 4agfqt4jkedld2fsgjlislb5rq 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
20230502@152756.3050 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.3090 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230502@152756.3950 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.3980 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230502@152756.4680 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.4730 4agfqt4jkedld2fsgjlislb5rq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230502@152756.5130 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.5160 4agfqt4jkedld2fsgjlislb5rq Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230502@152756.5300 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.5330 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from td where ndoc = 39
20230502@152756.6090 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230502@152756.6770 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230502@152756.9970 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230502@152756.1280 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230502@152756.1775 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230502@152756.1798 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230502@152756.2097 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230502@152756.2293 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230502@152756.2683 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230502@152756.2689 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645115274164511dec33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152756.4065 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230502@152756.4080 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230502@152756.4103 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645115274164511dec33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152756.4547 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 fno valor from wsft039data order by fno desc
20230502@152756.4615 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230502@152756.4628 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230502@152756.4655 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut645115274164511dec33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',59,100810,0,'2023-05-02',39,'euro',0,0,2023 ,'20230502','1557',?,?,?)
20230502@152756.5102 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.5106 4agfqt4jkedld2fsgjlislb5rq Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20230502@152756.5182 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20230502@152756.5281 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152756.5605 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152756.6428 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152756.7035 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152756.7137 4agfqt4jkedld2fsgjlislb5rq Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20230502@152756.7212 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152756.7251 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152756.7264 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152756.7296 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645115823464511decb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32 ,'aut645115274164511dec33' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230502@152756.7750 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152756.7764 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230502@152756.7788 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645115823464511decb1','aut645115274164511dec33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152756.7897 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152756.7914 4agfqt4jkedld2fsgjlislb5rq Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20230502@152756.7940 4agfqt4jkedld2fsgjlislb5rq 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.1416.00.1'
20230502@152756.8569 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152756.8583 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152756.8592 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152756.8606 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152756.8610 4agfqt4jkedld2fsgjlislb5rq Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2101113200a'
20230502@152756.8798 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152756.8813 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152756.8828 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152756.8840 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645119372364511decd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40 ,'aut645115274164511dec33' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230502@152756.9270 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152756.9485 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230502@152756.9570 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645119372364511decd7','aut645115274164511dec33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152756.9613 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152756.9702 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152756.9711 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152756.9724 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152756.9728 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152756.9738 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152756.9750 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152756.9760 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645112612064511deced',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645115274164511dec33' ,0,0 ,2,23.00,30000,?,?,?)
20230502@152757.3300 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.4700 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230502@152757.5100 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645112612064511deced','aut645115274164511dec33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152757.5500 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152757.5900 4agfqt4jkedld2fsgjlislb5rq Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20230502@152757.7100 4agfqt4jkedld2fsgjlislb5rq 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.4910.00.1'
20230502@152757.1860 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.2000 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152757.2090 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.2220 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152757.2260 4agfqt4jkedld2fsgjlislb5rq Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20230502@152757.2370 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152757.2460 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.2630 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152757.2730 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645115966164511ded06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60 ,'aut645115274164511dec33' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230502@152757.5410 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.5560 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230502@152757.5600 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645115966164511ded06','aut645115274164511dec33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152757.5650 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152757.5680 4agfqt4jkedld2fsgjlislb5rq Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20230502@152757.5810 4agfqt4jkedld2fsgjlislb5rq 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.1406.00.1'
20230502@152757.7230 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.7480 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152757.7580 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.7770 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152757.7820 4agfqt4jkedld2fsgjlislb5rq Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '0720'
20230502@152757.7880 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152757.7980 4agfqt4jkedld2fsgjlislb5rq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.8100 4agfqt4jkedld2fsgjlislb5rq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152757.8200 4agfqt4jkedld2fsgjlislb5rq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645112838864511ded13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48 ,'aut645115274164511dec33' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230502@152757.1356 4agfqt4jkedld2fsgjlislb5rq Query : use flama_phc
20230502@152757.1400 4agfqt4jkedld2fsgjlislb5rq Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230502@152757.1664 4agfqt4jkedld2fsgjlislb5rq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='116';
20230502@152757.1675 4agfqt4jkedld2fsgjlislb5rq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='116';
20230502@152757.2683 r9c6ndv677j7t1bni27u97e46s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230502@152757.2695 r9c6ndv677j7t1bni27u97e46s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230502@152757.2707 r9c6ndv677j7t1bni27u97e46s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='117';
20230502@152757.2743 r9c6ndv677j7t1bni27u97e46s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='117';
20230502@152757.2753 r9c6ndv677j7t1bni27u97e46s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='117';
20230502@152757.2764 r9c6ndv677j7t1bni27u97e46s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='117';
20230502@152757.2774 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.2777 r9c6ndv677j7t1bni27u97e46s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230502@152757.2788 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.2791 r9c6ndv677j7t1bni27u97e46s Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20230502@152757.2855 r9c6ndv677j7t1bni27u97e46s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230502@152757.2957 r9c6ndv677j7t1bni27u97e46s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 9 and bi.ref ='324.2212.00.1' and bi.lordem =20000
20230502@152757.3239 r9c6ndv677j7t1bni27u97e46s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230502@152757.3334 r9c6ndv677j7t1bni27u97e46s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 9 and bi.ref ='304.421.00.04' and bi.lordem =30000
20230502@152757.3600 r9c6ndv677j7t1bni27u97e46s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20230502@152757.3610 r9c6ndv677j7t1bni27u97e46s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 9 and bi.ref ='324.499.00.01' and bi.lordem =40000
20230502@152757.3878 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.3882 r9c6ndv677j7t1bni27u97e46s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230502@152757.3894 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.3896 r9c6ndv677j7t1bni27u97e46s Query : select top 1 1 valor from td where td.ndoc = 39
20230502@152757.3906 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.3908 r9c6ndv677j7t1bni27u97e46s Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230502@152757.3925 r9c6ndv677j7t1bni27u97e46s 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
20230502@152757.3938 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.3941 r9c6ndv677j7t1bni27u97e46s Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230502@152757.4019 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.4022 r9c6ndv677j7t1bni27u97e46s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230502@152757.4033 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.4036 r9c6ndv677j7t1bni27u97e46s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230502@152757.4046 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.4048 r9c6ndv677j7t1bni27u97e46s Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20230502@152757.4060 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.4064 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from td where ndoc = 39
20230502@152757.4074 r9c6ndv677j7t1bni27u97e46s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230502@152757.4085 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230502@152757.4097 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230502@152757.4107 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230502@152757.4120 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230502@152757.4124 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230502@152757.4130 r9c6ndv677j7t1bni27u97e46s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230502@152757.4191 r9c6ndv677j7t1bni27u97e46s Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230502@152757.4200 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230502@152757.4206 r9c6ndv677j7t1bni27u97e46s Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645111089964511ded64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152757.4211 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230502@152757.4223 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230502@152757.4227 r9c6ndv677j7t1bni27u97e46s Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645111089964511ded64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152757.4231 r9c6ndv677j7t1bni27u97e46s Query : select top 1 fno valor from wsft039data order by fno desc
20230502@152757.4242 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230502@152757.4254 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230502@152757.4270 r9c6ndv677j7t1bni27u97e46s Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut645111089964511ded64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',59,101900,0,'2023-05-02',39,'euro',0,0,2023 ,'20230502','1557',?,?,?)
20230502@152757.4588 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.4591 r9c6ndv677j7t1bni27u97e46s Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230502@152757.4602 r9c6ndv677j7t1bni27u97e46s 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.2212.00.1'
20230502@152757.4734 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.4747 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152757.4756 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.4768 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152757.4772 r9c6ndv677j7t1bni27u97e46s Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230502@152757.4789 r9c6ndv677j7t1bni27u97e46s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152757.4798 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.4809 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152757.5180 r9c6ndv677j7t1bni27u97e46s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645119396864511ded75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut645111089964511ded64' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230502@152757.5600 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.5613 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230502@152757.5617 r9c6ndv677j7t1bni27u97e46s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645119396864511ded75','aut645111089964511ded64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152757.5621 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.5623 r9c6ndv677j7t1bni27u97e46s Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230502@152757.5634 r9c6ndv677j7t1bni27u97e46s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20230502@152757.5739 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.5751 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152757.5760 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.5774 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152757.5778 r9c6ndv677j7t1bni27u97e46s Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230502@152757.5794 r9c6ndv677j7t1bni27u97e46s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152757.5802 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.5813 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152757.5822 r9c6ndv677j7t1bni27u97e46s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645119939064511ded8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16 ,'aut645111089964511ded64' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230502@152757.6058 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.6071 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230502@152757.6075 r9c6ndv677j7t1bni27u97e46s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645119939064511ded8d','aut645111089964511ded64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152757.6079 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.6092 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152757.6101 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.6113 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152757.6117 r9c6ndv677j7t1bni27u97e46s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152757.6127 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.6140 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152757.6150 r9c6ndv677j7t1bni27u97e46s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645119402164511ded95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645111089964511ded64' ,0,0 ,2,23.00,30000,?,?,?)
20230502@152757.6442 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.6456 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230502@152757.6462 r9c6ndv677j7t1bni27u97e46s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645119402164511ded95','aut645111089964511ded64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152757.6466 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.6469 r9c6ndv677j7t1bni27u97e46s Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20230502@152757.6479 r9c6ndv677j7t1bni27u97e46s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20230502@152757.6490 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.6502 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230502@152757.6511 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.6523 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230502@152757.6528 r9c6ndv677j7t1bni27u97e46s Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20230502@152757.6537 r9c6ndv677j7t1bni27u97e46s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230502@152757.6546 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230502@152757.6559 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230502@152757.6575 r9c6ndv677j7t1bni27u97e46s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645119585464511ded9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut645111089964511ded64' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230502@152757.6827 r9c6ndv677j7t1bni27u97e46s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230502@152757.6843 r9c6ndv677j7t1bni27u97e46s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230502@152757.6847 r9c6ndv677j7t1bni27u97e46s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645119585464511ded9f','aut645111089964511ded64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230502@152757.6853 r9c6ndv677j7t1bni27u97e46s Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645111089964511ded64','','wait',39,'ari17112337378,753000005')
20230502@152757.6884 r9c6ndv677j7t1bni27u97e46s Query : use flama_phc
20230502@152757.6887 r9c6ndv677j7t1bni27u97e46s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230502@152757.6897 r9c6ndv677j7t1bni27u97e46s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='117';
20230502@152757.6909 r9c6ndv677j7t1bni27u97e46s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='117';
20230502@152757.6919 r9c6ndv677j7t1bni27u97e46s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='117';
20230502@152757.6928 r9c6ndv677j7t1bni27u97e46s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='117';

20230503@080006.9637 rut10e74n55b18ijvv7bu6867s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='118';
20230503@080006.9669 rut10e74n55b18ijvv7bu6867s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='118';
20230503@080006.9682 rut10e74n55b18ijvv7bu6867s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='118';
20230503@080006.9697 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080006.9701 rut10e74n55b18ijvv7bu6867s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230503@080006.9808 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080006.9816 rut10e74n55b18ijvv7bu6867s Query : select no, estab,szadrsdesc from szadrs where u_coddest=1761
20230503@080006.9918 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230503@080007.6300 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20230503@080007.3890 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230503@080007.4020 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1824.00.1' and bi.lordem =30000
20230503@080007.7410 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230503@080007.8470 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1816.00.1' and bi.lordem =40000
20230503@080007.1136 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230503@080007.1148 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1816.00.1' and bi.lordem =40000
20230503@080007.1156 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230503@080007.1167 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1816.00.1' and bi.lordem =50000
20230503@080007.1571 rut10e74n55b18ijvv7bu6867s 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'
20230503@080007.1951 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1834.00.1' and bi.lordem =60000
20230503@080007.2580 rut10e74n55b18ijvv7bu6867s 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'
20230503@080007.2883 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1834.00.1' and bi.lordem =70000
20230503@080007.3181 rut10e74n55b18ijvv7bu6867s 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'
20230503@080007.3323 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.4970.00.1' and bi.lordem =80000
20230503@080007.3641 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20230503@080007.3754 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1646.00.1' and bi.lordem =90000
20230503@080007.4074 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20230503@080007.4183 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='304.421.00.04' and bi.lordem =110000
20230503@080007.4497 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9225.00.1'
20230503@080007.4606 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='328.9225.00.1' and bi.lordem =120000
20230503@080007.5099 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9225.00.1'
20230503@080007.5109 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='328.9225.00.1' and bi.lordem =130000
20230503@080007.5408 rut10e74n55b18ijvv7bu6867s 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'
20230503@080007.5519 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='304.4320.00.1' and bi.lordem =140000
20230503@080007.5813 rut10e74n55b18ijvv7bu6867s 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'
20230503@080007.5824 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='304.4320.00.1' and bi.lordem =150000
20230503@080007.6153 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20230503@080007.6273 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1803.00.1' and bi.lordem =160000
20230503@080007.6756 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20230503@080007.6767 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='324.1803.00.1' and bi.lordem =170000
20230503@080007.7063 rut10e74n55b18ijvv7bu6867s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20230503@080007.7179 rut10e74n55b18ijvv7bu6867s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 1 and bi.ref ='323.367.09.00' and bi.lordem =180000
20230503@080007.7483 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080007.7486 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230503@080007.7648 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080007.7651 rut10e74n55b18ijvv7bu6867s Query : select top 1 1 valor from td where td.ndoc = 39
20230503@080007.7718 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080007.7721 rut10e74n55b18ijvv7bu6867s Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230503@080007.7759 rut10e74n55b18ijvv7bu6867s 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
20230503@080007.7868 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080007.7872 rut10e74n55b18ijvv7bu6867s Query : select top 1 ~inactivo valor from cl where no = '101828' and estab = 0 order by inactivo desc
20230503@080007.7962 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080007.7966 rut10e74n55b18ijvv7bu6867s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230503@080007.8028 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080007.8032 rut10e74n55b18ijvv7bu6867s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230503@080007.8077 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080007.8081 rut10e74n55b18ijvv7bu6867s Query : select szadrsstamp valor from szadrs where szadrsdesc='electrocortes, lda'
20230503@080007.8099 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080007.8103 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from td where ndoc = 39
20230503@080007.8162 rut10e74n55b18ijvv7bu6867s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230503@080007.8220 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230503@080007.8548 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230503@080007.8598 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230503@080007.8889 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230503@080007.8914 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230503@080007.9208 rut10e74n55b18ijvv7bu6867s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230503@080007.9375 rut10e74n55b18ijvv7bu6867s Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230503@080007.9455 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230503@080007.9462 rut10e74n55b18ijvv7bu6867s Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.5400 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230503@080008.7000 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230503@080008.9500 rut10e74n55b18ijvv7bu6867s Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645203114064520677e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.5770 rut10e74n55b18ijvv7bu6867s Query : select top 1 fno valor from wsft039data order by fno desc
20230503@080008.6520 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230503@080008.6660 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230503@080008.6980 rut10e74n55b18ijvv7bu6867s Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut645203114064520677e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60,101828,0,'2023-05-03',39,'euro',0,0,2023 ,'20230503','0830',?,?,?)
20230503@080008.1251 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080008.1256 rut10e74n55b18ijvv7bu6867s Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230503@080008.1390 rut10e74n55b18ijvv7bu6867s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230503@080008.1868 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.2671 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.2719 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.3041 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.3064 rut10e74n55b18ijvv7bu6867s Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230503@080008.3134 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.3167 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.3182 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.3210 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6452047313645206784d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut645203114064520677e0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230503@080008.4537 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.4591 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080008.4728 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6452047313645206784d','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.4972 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.5017 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.5346 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.5418 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.5423 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.5481 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.5494 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.5548 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64520003706452067885',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645203114064520677e0' ,0,0 ,2,23.00,20000,?,?,?)
20230503@080008.6064 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.6126 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080008.6132 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64520003706452067885','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.6190 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080008.6194 rut10e74n55b18ijvv7bu6867s Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230503@080008.6267 rut10e74n55b18ijvv7bu6867s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230503@080008.6351 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.6411 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.6666 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.6959 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.6989 rut10e74n55b18ijvv7bu6867s Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230503@080008.7009 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.7020 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.7039 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.7049 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645200637364520678ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14 ,'aut645203114064520677e0' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230503@080008.7312 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.7339 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080008.7344 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645200637364520678ab','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.7349 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.7363 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.7377 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.7389 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.7393 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.7403 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.7415 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.7427 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645206337564520678b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645203114064520677e0' ,0,0 ,2,23.00,50000,?,?,?)
20230503@080008.7724 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.7739 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080008.7743 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645206337564520678b4','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.7747 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080008.7750 rut10e74n55b18ijvv7bu6867s Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230503@080008.7761 rut10e74n55b18ijvv7bu6867s 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.1816.00.1'
20230503@080008.7886 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.7900 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.7910 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.7924 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.7928 rut10e74n55b18ijvv7bu6867s Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230503@080008.7939 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.7948 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.7960 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.7969 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645208139564520678c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28 ,'aut645203114064520677e0' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230503@080008.8224 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.8240 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080008.8245 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645208139564520678c2','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.8251 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.8265 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.8284 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.8299 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.8304 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.8315 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.8327 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.8337 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645200802364520678ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645203114064520677e0' ,0,0 ,2,23.00,80000,?,?,?)
20230503@080008.8606 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.8621 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080008.8626 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645200802364520678ca','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.8631 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080008.8634 rut10e74n55b18ijvv7bu6867s Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230503@080008.8646 rut10e74n55b18ijvv7bu6867s 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.1816.00.1'
20230503@080008.8657 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.8671 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.8682 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.8695 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.8699 rut10e74n55b18ijvv7bu6867s Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200647200a'
20230503@080008.8712 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.8725 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.8739 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.8749 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645207572464520678d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28 ,'aut645203114064520677e0' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20230503@080008.9021 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.9037 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080008.9042 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645207572464520678d5','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.9048 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.9061 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.9072 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.9087 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.9091 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.9103 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.9128 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.9139 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645208482264520678de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645203114064520677e0' ,0,0 ,2,23.00,110000,?,?,?)
20230503@080008.9415 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.9431 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080008.9439 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645208482264520678de','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080008.9445 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080008.9456 rut10e74n55b18ijvv7bu6867s Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230503@080008.9468 rut10e74n55b18ijvv7bu6867s 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.1816.00.1'
20230503@080008.9480 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.9493 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080008.9503 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.9515 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080008.9518 rut10e74n55b18ijvv7bu6867s Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230503@080008.9530 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080008.9538 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080008.9550 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080008.9558 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut645208862664520678e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut645203114064520677e0' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20230503@080008.9958 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080008.9987 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080009.1630 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645208862664520678e8','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080009.1910 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080009.2220 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080009.2310 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080009.2440 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230503@080009.2750 rut10e74n55b18ijvv7bu6867s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230503@080009.2860 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080009.2990 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230503@080009.3090 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64520306906452067906',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645203114064520677e0' ,0,0 ,2,23.00,140000,?,?,?)
20230503@080009.5750 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230503@080009.6260 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230503@080009.6320 rut10e74n55b18ijvv7bu6867s Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64520306906452067906','aut645203114064520677e0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230503@080009.6370 rut10e74n55b18ijvv7bu6867s Query : use flama_phc
20230503@080009.6400 rut10e74n55b18ijvv7bu6867s Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20230503@080009.6880 rut10e74n55b18ijvv7bu6867s 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'
20230503@080009.8340 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230503@080009.8490 rut10e74n55b18ijvv7bu6867s Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230503@080009.8590 rut10e74n55b18ijvv7bu6867s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
