20241204@144240.3382 4dq6efds2igemtj9lh76c0f2gt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.3399 4dq6efds2igemtj9lh76c0f2gt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144240.3412 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144240.3471 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144240.3483 4dq6efds2igemtj9lh76c0f2gt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.3503 4dq6efds2igemtj9lh76c0f2gt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144240.3520 4dq6efds2igemtj9lh76c0f2gt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675063171367506a6053' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144240.3730 4dq6efds2igemtj9lh76c0f2gt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.3749 4dq6efds2igemtj9lh76c0f2gt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144240.3780 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144240.3792 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144240.3807 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144240.3819 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144240.3831 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144240.3843 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144240.3855 4dq6efds2igemtj9lh76c0f2gt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675063171367506a6053',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144240.4164 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144240.4195 4dq6efds2igemtj9lh76c0f2gt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.4210 4dq6efds2igemtj9lh76c0f2gt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144240.4231 4dq6efds2igemtj9lh76c0f2gt Query : select 'normal' from dummy
20241204@144240.4245 4dq6efds2igemtj9lh76c0f2gt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675063171367506a6053',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2215,101621,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144240.4669 4dq6efds2igemtj9lh76c0f2gt Query : use flama_phc
20241204@144240.4673 4dq6efds2igemtj9lh76c0f2gt Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20241204@144240.4697 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20241204@144240.4868 4dq6efds2igemtj9lh76c0f2gt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.4885 4dq6efds2igemtj9lh76c0f2gt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144240.4911 4dq6efds2igemtj9lh76c0f2gt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.4925 4dq6efds2igemtj9lh76c0f2gt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144240.4934 4dq6efds2igemtj9lh76c0f2gt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144240.4947 4dq6efds2igemtj9lh76c0f2gt Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20241204@144240.4961 4dq6efds2igemtj9lh76c0f2gt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.4977 4dq6efds2igemtj9lh76c0f2gt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144240.4990 4dq6efds2igemtj9lh76c0f2gt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675061703867506a6079','aut675063171367506a6053' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144240.4994 4dq6efds2igemtj9lh76c0f2gt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.5008 4dq6efds2igemtj9lh76c0f2gt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144240.5037 4dq6efds2igemtj9lh76c0f2gt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675061703867506a6079',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut675063171367506a6053' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144240.5325 4dq6efds2igemtj9lh76c0f2gt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675063171367506a6053','2408234','wait',39,'adm09112754980.682000002')
20241204@144240.5394 4dq6efds2igemtj9lh76c0f2gt Query : use flama_phc
20241204@144240.5397 4dq6efds2igemtj9lh76c0f2gt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144240.5425 4dq6efds2igemtj9lh76c0f2gt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3700';
20241204@144240.5466 4dq6efds2igemtj9lh76c0f2gt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3700';
20241204@144240.5515 4dq6efds2igemtj9lh76c0f2gt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3700';
20241204@144240.5546 4dq6efds2igemtj9lh76c0f2gt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3700';
20241204@144240.6066 c5akufa6grhv9o18cq692qbqa0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@144240.6077 c5akufa6grhv9o18cq692qbqa0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@144240.6143 c5akufa6grhv9o18cq692qbqa0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3701';
20241204@144240.6210 c5akufa6grhv9o18cq692qbqa0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3701';
20241204@144240.6269 c5akufa6grhv9o18cq692qbqa0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3701';
20241204@144240.6302 c5akufa6grhv9o18cq692qbqa0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3701';
20241204@144240.6360 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.6364 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@144240.6428 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.6431 c5akufa6grhv9o18cq692qbqa0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20241204@144240.6531 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241204@144240.6733 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408235 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241204@144240.7099 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.7102 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@144240.7135 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.7138 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@144240.7166 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.7184 c5akufa6grhv9o18cq692qbqa0 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@144240.7211 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@144240.7243 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.7246 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241204@144240.7276 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.7279 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@144240.7322 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.7324 c5akufa6grhv9o18cq692qbqa0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@144240.7435 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.7439 c5akufa6grhv9o18cq692qbqa0 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20241204@144240.7956 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144240.8570 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from td where ndoc = 39
20241204@144240.8870 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@144240.8887 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.8908 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144240.8926 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.8941 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144240.8966 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.8980 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144240.8992 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144240.9047 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144240.9059 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.9074 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144240.9089 c5akufa6grhv9o18cq692qbqa0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675068294367506a60db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144240.9297 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.9316 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144240.9348 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144240.9359 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144240.9370 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144240.9382 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144240.9393 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144240.9404 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144240.9415 c5akufa6grhv9o18cq692qbqa0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675068294367506a60db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144240.9782 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144240.9814 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144240.9831 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144240.9855 c5akufa6grhv9o18cq692qbqa0 Query : select 'normal' from dummy
20241204@144240.9872 c5akufa6grhv9o18cq692qbqa0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675068294367506a60db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2216,101621,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144241.2420 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144241.2460 c5akufa6grhv9o18cq692qbqa0 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241204@144241.2680 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241204@144241.4350 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.4550 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.4990 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5140 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.5220 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144241.5330 c5akufa6grhv9o18cq692qbqa0 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241204@144241.5460 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5620 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.5750 c5akufa6grhv9o18cq692qbqa0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675066086867506a610d','aut675068294367506a60db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144241.5800 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5990 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.6300 c5akufa6grhv9o18cq692qbqa0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675066086867506a610d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut675068294367506a60db' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144241.9490 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.9670 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.9960 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.1012 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.1021 c5akufa6grhv9o18cq692qbqa0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144241.1034 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.1050 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.1091 c5akufa6grhv9o18cq692qbqa0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675064629167506a6119','aut675068294367506a60db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144241.1097 c5akufa6grhv9o18cq692qbqa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.1113 c5akufa6grhv9o18cq692qbqa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.1144 c5akufa6grhv9o18cq692qbqa0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675064629167506a6119',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675068294367506a60db' ,0,0 ,2,23.00,20000,?,?,?)
20241204@144241.1460 c5akufa6grhv9o18cq692qbqa0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675068294367506a60db','2408235','wait',39,'adm09112754980.682000002')
20241204@144241.1529 c5akufa6grhv9o18cq692qbqa0 Query : use flama_phc
20241204@144241.1533 c5akufa6grhv9o18cq692qbqa0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144241.1566 c5akufa6grhv9o18cq692qbqa0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3701';
20241204@144241.1607 c5akufa6grhv9o18cq692qbqa0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3701';
20241204@144241.1661 c5akufa6grhv9o18cq692qbqa0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3701';
20241204@144241.1699 c5akufa6grhv9o18cq692qbqa0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3701';
20241204@144241.2194 i0shnqkajd9rickd87ao41jl05 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@144241.2206 i0shnqkajd9rickd87ao41jl05 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@144241.2274 i0shnqkajd9rickd87ao41jl05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3702';
20241204@144241.2345 i0shnqkajd9rickd87ao41jl05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3702';
20241204@144241.2427 i0shnqkajd9rickd87ao41jl05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3702';
20241204@144241.2464 i0shnqkajd9rickd87ao41jl05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3702';
20241204@144241.2522 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.2526 i0shnqkajd9rickd87ao41jl05 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@144241.2668 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.2671 i0shnqkajd9rickd87ao41jl05 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@144241.2720 i0shnqkajd9rickd87ao41jl05 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'
20241204@144241.2741 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408236 and bi.ref ='324.4910.00.1' and bi.lordem =1
20241204@144241.3151 i0shnqkajd9rickd87ao41jl05 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'
20241204@144241.3172 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408236 and bi.ref ='324.4910.00.1' and bi.lordem =1
20241204@144241.3188 i0shnqkajd9rickd87ao41jl05 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'
20241204@144241.3207 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408236 and bi.ref ='324.4910.00.1' and bi.lordem =1
20241204@144241.3224 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.3228 i0shnqkajd9rickd87ao41jl05 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@144241.3260 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.3263 i0shnqkajd9rickd87ao41jl05 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@144241.3293 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.3296 i0shnqkajd9rickd87ao41jl05 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@144241.3329 i0shnqkajd9rickd87ao41jl05 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@144241.3368 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.3371 i0shnqkajd9rickd87ao41jl05 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@144241.3400 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.3403 i0shnqkajd9rickd87ao41jl05 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@144241.3433 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.3436 i0shnqkajd9rickd87ao41jl05 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@144241.3478 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.3481 i0shnqkajd9rickd87ao41jl05 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@144241.3524 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.3527 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from td where ndoc = 39
20241204@144241.3543 i0shnqkajd9rickd87ao41jl05 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@144241.3559 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.3576 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144241.3595 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.3610 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144241.3638 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.3654 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144241.3667 i0shnqkajd9rickd87ao41jl05 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144241.3725 i0shnqkajd9rickd87ao41jl05 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144241.3739 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.3757 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144241.3772 i0shnqkajd9rickd87ao41jl05 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675069808967506a6159' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144241.3987 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.4007 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144241.4039 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144241.4052 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144241.4064 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144241.4077 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144241.4090 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144241.4102 i0shnqkajd9rickd87ao41jl05 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144241.4113 i0shnqkajd9rickd87ao41jl05 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675069808967506a6159',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144241.4424 i0shnqkajd9rickd87ao41jl05 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144241.4455 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.4471 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144241.4493 i0shnqkajd9rickd87ao41jl05 Query : select 'normal' from dummy
20241204@144241.4507 i0shnqkajd9rickd87ao41jl05 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675069808967506a6159',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2217,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144241.4877 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.4880 i0shnqkajd9rickd87ao41jl05 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20241204@144241.4901 i0shnqkajd9rickd87ao41jl05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20241204@144241.4914 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.4929 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.4954 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.4983 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.4991 i0shnqkajd9rickd87ao41jl05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144241.5002 i0shnqkajd9rickd87ao41jl05 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2400920300a'
20241204@144241.5014 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5028 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.5040 i0shnqkajd9rickd87ao41jl05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675066238867506a617a','aut675069808967506a6159' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144241.5045 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5058 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.5085 i0shnqkajd9rickd87ao41jl05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675066238867506a617a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',66.000 ,'aut675069808967506a6159' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144241.5408 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.5411 i0shnqkajd9rickd87ao41jl05 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20241204@144241.5472 i0shnqkajd9rickd87ao41jl05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20241204@144241.5519 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5537 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.5563 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5577 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.5586 i0shnqkajd9rickd87ao41jl05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144241.5618 i0shnqkajd9rickd87ao41jl05 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2400920300a'
20241204@144241.5630 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5647 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.5659 i0shnqkajd9rickd87ao41jl05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675060513867506a6189','aut675069808967506a6159' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144241.5665 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.5680 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.5707 i0shnqkajd9rickd87ao41jl05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675060513867506a6189',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut675069808967506a6159' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@144241.6026 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.6030 i0shnqkajd9rickd87ao41jl05 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20241204@144241.6050 i0shnqkajd9rickd87ao41jl05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20241204@144241.6066 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.6082 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.6107 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.6122 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.6130 i0shnqkajd9rickd87ao41jl05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144241.6142 i0shnqkajd9rickd87ao41jl05 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2400920300a'
20241204@144241.6155 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.6169 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144241.6181 i0shnqkajd9rickd87ao41jl05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675060417967506a6196','aut675069808967506a6159' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144241.6188 i0shnqkajd9rickd87ao41jl05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.6205 i0shnqkajd9rickd87ao41jl05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144241.6234 i0shnqkajd9rickd87ao41jl05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675060417967506a6196',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',66.000 ,'aut675069808967506a6159' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241204@144241.6547 i0shnqkajd9rickd87ao41jl05 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675069808967506a6159','2408236','wait',39,'adm09112754980.682000002')
20241204@144241.6614 i0shnqkajd9rickd87ao41jl05 Query : use flama_phc
20241204@144241.6617 i0shnqkajd9rickd87ao41jl05 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144241.6653 i0shnqkajd9rickd87ao41jl05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3702';
20241204@144241.6692 i0shnqkajd9rickd87ao41jl05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3702';
20241204@144241.6743 i0shnqkajd9rickd87ao41jl05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3702';
20241204@144241.6777 i0shnqkajd9rickd87ao41jl05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3702';
20241204@144241.7258 sfrbdcms1284891ijhc871nt4j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@144241.7269 sfrbdcms1284891ijhc871nt4j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@144241.7340 sfrbdcms1284891ijhc871nt4j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3703';
20241204@144241.7409 sfrbdcms1284891ijhc871nt4j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3703';
20241204@144241.7541 sfrbdcms1284891ijhc871nt4j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3703';
20241204@144241.8937 sfrbdcms1284891ijhc871nt4j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3703';
20241204@144241.8999 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9002 sfrbdcms1284891ijhc871nt4j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@144241.9061 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9064 sfrbdcms1284891ijhc871nt4j Query : select no, estab,szadrsdesc from szadrs where u_coddest=2632
20241204@144241.9162 sfrbdcms1284891ijhc871nt4j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241204@144241.9182 sfrbdcms1284891ijhc871nt4j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408237 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241204@144241.9549 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9552 sfrbdcms1284891ijhc871nt4j Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@144241.9584 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9587 sfrbdcms1284891ijhc871nt4j Query : select top 1 1 valor from td where td.ndoc = 39
20241204@144241.9617 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9620 sfrbdcms1284891ijhc871nt4j Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@144241.9647 sfrbdcms1284891ijhc871nt4j Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@144241.9679 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9682 sfrbdcms1284891ijhc871nt4j Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241204@144241.9711 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9713 sfrbdcms1284891ijhc871nt4j Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@144241.9743 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9746 sfrbdcms1284891ijhc871nt4j Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@144241.9783 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9786 sfrbdcms1284891ijhc871nt4j Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- braganÇa'
20241204@144241.9829 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144241.9831 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from td where ndoc = 39
20241204@144241.9856 sfrbdcms1284891ijhc871nt4j Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@144241.9869 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.9884 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144241.9902 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.9915 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144241.9942 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144241.9956 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144241.9967 sfrbdcms1284891ijhc871nt4j Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144242.2200 sfrbdcms1284891ijhc871nt4j Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144242.3400 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.5100 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144242.6600 sfrbdcms1284891ijhc871nt4j Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675063990367506a61f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144242.2660 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.2860 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144242.3180 sfrbdcms1284891ijhc871nt4j Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144242.3290 sfrbdcms1284891ijhc871nt4j Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144242.3410 sfrbdcms1284891ijhc871nt4j Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144242.3530 sfrbdcms1284891ijhc871nt4j Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144242.3630 sfrbdcms1284891ijhc871nt4j Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144242.3740 sfrbdcms1284891ijhc871nt4j Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144242.3860 sfrbdcms1284891ijhc871nt4j Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675063990367506a61f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144242.7190 sfrbdcms1284891ijhc871nt4j Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144242.7490 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.7640 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144242.7850 sfrbdcms1284891ijhc871nt4j Query : select 'normal' from dummy
20241204@144242.7980 sfrbdcms1284891ijhc871nt4j Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675063990367506a61f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2218,101621,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144242.1145 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144242.1148 sfrbdcms1284891ijhc871nt4j Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241204@144242.1169 sfrbdcms1284891ijhc871nt4j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241204@144242.1183 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.1200 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144242.1226 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.1241 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144242.1251 sfrbdcms1284891ijhc871nt4j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144242.1263 sfrbdcms1284891ijhc871nt4j Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241204@144242.1275 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.1290 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144242.1302 sfrbdcms1284891ijhc871nt4j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675068165267506a621f','aut675063990367506a61f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144242.1306 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.1321 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144242.1349 sfrbdcms1284891ijhc871nt4j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675068165267506a621f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut675063990367506a61f3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144242.1681 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.1698 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144242.1722 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.1736 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144242.1745 sfrbdcms1284891ijhc871nt4j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144242.1757 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.1771 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144242.1782 sfrbdcms1284891ijhc871nt4j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675068149567506a622a','aut675063990367506a61f3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144242.1787 sfrbdcms1284891ijhc871nt4j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.1801 sfrbdcms1284891ijhc871nt4j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144242.1826 sfrbdcms1284891ijhc871nt4j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675068149567506a622a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675063990367506a61f3' ,0,0 ,2,23.00,20000,?,?,?)
20241204@144242.2163 sfrbdcms1284891ijhc871nt4j Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675063990367506a61f3','2408237','wait',39,'adm09112754980.682000002')
20241204@144242.2236 sfrbdcms1284891ijhc871nt4j Query : use flama_phc
20241204@144242.2240 sfrbdcms1284891ijhc871nt4j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144242.2269 sfrbdcms1284891ijhc871nt4j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3703';
20241204@144242.2312 sfrbdcms1284891ijhc871nt4j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3703';
20241204@144242.2374 sfrbdcms1284891ijhc871nt4j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3703';
20241204@144242.2411 sfrbdcms1284891ijhc871nt4j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3703';
20241204@144242.2939 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@144242.2950 2q0o5oq3v9s5s71agqi6o22jiv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@144242.3053 2q0o5oq3v9s5s71agqi6o22jiv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3704';
20241204@144242.4545 2q0o5oq3v9s5s71agqi6o22jiv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3704';
20241204@144242.4817 2q0o5oq3v9s5s71agqi6o22jiv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3704';
20241204@144242.4864 2q0o5oq3v9s5s71agqi6o22jiv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3704';
20241204@144242.4925 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.4928 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@144242.4987 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.4990 2q0o5oq3v9s5s71agqi6o22jiv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20241204@144242.5097 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241204@144242.5119 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408238 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241204@144242.5501 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.5504 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@144242.5538 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.5541 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 1 valor from td where td.ndoc = 39
20241204@144242.5571 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.5573 2q0o5oq3v9s5s71agqi6o22jiv Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@144242.5601 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@144242.5635 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.5638 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241204@144242.5674 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.5677 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@144242.5708 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.5710 2q0o5oq3v9s5s71agqi6o22jiv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@144242.5748 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.5751 2q0o5oq3v9s5s71agqi6o22jiv Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20241204@144242.5798 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.5801 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from td where ndoc = 39
20241204@144242.5814 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@144242.5828 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.5845 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144242.5863 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.5878 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144242.5918 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.5934 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144242.5947 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144242.6009 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144242.6023 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.6042 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144242.6059 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675069534367506a6291' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144242.6353 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.6377 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144242.6417 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144242.6449 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144242.6464 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144242.6477 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144242.6490 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144242.6503 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144242.6514 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675069534367506a6291',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144242.6844 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144242.6878 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.6897 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144242.6918 2q0o5oq3v9s5s71agqi6o22jiv Query : select 'normal' from dummy
20241204@144242.6933 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675069534367506a6291',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2219,101621,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144242.7296 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.7300 2q0o5oq3v9s5s71agqi6o22jiv Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241204@144242.7324 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241204@144242.7340 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.7357 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144242.7384 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.7399 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144242.7409 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144242.7422 2q0o5oq3v9s5s71agqi6o22jiv Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241204@144242.7447 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.7463 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144242.7477 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675061824967506a62b5','aut675069534367506a6291' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144242.7482 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.7498 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144242.7529 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675061824967506a62b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut675069534367506a6291' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144242.7869 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.7898 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144242.7923 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.7938 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144242.7947 2q0o5oq3v9s5s71agqi6o22jiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144242.7959 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.7973 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144242.7985 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675060948167506a62c2','aut675069534367506a6291' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144242.7990 2q0o5oq3v9s5s71agqi6o22jiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144242.8006 2q0o5oq3v9s5s71agqi6o22jiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144242.8036 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675060948167506a62c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675069534367506a6291' ,0,0 ,2,23.00,20000,?,?,?)
20241204@144242.8380 2q0o5oq3v9s5s71agqi6o22jiv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675069534367506a6291','2408238','wait',39,'adm09112754980.682000002')
20241204@144242.8448 2q0o5oq3v9s5s71agqi6o22jiv Query : use flama_phc
20241204@144242.8451 2q0o5oq3v9s5s71agqi6o22jiv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144242.8480 2q0o5oq3v9s5s71agqi6o22jiv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3704';
20241204@144242.8520 2q0o5oq3v9s5s71agqi6o22jiv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3704';
20241204@144242.8571 2q0o5oq3v9s5s71agqi6o22jiv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3704';
20241204@144242.8603 2q0o5oq3v9s5s71agqi6o22jiv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3704';
20241204@144242.9118 k782opigj878em7m9rsq4ogm2o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@144242.9130 k782opigj878em7m9rsq4ogm2o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@144242.9209 k782opigj878em7m9rsq4ogm2o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3705';
20241204@144242.9309 k782opigj878em7m9rsq4ogm2o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3705';
20241204@144242.9372 k782opigj878em7m9rsq4ogm2o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3705';
20241204@144242.9417 k782opigj878em7m9rsq4ogm2o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3705';
20241204@144242.9483 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144242.9488 k782opigj878em7m9rsq4ogm2o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@144242.9551 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144242.9554 k782opigj878em7m9rsq4ogm2o Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@144242.9600 k782opigj878em7m9rsq4ogm2o 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'
20241204@144242.9619 k782opigj878em7m9rsq4ogm2o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408240 and bi.ref ='324.4910.00.1' and bi.lordem =1
20241204@144242.9992 k782opigj878em7m9rsq4ogm2o 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'
20241204@144243.1200 k782opigj878em7m9rsq4ogm2o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408240 and bi.ref ='324.4910.00.1' and bi.lordem =1
20241204@144243.2900 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.3200 k782opigj878em7m9rsq4ogm2o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@144243.7600 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.7900 k782opigj878em7m9rsq4ogm2o Query : select top 1 1 valor from td where td.ndoc = 39
20241204@144243.1090 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.1120 k782opigj878em7m9rsq4ogm2o Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@144243.1430 k782opigj878em7m9rsq4ogm2o Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@144243.1790 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.1820 k782opigj878em7m9rsq4ogm2o Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@144243.2280 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.2320 k782opigj878em7m9rsq4ogm2o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@144243.2620 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.2650 k782opigj878em7m9rsq4ogm2o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@144243.3050 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.3080 k782opigj878em7m9rsq4ogm2o Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@144243.3540 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.3570 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from td where ndoc = 39
20241204@144243.3700 k782opigj878em7m9rsq4ogm2o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@144243.3970 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.4140 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144243.4340 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.4490 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144243.4780 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.4940 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144243.5070 k782opigj878em7m9rsq4ogm2o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144243.5760 k782opigj878em7m9rsq4ogm2o Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144243.5900 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.6080 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144243.6240 k782opigj878em7m9rsq4ogm2o Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675066864867506a630c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144243.8690 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.8910 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144243.9430 k782opigj878em7m9rsq4ogm2o Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144243.9560 k782opigj878em7m9rsq4ogm2o Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144243.9690 k782opigj878em7m9rsq4ogm2o Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144243.9810 k782opigj878em7m9rsq4ogm2o Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144243.9930 k782opigj878em7m9rsq4ogm2o Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144243.1005 k782opigj878em7m9rsq4ogm2o Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144243.1017 k782opigj878em7m9rsq4ogm2o Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675066864867506a630c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144243.1327 k782opigj878em7m9rsq4ogm2o Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144243.1362 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.1383 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144243.1407 k782opigj878em7m9rsq4ogm2o Query : select 'normal' from dummy
20241204@144243.1425 k782opigj878em7m9rsq4ogm2o Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675066864867506a630c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2220,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144243.1770 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.1775 k782opigj878em7m9rsq4ogm2o Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20241204@144243.1799 k782opigj878em7m9rsq4ogm2o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20241204@144243.1814 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.1831 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144243.1859 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.1874 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144243.1883 k782opigj878em7m9rsq4ogm2o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144243.1895 k782opigj878em7m9rsq4ogm2o Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2400920300a'
20241204@144243.1908 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.1923 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144243.1936 k782opigj878em7m9rsq4ogm2o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675066482267506a632e','aut675066864867506a630c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144243.1942 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.1958 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144243.1989 k782opigj878em7m9rsq4ogm2o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675066482267506a632e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut675066864867506a630c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144243.2327 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.2330 k782opigj878em7m9rsq4ogm2o Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20241204@144243.2354 k782opigj878em7m9rsq4ogm2o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20241204@144243.2369 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.2387 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144243.2414 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.2429 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144243.2440 k782opigj878em7m9rsq4ogm2o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144243.2453 k782opigj878em7m9rsq4ogm2o Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2400920300a'
20241204@144243.2467 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.2482 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144243.2515 k782opigj878em7m9rsq4ogm2o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675069009767506a633c','aut675066864867506a630c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144243.2520 k782opigj878em7m9rsq4ogm2o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.2537 k782opigj878em7m9rsq4ogm2o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144243.2567 k782opigj878em7m9rsq4ogm2o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675069009767506a633c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',162.000 ,'aut675066864867506a630c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@144243.2900 k782opigj878em7m9rsq4ogm2o Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675066864867506a630c','2408240','wait',39,'adm09112754980.682000002')
20241204@144243.2983 k782opigj878em7m9rsq4ogm2o Query : use flama_phc
20241204@144243.2987 k782opigj878em7m9rsq4ogm2o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144243.3017 k782opigj878em7m9rsq4ogm2o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3705';
20241204@144243.3062 k782opigj878em7m9rsq4ogm2o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3705';
20241204@144243.3116 k782opigj878em7m9rsq4ogm2o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3705';
20241204@144243.3153 k782opigj878em7m9rsq4ogm2o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3705';
20241204@144243.3693 0c82l47m2shgp0r0ldaahnj737 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@144243.3717 0c82l47m2shgp0r0ldaahnj737 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@144243.3791 0c82l47m2shgp0r0ldaahnj737 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3706';
20241204@144243.3872 0c82l47m2shgp0r0ldaahnj737 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3706';
20241204@144243.3941 0c82l47m2shgp0r0ldaahnj737 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3706';
20241204@144243.3994 0c82l47m2shgp0r0ldaahnj737 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3706';
20241204@144243.4053 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4056 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@144243.4124 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4128 0c82l47m2shgp0r0ldaahnj737 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@144243.4181 0c82l47m2shgp0r0ldaahnj737 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'
20241204@144243.4204 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408241 and bi.ref ='324.4910.00.1' and bi.lordem =1
20241204@144243.4642 0c82l47m2shgp0r0ldaahnj737 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'
20241204@144243.4665 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408241 and bi.ref ='324.4910.00.1' and bi.lordem =1
20241204@144243.4683 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4687 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@144243.4721 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4724 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@144243.4756 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4759 0c82l47m2shgp0r0ldaahnj737 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@144243.4787 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@144243.4823 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4826 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@144243.4857 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4860 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@144243.4891 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4895 0c82l47m2shgp0r0ldaahnj737 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@144243.4936 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4939 0c82l47m2shgp0r0ldaahnj737 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@144243.4984 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.4987 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from td where ndoc = 39
20241204@144243.5000 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@144243.5014 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.5032 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144243.5052 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.5067 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144243.5099 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.5116 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144243.5148 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144243.5206 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144243.5219 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.5235 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144243.5253 0c82l47m2shgp0r0ldaahnj737 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675067817667506a637d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144243.5482 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.5502 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144243.5537 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144243.5550 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144243.5563 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144243.5575 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144243.5588 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144243.5599 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144243.5611 0c82l47m2shgp0r0ldaahnj737 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675067817667506a637d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144243.5943 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144243.5975 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.5994 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144243.6019 0c82l47m2shgp0r0ldaahnj737 Query : select 'normal' from dummy
20241204@144243.6037 0c82l47m2shgp0r0ldaahnj737 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675067817667506a637d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2221,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144243.6407 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.6411 0c82l47m2shgp0r0ldaahnj737 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20241204@144243.6433 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20241204@144243.6449 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.6465 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144243.6493 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.6508 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144243.6519 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144243.6532 0c82l47m2shgp0r0ldaahnj737 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2400920300a'
20241204@144243.6546 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.6561 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144243.6574 0c82l47m2shgp0r0ldaahnj737 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675064493667506a639f','aut675067817667506a637d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144243.6579 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.6594 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144243.6625 0c82l47m2shgp0r0ldaahnj737 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675064493667506a639f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut675067817667506a637d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144243.6955 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.6959 0c82l47m2shgp0r0ldaahnj737 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20241204@144243.6980 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20241204@144243.6995 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.7012 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144243.7039 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.7057 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144243.7066 0c82l47m2shgp0r0ldaahnj737 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144243.7082 0c82l47m2shgp0r0ldaahnj737 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2400920300a'
20241204@144243.7097 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.7114 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144243.7127 0c82l47m2shgp0r0ldaahnj737 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675064419067506a63ad','aut675067817667506a637d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144243.7133 0c82l47m2shgp0r0ldaahnj737 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144243.7149 0c82l47m2shgp0r0ldaahnj737 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144243.7180 0c82l47m2shgp0r0ldaahnj737 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675064419067506a63ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',162.000 ,'aut675067817667506a637d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@144243.7550 0c82l47m2shgp0r0ldaahnj737 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675067817667506a637d','2408241','wait',39,'adm09112754980.682000002')
20241204@144243.8861 0c82l47m2shgp0r0ldaahnj737 Query : use flama_phc
20241204@144243.8864 0c82l47m2shgp0r0ldaahnj737 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144243.8897 0c82l47m2shgp0r0ldaahnj737 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3706';
20241204@144243.8937 0c82l47m2shgp0r0ldaahnj737 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3706';
20241204@144243.8987 0c82l47m2shgp0r0ldaahnj737 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3706';
20241204@144243.9020 0c82l47m2shgp0r0ldaahnj737 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3706';
20241204@144243.9514 fatq75p3jq9kam1fjgpf5de652 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@144243.9525 fatq75p3jq9kam1fjgpf5de652 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@144243.9593 fatq75p3jq9kam1fjgpf5de652 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3707';
20241204@144243.9665 fatq75p3jq9kam1fjgpf5de652 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3707';
20241204@144243.9726 fatq75p3jq9kam1fjgpf5de652 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3707';
20241204@144243.9761 fatq75p3jq9kam1fjgpf5de652 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3707';
20241204@144243.9816 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144243.9819 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@144243.9882 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144243.9889 fatq75p3jq9kam1fjgpf5de652 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@144243.9942 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20241204@144244.1540 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408242 and bi.ref ='324.4966.00.1' and bi.lordem =1
20241204@144244.5360 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20241204@144244.5560 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408242 and bi.ref ='324.4966.00.1' and bi.lordem =1
20241204@144244.5720 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20241204@144244.5940 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408242 and bi.ref ='324.4966.00.1' and bi.lordem =1
20241204@144244.6100 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.6140 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@144244.6450 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.6480 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@144244.6770 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.6800 fatq75p3jq9kam1fjgpf5de652 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@144244.7080 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@144244.7430 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.7460 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@144244.7750 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.7770 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@144244.8080 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.8100 fatq75p3jq9kam1fjgpf5de652 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@144244.8500 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.8530 fatq75p3jq9kam1fjgpf5de652 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@144244.9020 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.9060 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from td where ndoc = 39
20241204@144244.9190 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@144244.9340 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.9510 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144244.9720 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.9880 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144244.1019 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.1035 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144244.1050 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144244.1108 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144244.1121 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.1138 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144244.1154 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675060012267506a6419' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144244.1357 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.1380 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144244.1418 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144244.1432 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144244.1445 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144244.1459 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144244.1471 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144244.1483 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144244.1497 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675060012267506a6419',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144244.1791 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144244.1823 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.1842 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144244.1867 fatq75p3jq9kam1fjgpf5de652 Query : select 'normal' from dummy
20241204@144244.1883 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675060012267506a6419',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2222,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144244.2234 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.2238 fatq75p3jq9kam1fjgpf5de652 Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20241204@144244.2261 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20241204@144244.2435 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.2452 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.2478 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.2496 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.2506 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144244.2520 fatq75p3jq9kam1fjgpf5de652 Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2300825100a'
20241204@144244.2534 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.2549 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.2577 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675063747767506a643d','aut675060012267506a6419' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144244.2582 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.2598 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.2629 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675063747767506a643d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675060012267506a6419' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144244.2949 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.2952 fatq75p3jq9kam1fjgpf5de652 Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20241204@144244.2974 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20241204@144244.2989 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.3009 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.3038 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.3053 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.3062 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144244.3074 fatq75p3jq9kam1fjgpf5de652 Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2300825100a'
20241204@144244.3088 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.3103 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.3116 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675061286767506a644b','aut675060012267506a6419' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144244.3121 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.3136 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.3164 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675061286767506a644b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut675060012267506a6419' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@144244.3468 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.3471 fatq75p3jq9kam1fjgpf5de652 Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20241204@144244.3493 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20241204@144244.3508 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.3526 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.3556 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.3571 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.3580 fatq75p3jq9kam1fjgpf5de652 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144244.3594 fatq75p3jq9kam1fjgpf5de652 Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2300825100a'
20241204@144244.3608 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.3623 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.3637 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675066970367506a6458','aut675060012267506a6419' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144244.3642 fatq75p3jq9kam1fjgpf5de652 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.3685 fatq75p3jq9kam1fjgpf5de652 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.3724 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675066970367506a6458',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut675060012267506a6419' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241204@144244.4037 fatq75p3jq9kam1fjgpf5de652 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675060012267506a6419','2408242','wait',39,'adm09112754980.682000002')
20241204@144244.4110 fatq75p3jq9kam1fjgpf5de652 Query : use flama_phc
20241204@144244.4113 fatq75p3jq9kam1fjgpf5de652 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144244.4144 fatq75p3jq9kam1fjgpf5de652 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3707';
20241204@144244.4185 fatq75p3jq9kam1fjgpf5de652 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3707';
20241204@144244.4237 fatq75p3jq9kam1fjgpf5de652 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3707';
20241204@144244.4269 fatq75p3jq9kam1fjgpf5de652 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3707';
20241204@144244.4799 md19669g4e8do310l5il8cr303 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@144244.4809 md19669g4e8do310l5il8cr303 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@144244.4875 md19669g4e8do310l5il8cr303 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3708';
20241204@144244.4941 md19669g4e8do310l5il8cr303 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3708';
20241204@144244.5001 md19669g4e8do310l5il8cr303 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3708';
20241204@144244.5033 md19669g4e8do310l5il8cr303 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3708';
20241204@144244.5086 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.5090 md19669g4e8do310l5il8cr303 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@144244.5153 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.5156 md19669g4e8do310l5il8cr303 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@144244.5203 md19669g4e8do310l5il8cr303 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5365.00.1'
20241204@144244.5390 md19669g4e8do310l5il8cr303 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408243 and bi.ref ='324.5365.00.1' and bi.lordem =1
20241204@144244.5774 md19669g4e8do310l5il8cr303 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5365.00.1'
20241204@144244.5794 md19669g4e8do310l5il8cr303 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408243 and bi.ref ='324.5365.00.1' and bi.lordem =1
20241204@144244.5811 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.5815 md19669g4e8do310l5il8cr303 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@144244.5848 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.5851 md19669g4e8do310l5il8cr303 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@144244.5880 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.5883 md19669g4e8do310l5il8cr303 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@144244.5912 md19669g4e8do310l5il8cr303 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@144244.5945 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.5948 md19669g4e8do310l5il8cr303 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@144244.5976 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.5979 md19669g4e8do310l5il8cr303 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@144244.6008 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.6010 md19669g4e8do310l5il8cr303 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@144244.6048 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.6051 md19669g4e8do310l5il8cr303 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@144244.6095 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.6098 md19669g4e8do310l5il8cr303 Query : select 1 valor from td where ndoc = 39
20241204@144244.6109 md19669g4e8do310l5il8cr303 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@144244.6123 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.6141 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144244.6158 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.6173 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144244.6200 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.6214 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144244.6227 md19669g4e8do310l5il8cr303 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144244.6284 md19669g4e8do310l5il8cr303 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@144244.6297 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.6312 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@144244.6327 md19669g4e8do310l5il8cr303 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675060630367506a6498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@144244.6530 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.6547 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@144244.6582 md19669g4e8do310l5il8cr303 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@144244.6595 md19669g4e8do310l5il8cr303 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@144244.6606 md19669g4e8do310l5il8cr303 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@144244.6618 md19669g4e8do310l5il8cr303 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@144244.6630 md19669g4e8do310l5il8cr303 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@144244.6642 md19669g4e8do310l5il8cr303 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@144244.6654 md19669g4e8do310l5il8cr303 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675060630367506a6498',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@144244.6931 md19669g4e8do310l5il8cr303 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@144244.6961 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.6978 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@144244.7003 md19669g4e8do310l5il8cr303 Query : select 'normal' from dummy
20241204@144244.7019 md19669g4e8do310l5il8cr303 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675060630367506a6498',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2223,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@144244.7338 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.7341 md19669g4e8do310l5il8cr303 Query : select st.usalote valor from st where st.ref = '324.5365.00.1'
20241204@144244.7364 md19669g4e8do310l5il8cr303 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5365.00.1'
20241204@144244.7524 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.7541 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.7565 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.7579 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.7588 md19669g4e8do310l5il8cr303 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144244.7601 md19669g4e8do310l5il8cr303 Query : select sestamp valor from se where ref ='324.5365.00.1' and lote = 'r2300840100a'
20241204@144244.7616 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.7633 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.7645 md19669g4e8do310l5il8cr303 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675069866967506a64b9','aut675060630367506a6498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144244.7649 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.7663 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.7690 md19669g4e8do310l5il8cr303 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675069866967506a64b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut675060630367506a6498' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@144244.7979 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.7996 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.8023 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.8039 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.8047 md19669g4e8do310l5il8cr303 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144244.8059 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.8073 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.8086 md19669g4e8do310l5il8cr303 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675062807667506a64c4','aut675060630367506a6498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144244.8091 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.8107 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.8135 md19669g4e8do310l5il8cr303 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675062807667506a64c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675060630367506a6498' ,0,0 ,2,23.00,20000,?,?,?)
20241204@144244.8859 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144244.8949 md19669g4e8do310l5il8cr303 Query : select st.usalote valor from st where st.ref = '324.5365.00.1'
20241204@144244.9541 md19669g4e8do310l5il8cr303 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5365.00.1'
20241204@144244.9555 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.9572 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.9597 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.9611 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.9619 md19669g4e8do310l5il8cr303 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144244.9631 md19669g4e8do310l5il8cr303 Query : select sestamp valor from se where ref ='324.5365.00.1' and lote = 'r2300840100a'
20241204@144244.9643 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.9657 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144244.9668 md19669g4e8do310l5il8cr303 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675065352167506a64eb','aut675060630367506a6498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144244.9673 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144244.9688 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144244.9714 md19669g4e8do310l5il8cr303 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675065352167506a64eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',84.000 ,'aut675060630367506a6498' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241204@144245.9000 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144245.2600 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144245.5200 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144245.6700 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144245.7600 md19669g4e8do310l5il8cr303 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@144245.8800 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144245.1020 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@144245.1140 md19669g4e8do310l5il8cr303 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675069080367506a6502','aut675060630367506a6498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@144245.1180 md19669g4e8do310l5il8cr303 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@144245.1360 md19669g4e8do310l5il8cr303 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@144245.1650 md19669g4e8do310l5il8cr303 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675069080367506a6502',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675060630367506a6498' ,0,0 ,2,23.00,50000,?,?,?)
20241204@144245.4570 md19669g4e8do310l5il8cr303 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675060630367506a6498','2408243','wait',39,'adm09112754980.682000002')
20241204@144245.5260 md19669g4e8do310l5il8cr303 Query : use flama_phc
20241204@144245.5290 md19669g4e8do310l5il8cr303 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@144245.5580 md19669g4e8do310l5il8cr303 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3708';
20241204@144245.6000 md19669g4e8do310l5il8cr303 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3708';
20241204@144245.6480 md19669g4e8do310l5il8cr303 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3708';
20241204@144245.6780 md19669g4e8do310l5il8cr303 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3708';

20241204@202416.6855 fie60qj1ov9ue3ojjt28gtt7of Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3709';
20241204@202416.6928 fie60qj1ov9ue3ojjt28gtt7of Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3709';
20241204@202416.6966 fie60qj1ov9ue3ojjt28gtt7of Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3709';
20241204@202416.7024 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.7027 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202416.7158 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.7162 fie60qj1ov9ue3ojjt28gtt7of Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@202416.7231 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.7460 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =1
20241204@202416.7899 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.7920 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =1
20241204@202416.7939 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.7961 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8535 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8558 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8575 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8595 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8616 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8636 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8654 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8674 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8692 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8735 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8753 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8796 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8814 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8835 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8853 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8874 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8893 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8915 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8933 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8954 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.8971 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20241204@202416.8993 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408244 and bi.ref ='324.682.00.01' and bi.lordem =2
20241204@202416.9011 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.9014 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202416.9258 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.9262 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202416.9401 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.9404 fie60qj1ov9ue3ojjt28gtt7of Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202416.9489 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202416.9651 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.9654 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@202416.9692 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.9696 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202416.9807 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.9811 fie60qj1ov9ue3ojjt28gtt7of Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202416.9858 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.9861 fie60qj1ov9ue3ojjt28gtt7of Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@202416.9930 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202416.9934 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from td where ndoc = 39
20241204@202417.5300 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202417.1340 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.5280 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202417.6210 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.6420 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202417.6800 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7000 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202417.7150 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202417.1094 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202417.1231 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.1251 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202417.1292 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202417.1616 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.1638 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202417.1678 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202417.3242 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202417.3834 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202417.3954 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202417.4057 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202417.4144 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202417.4266 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b353146750ba7111',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202417.5066 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202417.5416 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.5448 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202417.5474 fie60qj1ov9ue3ojjt28gtt7of Query : select 'normal' from dummy
20241204@202417.5555 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b353146750ba7111',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2224,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202417.6134 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202417.6158 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202417.6191 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202417.6376 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.6400 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.6435 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.6454 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.6484 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202417.6530 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20241204@202417.6569 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.6587 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.6604 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b018126750ba71a0','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202417.6672 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.6692 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.6728 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b018126750ba71a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202417.7209 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7227 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.7257 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7274 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.7284 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202417.7298 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7315 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.7328 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b756286750ba71b2','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202417.7333 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7351 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.7388 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b756286750ba71b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,20000,?,?,?)
20241204@202417.7735 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202417.7739 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202417.7762 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202417.7778 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7801 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.7834 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7850 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.7860 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202417.7873 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202417.7888 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7905 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.7937 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b546666750ba71c0','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202417.7942 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.7958 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.7988 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b546666750ba71c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241204@202417.8305 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.8325 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.8355 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.8372 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.8402 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202417.8418 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.8435 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.8450 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b702786750ba71cd','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202417.8455 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.8471 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.8505 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b702786750ba71cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,50000,?,?,?)
20241204@202417.8804 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202417.8807 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202417.8830 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202417.8847 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.8864 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.8912 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.8928 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.8937 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202417.8951 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202417.8964 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.8981 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.8994 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b028216750ba71da','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202417.8999 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.9015 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.9054 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b028216750ba71da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241204@202417.9368 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.9388 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.9420 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.9436 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.9446 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202417.9461 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.9530 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202417.9546 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b225026750ba71e6','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202417.9551 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202417.9570 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202417.9602 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b225026750ba71e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,80000,?,?,?)
20241204@202417.9942 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202417.9946 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202417.9978 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202417.9996 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1800 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.4900 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6600 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.7600 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.9000 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202418.1040 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1210 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.1330 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b281166750ba7202','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.1380 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1540 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.1850 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b281166750ba7202',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241204@202418.5410 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.5810 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.6130 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6290 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.6380 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.6510 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6660 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.6800 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b263026750ba720f','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.6850 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7010 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.7330 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b263026750ba720f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,110000,?,?,?)
20241204@202418.1060 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202418.1063 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202418.1087 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202418.1106 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1126 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.1159 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1178 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.1187 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.1203 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202418.1220 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1238 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.1253 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b533346750ba721d','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.1258 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1276 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.1309 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b533346750ba721d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241204@202418.1664 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1685 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.1719 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1735 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.1745 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.1759 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1775 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.1787 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b802066750ba722a','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.1792 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.1808 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.1841 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b802066750ba722a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,140000,?,?,?)
20241204@202418.2183 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202418.2187 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202418.2209 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202418.2226 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.2243 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.2272 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.2289 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.2298 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.2314 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202418.2328 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.2346 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.2359 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b861686750ba7238','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.2364 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.2379 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.2411 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b861686750ba7238',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241204@202418.2729 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.2748 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.2778 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.2797 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.2807 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.2821 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.2854 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.2867 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b503156750ba7244','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.2872 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.2887 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.2921 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b503156750ba7244',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,170000,?,?,?)
20241204@202418.3238 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202418.3241 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202418.3263 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202418.3280 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.3298 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.3327 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.3345 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.3355 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.3370 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202418.3385 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.3402 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.3416 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b411916750ba7252','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.3422 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.3439 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.3475 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b411916750ba7252',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241204@202418.3816 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.3833 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.3858 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.3875 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.3884 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.3897 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.3913 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.3947 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b393836750ba725f','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.3953 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.3968 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.3999 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b393836750ba725f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,200000,?,?,?)
20241204@202418.4284 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202418.4287 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202418.4310 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202418.4327 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.4349 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.4380 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.5585 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.5596 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.5609 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202418.5623 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.5654 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.5668 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b132666750ba7289','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.5673 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.5689 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.5728 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b132666750ba7289',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241204@202418.6031 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6050 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.6078 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6093 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.6102 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.6115 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6131 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.6143 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b003146750ba7295','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.6172 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6188 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.6219 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b003146750ba7295',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,230000,?,?,?)
20241204@202418.6579 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202418.6582 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202418.6604 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202418.6619 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6637 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.6667 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6683 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.6692 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.6705 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202418.6736 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6752 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.6765 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b311656750ba72a4','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.6770 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.6786 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.6818 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b311656750ba72a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241204@202418.7127 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7148 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.7179 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7196 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.7206 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.7220 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7236 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.7268 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b519236750ba72b0','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.7273 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7289 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.7318 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b519236750ba72b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,260000,?,?,?)
20241204@202418.7633 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202418.7636 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202418.7659 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202418.7676 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7695 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.7743 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7760 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.7771 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.7788 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202418.7802 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7818 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.7831 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b705686750ba72be','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.7836 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.7854 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.7886 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b705686750ba72be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241204@202418.8210 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.8228 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.8259 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.8275 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.8284 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.8297 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.8313 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.8328 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b423206750ba72ca','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.8333 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.8349 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.8383 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b423206750ba72ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,290000,?,?,?)
20241204@202418.8708 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202418.8712 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202418.8735 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202418.8751 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.8769 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.8801 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.8819 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.8829 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.8844 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202418.8863 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.8880 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.8917 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b239426750ba72d8','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.8922 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.8941 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.8993 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b239426750ba72d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241204@202418.9346 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.9368 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.9401 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.9418 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.9427 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202418.9441 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.9456 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.9468 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b350406750ba72e6','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202418.9473 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.9487 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.9521 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b350406750ba72e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,320000,?,?,?)
20241204@202418.9875 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202418.9878 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202418.9900 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202418.9917 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.9935 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202418.9964 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202418.9979 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202418.9989 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202419.3000 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202419.1700 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.3600 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.5100 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b350286750ba7300','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202419.5600 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.7200 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.1030 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b350286750ba7300',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20241204@202419.4280 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.4460 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.4790 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.4940 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.5040 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202419.5180 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.5360 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.5490 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b288226750ba730c','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202419.5540 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.5690 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.6030 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b288226750ba730c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,350000,?,?,?)
20241204@202419.9290 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202419.9330 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202419.9550 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202419.9700 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.1005 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.1036 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.1056 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.1066 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202419.1080 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202419.1093 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.1109 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.1121 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b992876750ba731a','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202419.1126 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.1142 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.1239 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b992876750ba731a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20241204@202419.1869 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.1889 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.1985 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.2002 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.2011 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202419.2025 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.2337 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.2435 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b865236750ba7331','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202419.2441 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.2459 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.2550 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b865236750ba7331',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,380000,?,?,?)
20241204@202419.2841 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202419.2846 fie60qj1ov9ue3ojjt28gtt7of Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241204@202419.2870 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241204@202419.2888 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.2906 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.2937 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.2955 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.2965 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202419.2980 fie60qj1ov9ue3ojjt28gtt7of Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400486100a'
20241204@202419.2996 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.3013 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.3028 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b663246750ba7349','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202419.3033 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.3052 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.3113 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b663246750ba7349',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20241204@202419.3422 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.3440 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.3468 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.3483 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.3491 fie60qj1ov9ue3ojjt28gtt7of Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202419.3511 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.3526 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.3540 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b515766750ba7355','aut6750b353146750ba7111' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202419.3544 fie60qj1ov9ue3ojjt28gtt7of Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.3560 fie60qj1ov9ue3ojjt28gtt7of Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.3589 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b515766750ba7355',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b353146750ba7111' ,0,0 ,2,23.00,410000,?,?,?)
20241204@202419.3908 fie60qj1ov9ue3ojjt28gtt7of Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b353146750ba7111','2408244','wait',39,'adm09112754980.682000002')
20241204@202419.4006 fie60qj1ov9ue3ojjt28gtt7of Query : use flama_phc
20241204@202419.4009 fie60qj1ov9ue3ojjt28gtt7of Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202419.4040 fie60qj1ov9ue3ojjt28gtt7of Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3709';
20241204@202419.4081 fie60qj1ov9ue3ojjt28gtt7of Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3709';
20241204@202419.4129 fie60qj1ov9ue3ojjt28gtt7of Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3709';
20241204@202419.4159 fie60qj1ov9ue3ojjt28gtt7of Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3709';
20241204@202419.4696 h6nn5trljt47b354pm25olkk24 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202419.4711 h6nn5trljt47b354pm25olkk24 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202419.4800 h6nn5trljt47b354pm25olkk24 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3710';
20241204@202419.4904 h6nn5trljt47b354pm25olkk24 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3710';
20241204@202419.4966 h6nn5trljt47b354pm25olkk24 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3710';
20241204@202419.5178 h6nn5trljt47b354pm25olkk24 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3710';
20241204@202419.5257 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.5261 h6nn5trljt47b354pm25olkk24 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202419.5335 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.5339 h6nn5trljt47b354pm25olkk24 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@202419.5393 h6nn5trljt47b354pm25olkk24 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241204@202419.5619 h6nn5trljt47b354pm25olkk24 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408245 and bi.ref ='324.966.00.01' and bi.lordem =1
20241204@202419.5968 h6nn5trljt47b354pm25olkk24 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241204@202419.5991 h6nn5trljt47b354pm25olkk24 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408245 and bi.ref ='324.966.00.01' and bi.lordem =1
20241204@202419.6008 h6nn5trljt47b354pm25olkk24 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241204@202419.6028 h6nn5trljt47b354pm25olkk24 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408245 and bi.ref ='324.966.00.01' and bi.lordem =1
20241204@202419.6046 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.6049 h6nn5trljt47b354pm25olkk24 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202419.6086 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.6090 h6nn5trljt47b354pm25olkk24 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202419.6140 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.6143 h6nn5trljt47b354pm25olkk24 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202419.6174 h6nn5trljt47b354pm25olkk24 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202419.6209 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.6212 h6nn5trljt47b354pm25olkk24 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@202419.6241 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.6245 h6nn5trljt47b354pm25olkk24 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202419.6275 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.6278 h6nn5trljt47b354pm25olkk24 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202419.6319 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.6322 h6nn5trljt47b354pm25olkk24 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@202419.6381 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.6384 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from td where ndoc = 39
20241204@202419.6403 h6nn5trljt47b354pm25olkk24 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202419.6419 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.6438 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202419.6467 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.6485 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202419.6518 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.6534 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202419.6555 h6nn5trljt47b354pm25olkk24 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202419.6682 h6nn5trljt47b354pm25olkk24 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202419.6698 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.6802 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202419.7100 h6nn5trljt47b354pm25olkk24 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b101956750ba73a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202419.7557 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.7673 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202419.7710 h6nn5trljt47b354pm25olkk24 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202419.7967 h6nn5trljt47b354pm25olkk24 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202419.8134 h6nn5trljt47b354pm25olkk24 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202419.8157 h6nn5trljt47b354pm25olkk24 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202419.8170 h6nn5trljt47b354pm25olkk24 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202419.8184 h6nn5trljt47b354pm25olkk24 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202419.8226 h6nn5trljt47b354pm25olkk24 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b101956750ba73a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202419.8530 h6nn5trljt47b354pm25olkk24 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202419.8564 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.8583 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202419.8608 h6nn5trljt47b354pm25olkk24 Query : select 'normal' from dummy
20241204@202419.8625 h6nn5trljt47b354pm25olkk24 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b101956750ba73a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2225,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202419.8991 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.8994 h6nn5trljt47b354pm25olkk24 Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241204@202419.9020 h6nn5trljt47b354pm25olkk24 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241204@202419.9192 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.9211 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.9239 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.9259 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.9268 h6nn5trljt47b354pm25olkk24 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202419.9281 h6nn5trljt47b354pm25olkk24 Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241204@202419.9310 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.9325 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.9336 h6nn5trljt47b354pm25olkk24 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b344796750ba73e3','aut6750b101956750ba73a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202419.9341 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.9355 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.9386 h6nn5trljt47b354pm25olkk24 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b344796750ba73e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut6750b101956750ba73a0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202419.9711 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202419.9715 h6nn5trljt47b354pm25olkk24 Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241204@202419.9739 h6nn5trljt47b354pm25olkk24 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241204@202419.9756 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.9774 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.9801 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.9816 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.9824 h6nn5trljt47b354pm25olkk24 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202419.9837 h6nn5trljt47b354pm25olkk24 Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241204@202419.9850 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.9865 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202419.9877 h6nn5trljt47b354pm25olkk24 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b008816750ba73f0','aut6750b101956750ba73a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202419.9882 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202419.9897 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202419.9927 h6nn5trljt47b354pm25olkk24 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b008816750ba73f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6750b101956750ba73a0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@202420.2330 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202420.2370 h6nn5trljt47b354pm25olkk24 Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241204@202420.2620 h6nn5trljt47b354pm25olkk24 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20241204@202420.2770 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.2990 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202420.3270 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.3590 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202420.3690 h6nn5trljt47b354pm25olkk24 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202420.3820 h6nn5trljt47b354pm25olkk24 Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241204@202420.3970 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.4130 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202420.4250 h6nn5trljt47b354pm25olkk24 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b190276750ba7409','aut6750b101956750ba73a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202420.4300 h6nn5trljt47b354pm25olkk24 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.4460 h6nn5trljt47b354pm25olkk24 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202420.4790 h6nn5trljt47b354pm25olkk24 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b190276750ba7409',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6750b101956750ba73a0' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241204@202420.8010 h6nn5trljt47b354pm25olkk24 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b101956750ba73a0','2408245','wait',39,'adm09112754980.682000002')
20241204@202420.9070 h6nn5trljt47b354pm25olkk24 Query : use flama_phc
20241204@202420.9110 h6nn5trljt47b354pm25olkk24 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202420.9540 h6nn5trljt47b354pm25olkk24 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3710';
20241204@202420.1019 h6nn5trljt47b354pm25olkk24 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3710';
20241204@202420.1094 h6nn5trljt47b354pm25olkk24 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3710';
20241204@202420.1150 h6nn5trljt47b354pm25olkk24 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3710';
20241204@202420.1749 fgage2rsg7k6kj1ebue6ej69ca Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202420.1763 fgage2rsg7k6kj1ebue6ej69ca Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202420.1845 fgage2rsg7k6kj1ebue6ej69ca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3711';
20241204@202420.1943 fgage2rsg7k6kj1ebue6ej69ca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3711';
20241204@202420.2019 fgage2rsg7k6kj1ebue6ej69ca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3711';
20241204@202420.2062 fgage2rsg7k6kj1ebue6ej69ca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3711';
20241204@202420.2140 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.2144 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202420.3526 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.3530 fgage2rsg7k6kj1ebue6ej69ca Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@202420.3728 fgage2rsg7k6kj1ebue6ej69ca 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'
20241204@202420.4901 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408246 and bi.ref ='324.5500.00.1' and bi.lordem =1
20241204@202420.5724 fgage2rsg7k6kj1ebue6ej69ca 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'
20241204@202420.5891 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408246 and bi.ref ='324.5500.00.1' and bi.lordem =1
20241204@202420.5915 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.5919 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202420.5953 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.5956 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202420.5987 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.5990 fgage2rsg7k6kj1ebue6ej69ca Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202420.6019 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202420.6054 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.6057 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@202420.6087 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.6091 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202420.6122 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.6125 fgage2rsg7k6kj1ebue6ej69ca Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202420.6166 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.6170 fgage2rsg7k6kj1ebue6ej69ca Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@202420.6217 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.6220 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from td where ndoc = 39
20241204@202420.6233 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202420.6249 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.6268 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202420.6289 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.6306 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202420.6340 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.6359 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202420.6375 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202420.6436 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202420.6451 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.6471 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202420.6489 fgage2rsg7k6kj1ebue6ej69ca Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b764526750ba749b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202420.6737 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.6760 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202420.6803 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202420.6820 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202420.6836 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202420.6850 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202420.6863 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202420.6877 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202420.6890 fgage2rsg7k6kj1ebue6ej69ca Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b764526750ba749b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202420.7224 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202420.7255 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.7275 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202420.7305 fgage2rsg7k6kj1ebue6ej69ca Query : select 'normal' from dummy
20241204@202420.7324 fgage2rsg7k6kj1ebue6ej69ca Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b764526750ba749b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2226,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202420.7710 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.7713 fgage2rsg7k6kj1ebue6ej69ca Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20241204@202420.7741 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20241204@202420.7935 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.7954 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202420.7981 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.8015 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202420.8025 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202420.8037 fgage2rsg7k6kj1ebue6ej69ca Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2400095600a'
20241204@202420.8064 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.8080 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202420.8093 fgage2rsg7k6kj1ebue6ej69ca Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b434676750ba74c4','aut6750b764526750ba749b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202420.8100 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.8117 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202420.8152 fgage2rsg7k6kj1ebue6ej69ca Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b434676750ba74c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',26.000 ,'aut6750b764526750ba749b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202420.8478 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.8482 fgage2rsg7k6kj1ebue6ej69ca Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20241204@202420.8511 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20241204@202420.8529 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.8551 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202420.8580 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.8596 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202420.8606 fgage2rsg7k6kj1ebue6ej69ca Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202420.8620 fgage2rsg7k6kj1ebue6ej69ca Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2400095600a'
20241204@202420.8635 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.8652 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202420.8666 fgage2rsg7k6kj1ebue6ej69ca Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b691346750ba74d2','aut6750b764526750ba749b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202420.8671 fgage2rsg7k6kj1ebue6ej69ca Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202420.8687 fgage2rsg7k6kj1ebue6ej69ca Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202420.8719 fgage2rsg7k6kj1ebue6ej69ca Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b691346750ba74d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6750b764526750ba749b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@202420.9073 fgage2rsg7k6kj1ebue6ej69ca Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b764526750ba749b','2408246','wait',39,'adm09112754980.682000002')
20241204@202420.9148 fgage2rsg7k6kj1ebue6ej69ca Query : use flama_phc
20241204@202420.9152 fgage2rsg7k6kj1ebue6ej69ca Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202420.9185 fgage2rsg7k6kj1ebue6ej69ca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3711';
20241204@202420.9228 fgage2rsg7k6kj1ebue6ej69ca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3711';
20241204@202420.9281 fgage2rsg7k6kj1ebue6ej69ca Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3711';
20241204@202420.9318 fgage2rsg7k6kj1ebue6ej69ca Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3711';
20241204@202420.9846 667sa4jacr0qlrok5jgv976r36 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202420.9857 667sa4jacr0qlrok5jgv976r36 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202420.9947 667sa4jacr0qlrok5jgv976r36 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3712';
20241204@202421.1800 667sa4jacr0qlrok5jgv976r36 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3712';
20241204@202421.8700 667sa4jacr0qlrok5jgv976r36 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3712';
20241204@202421.1320 667sa4jacr0qlrok5jgv976r36 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3712';
20241204@202421.2830 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2900 667sa4jacr0qlrok5jgv976r36 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202421.7800 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.7870 667sa4jacr0qlrok5jgv976r36 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@202421.9660 667sa4jacr0qlrok5jgv976r36 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241204@202421.1354 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408250 and bi.ref ='324.497.00.01' and bi.lordem =1
20241204@202421.2151 667sa4jacr0qlrok5jgv976r36 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241204@202421.2179 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408250 and bi.ref ='324.497.00.01' and bi.lordem =1
20241204@202421.2202 667sa4jacr0qlrok5jgv976r36 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241204@202421.2226 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408250 and bi.ref ='324.497.00.01' and bi.lordem =1
20241204@202421.2250 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2254 667sa4jacr0qlrok5jgv976r36 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202421.2300 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2303 667sa4jacr0qlrok5jgv976r36 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202421.2342 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2345 667sa4jacr0qlrok5jgv976r36 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202421.2380 667sa4jacr0qlrok5jgv976r36 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202421.2425 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2428 667sa4jacr0qlrok5jgv976r36 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@202421.2474 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2477 667sa4jacr0qlrok5jgv976r36 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202421.2519 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2521 667sa4jacr0qlrok5jgv976r36 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202421.2581 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2584 667sa4jacr0qlrok5jgv976r36 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@202421.2649 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.2652 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from td where ndoc = 39
20241204@202421.2665 667sa4jacr0qlrok5jgv976r36 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202421.2678 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.2695 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202421.2713 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.2728 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202421.2781 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.2800 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202421.2813 667sa4jacr0qlrok5jgv976r36 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202421.2873 667sa4jacr0qlrok5jgv976r36 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202421.2886 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.2903 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202421.2919 667sa4jacr0qlrok5jgv976r36 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b135776750ba7544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202421.3120 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.3138 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202421.3171 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202421.3183 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202421.3195 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202421.3206 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202421.3218 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202421.3229 667sa4jacr0qlrok5jgv976r36 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202421.3240 667sa4jacr0qlrok5jgv976r36 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b135776750ba7544',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202421.3529 667sa4jacr0qlrok5jgv976r36 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202421.3560 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.3579 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202421.3603 667sa4jacr0qlrok5jgv976r36 Query : select 'normal' from dummy
20241204@202421.3619 667sa4jacr0qlrok5jgv976r36 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b135776750ba7544',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2227,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202421.3982 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.3986 667sa4jacr0qlrok5jgv976r36 Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241204@202421.4012 667sa4jacr0qlrok5jgv976r36 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20241204@202421.4197 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.4214 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202421.4240 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.4257 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202421.4266 667sa4jacr0qlrok5jgv976r36 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202421.4279 667sa4jacr0qlrok5jgv976r36 Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241204@202421.4311 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.4327 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202421.4340 667sa4jacr0qlrok5jgv976r36 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b261336750ba7569','aut6750b135776750ba7544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202421.4345 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.4361 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202421.4392 667sa4jacr0qlrok5jgv976r36 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b261336750ba7569',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6750b135776750ba7544' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202421.4707 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.4710 667sa4jacr0qlrok5jgv976r36 Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241204@202421.4731 667sa4jacr0qlrok5jgv976r36 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20241204@202421.4747 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.4764 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202421.4804 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.4821 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202421.4830 667sa4jacr0qlrok5jgv976r36 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202421.4843 667sa4jacr0qlrok5jgv976r36 Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241204@202421.4856 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.4871 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202421.4883 667sa4jacr0qlrok5jgv976r36 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b163536750ba7576','aut6750b135776750ba7544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202421.4888 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.4904 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202421.4934 667sa4jacr0qlrok5jgv976r36 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b163536750ba7576',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6750b135776750ba7544' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@202421.5239 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.5253 667sa4jacr0qlrok5jgv976r36 Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241204@202421.5273 667sa4jacr0qlrok5jgv976r36 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20241204@202421.5292 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.5312 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202421.5889 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.5909 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202421.6046 667sa4jacr0qlrok5jgv976r36 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202421.6062 667sa4jacr0qlrok5jgv976r36 Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241204@202421.6079 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.6102 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202421.6116 667sa4jacr0qlrok5jgv976r36 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b268726750ba7594','aut6750b135776750ba7544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202421.6122 667sa4jacr0qlrok5jgv976r36 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202421.6181 667sa4jacr0qlrok5jgv976r36 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202421.7323 667sa4jacr0qlrok5jgv976r36 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b268726750ba7594',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6750b135776750ba7544' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241204@202421.7693 667sa4jacr0qlrok5jgv976r36 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b135776750ba7544','2408250','wait',39,'adm09112754980.682000002')
20241204@202421.7769 667sa4jacr0qlrok5jgv976r36 Query : use flama_phc
20241204@202421.7773 667sa4jacr0qlrok5jgv976r36 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202421.7807 667sa4jacr0qlrok5jgv976r36 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3712';
20241204@202421.7849 667sa4jacr0qlrok5jgv976r36 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3712';
20241204@202421.7927 667sa4jacr0qlrok5jgv976r36 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3712';
20241204@202421.7969 667sa4jacr0qlrok5jgv976r36 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3712';
20241204@202421.8487 cqmombq012nal420f2cgm3rudn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202421.8499 cqmombq012nal420f2cgm3rudn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202421.8573 cqmombq012nal420f2cgm3rudn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3713';
20241204@202421.8656 cqmombq012nal420f2cgm3rudn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3713';
20241204@202421.8721 cqmombq012nal420f2cgm3rudn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3713';
20241204@202421.8758 cqmombq012nal420f2cgm3rudn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3713';
20241204@202421.8816 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202421.8820 cqmombq012nal420f2cgm3rudn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202421.8893 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202421.8898 cqmombq012nal420f2cgm3rudn Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20241204@202421.9008 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241204@202421.9038 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241204@202421.9451 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241204@202421.9476 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241204@202421.9495 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241204@202421.9517 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241204@202421.9534 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241204@202421.9556 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241204@202421.9574 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241204@202421.9595 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241204@202421.9612 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2387.00.1'
20241204@202421.9815 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2387.00.1' and bi.lordem =2
20241204@202422.1940 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2387.00.1'
20241204@202422.2180 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2387.00.1' and bi.lordem =2
20241204@202422.2360 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2387.00.1'
20241204@202422.2800 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2387.00.1' and bi.lordem =2
20241204@202422.3050 cqmombq012nal420f2cgm3rudn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2387.00.1'
20241204@202422.3280 cqmombq012nal420f2cgm3rudn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408252 and bi.ref ='324.2387.00.1' and bi.lordem =2
20241204@202422.3490 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.3530 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202422.3950 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.3990 cqmombq012nal420f2cgm3rudn Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202422.4310 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.4350 cqmombq012nal420f2cgm3rudn Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202422.4720 cqmombq012nal420f2cgm3rudn Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202422.5110 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.5150 cqmombq012nal420f2cgm3rudn Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20241204@202422.6570 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.6600 cqmombq012nal420f2cgm3rudn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202422.6920 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.6960 cqmombq012nal420f2cgm3rudn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202422.7380 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.7420 cqmombq012nal420f2cgm3rudn Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20241204@202422.7930 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.7960 cqmombq012nal420f2cgm3rudn Query : select 1 valor from td where ndoc = 39
20241204@202422.8260 cqmombq012nal420f2cgm3rudn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202422.8440 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.8670 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202422.8920 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.9110 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202422.9490 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.9660 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202422.9810 cqmombq012nal420f2cgm3rudn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202422.1042 cqmombq012nal420f2cgm3rudn Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202422.1075 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.1094 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202422.1112 cqmombq012nal420f2cgm3rudn Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202422.1337 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.1358 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202422.1399 cqmombq012nal420f2cgm3rudn Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202422.1413 cqmombq012nal420f2cgm3rudn Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202422.1426 cqmombq012nal420f2cgm3rudn Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202422.1511 cqmombq012nal420f2cgm3rudn Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202422.1524 cqmombq012nal420f2cgm3rudn Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202422.1540 cqmombq012nal420f2cgm3rudn Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202422.1741 cqmombq012nal420f2cgm3rudn Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b050056750ba7617',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202422.2251 cqmombq012nal420f2cgm3rudn Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202422.2326 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.2379 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202422.2411 cqmombq012nal420f2cgm3rudn Query : select 'normal' from dummy
20241204@202422.2447 cqmombq012nal420f2cgm3rudn Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b050056750ba7617',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2228,199506,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202422.2870 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.2873 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241204@202422.2899 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241204@202422.2929 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.2950 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.2977 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.2994 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.3004 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202422.3018 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241204@202422.3046 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.3063 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.3076 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b119956750ba764a','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202422.3081 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.3097 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.3127 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b119956750ba764a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',54.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202422.3465 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.3469 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241204@202422.3491 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241204@202422.3506 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.3526 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.3557 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.3574 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.3584 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202422.3598 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241204@202422.3613 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.3630 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.3647 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b650066750ba7658','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202422.3667 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.3685 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.3720 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b650066750ba7658',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@202422.4122 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.4127 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241204@202422.4155 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241204@202422.4178 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.4199 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.4228 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.4244 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.4253 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202422.4266 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241204@202422.4278 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.4293 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.4309 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b393046750ba7668','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202422.4314 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.4332 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.4366 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b393046750ba7668',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241204@202422.4707 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.4711 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241204@202422.4735 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241204@202422.4752 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.4792 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.4826 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.4841 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.4851 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202422.4863 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241204@202422.4877 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.4894 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.4908 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b542296750ba7677','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202422.4913 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.4931 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.4960 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b542296750ba7677',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241204@202422.5324 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.5328 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241204@202422.5356 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241204@202422.5376 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.5399 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.5432 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.5449 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.5459 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202422.5473 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241204@202422.5488 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.5504 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.5518 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b692096750ba7685','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202422.5523 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.5541 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.5573 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b692096750ba7685',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241204@202422.5896 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.5900 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2387.00.1'
20241204@202422.5925 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2387.00.1'
20241204@202422.6262 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.6282 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.6310 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.6329 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.6338 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202422.6352 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2387.00.1' and lote = 'r2400490200a'
20241204@202422.6367 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.6383 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.6414 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b837026750ba769b','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202422.6418 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.6434 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.6464 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b837026750ba769b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241204@202422.6795 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.6799 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2387.00.1'
20241204@202422.6819 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2387.00.1'
20241204@202422.6835 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.6852 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.6879 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.6896 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.6905 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202422.6918 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2387.00.1' and lote = 'r2400490200a'
20241204@202422.6931 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.6946 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.6958 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b072036750ba76a9','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202422.6962 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.6977 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.7008 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b072036750ba76a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241204@202422.8267 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202422.8471 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2387.00.1'
20241204@202422.9183 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2387.00.1'
20241204@202422.9200 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.9218 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202422.9249 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202422.9268 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202422.9277 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202423.5340 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2387.00.1' and lote = 'r2400490200a'
20241204@202423.5510 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.5700 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202423.5840 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b421976750ba770d','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202423.5900 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.6740 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202423.7120 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b421976750ba770d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241204@202423.1086 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202423.1090 cqmombq012nal420f2cgm3rudn Query : select st.usalote valor from st where st.ref = '324.2387.00.1'
20241204@202423.1112 cqmombq012nal420f2cgm3rudn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2387.00.1'
20241204@202423.1131 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.1149 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202423.1185 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.1256 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202423.1268 cqmombq012nal420f2cgm3rudn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202423.1281 cqmombq012nal420f2cgm3rudn Query : select sestamp valor from se where ref ='324.2387.00.1' and lote = 'r2400490200a'
20241204@202423.1295 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.1314 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202423.1328 cqmombq012nal420f2cgm3rudn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b188936750ba771f','aut6750b050056750ba7617' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202423.1334 cqmombq012nal420f2cgm3rudn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.1351 cqmombq012nal420f2cgm3rudn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202423.1382 cqmombq012nal420f2cgm3rudn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b188936750ba771f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6750b050056750ba7617' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241204@202423.1737 cqmombq012nal420f2cgm3rudn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b050056750ba7617','2408252','wait',39,'adm09112754980.682000002')
20241204@202423.1835 cqmombq012nal420f2cgm3rudn Query : use flama_phc
20241204@202423.1839 cqmombq012nal420f2cgm3rudn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202423.1874 cqmombq012nal420f2cgm3rudn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3713';
20241204@202423.1927 cqmombq012nal420f2cgm3rudn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3713';
20241204@202423.1983 cqmombq012nal420f2cgm3rudn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3713';
20241204@202423.2026 cqmombq012nal420f2cgm3rudn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3713';
20241204@202423.2647 g718p49fep134vjn11lvm5pfm8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202423.2659 g718p49fep134vjn11lvm5pfm8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202423.2745 g718p49fep134vjn11lvm5pfm8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3714';
20241204@202423.2832 g718p49fep134vjn11lvm5pfm8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3714';
20241204@202423.2911 g718p49fep134vjn11lvm5pfm8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3714';
20241204@202423.2951 g718p49fep134vjn11lvm5pfm8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3714';
20241204@202423.3033 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.3037 g718p49fep134vjn11lvm5pfm8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202423.3126 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.3130 g718p49fep134vjn11lvm5pfm8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3876
20241204@202423.3244 g718p49fep134vjn11lvm5pfm8 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'
20241204@202423.3465 g718p49fep134vjn11lvm5pfm8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408256 and bi.ref ='324.4421.00.1' and bi.lordem =1
20241204@202423.3910 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.3914 g718p49fep134vjn11lvm5pfm8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202423.3957 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.3961 g718p49fep134vjn11lvm5pfm8 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202423.4097 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.4102 g718p49fep134vjn11lvm5pfm8 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202423.4141 g718p49fep134vjn11lvm5pfm8 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202423.4518 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.4522 g718p49fep134vjn11lvm5pfm8 Query : select top 1 ~inactivo valor from cl where no = '102891' and estab = 0 order by inactivo desc
20241204@202423.4683 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.4687 g718p49fep134vjn11lvm5pfm8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202423.4721 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.4724 g718p49fep134vjn11lvm5pfm8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202423.4774 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.4778 g718p49fep134vjn11lvm5pfm8 Query : select szadrsstamp valor from szadrs where szadrsdesc='servi almodovar- entrega'
20241204@202423.4834 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.4838 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from td where ndoc = 39
20241204@202423.4854 g718p49fep134vjn11lvm5pfm8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202423.4869 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.4887 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202423.4909 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.4925 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202423.4957 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.4976 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202423.4994 g718p49fep134vjn11lvm5pfm8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202423.5062 g718p49fep134vjn11lvm5pfm8 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202423.5077 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.5096 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202423.5127 g718p49fep134vjn11lvm5pfm8 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b718846750ba7779' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202423.5341 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.5363 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202423.5400 g718p49fep134vjn11lvm5pfm8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202423.5413 g718p49fep134vjn11lvm5pfm8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202423.5425 g718p49fep134vjn11lvm5pfm8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202423.5439 g718p49fep134vjn11lvm5pfm8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202423.5453 g718p49fep134vjn11lvm5pfm8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202423.5466 g718p49fep134vjn11lvm5pfm8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202423.5493 g718p49fep134vjn11lvm5pfm8 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b718846750ba7779',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202423.5786 g718p49fep134vjn11lvm5pfm8 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202423.5827 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.5849 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202423.5889 g718p49fep134vjn11lvm5pfm8 Query : select 'normal' from dummy
20241204@202423.5907 g718p49fep134vjn11lvm5pfm8 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b718846750ba7779',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2229,102891,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202423.6258 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.6262 g718p49fep134vjn11lvm5pfm8 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20241204@202423.6460 g718p49fep134vjn11lvm5pfm8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20241204@202423.6659 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.6678 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202423.6705 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.6726 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202423.6736 g718p49fep134vjn11lvm5pfm8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202423.6751 g718p49fep134vjn11lvm5pfm8 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20241204@202423.6778 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.6794 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202423.6807 g718p49fep134vjn11lvm5pfm8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b725456750ba77a5','aut6750b718846750ba7779' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202423.6811 g718p49fep134vjn11lvm5pfm8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202423.6827 g718p49fep134vjn11lvm5pfm8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202423.6857 g718p49fep134vjn11lvm5pfm8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b725456750ba77a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6750b718846750ba7779' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202423.7197 g718p49fep134vjn11lvm5pfm8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b718846750ba7779','2408256','wait',39,'adm09112754980.682000002')
20241204@202423.7271 g718p49fep134vjn11lvm5pfm8 Query : use flama_phc
20241204@202423.7274 g718p49fep134vjn11lvm5pfm8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202423.7308 g718p49fep134vjn11lvm5pfm8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3714';
20241204@202423.7351 g718p49fep134vjn11lvm5pfm8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3714';
20241204@202423.7406 g718p49fep134vjn11lvm5pfm8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3714';
20241204@202423.7449 g718p49fep134vjn11lvm5pfm8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3714';
20241204@202423.8003 j3v2rbmi13p0jaipkjaqr192ss Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202423.8023 j3v2rbmi13p0jaipkjaqr192ss Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202423.8106 j3v2rbmi13p0jaipkjaqr192ss Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3715';
20241204@202423.8175 j3v2rbmi13p0jaipkjaqr192ss Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3715';
20241204@202423.8236 j3v2rbmi13p0jaipkjaqr192ss Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3715';
20241204@202423.8281 j3v2rbmi13p0jaipkjaqr192ss Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3715';
20241204@202423.8363 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202423.8367 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202423.8436 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202423.8440 j3v2rbmi13p0jaipkjaqr192ss Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20241204@202423.8506 j3v2rbmi13p0jaipkjaqr192ss 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'
20241204@202423.8539 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408257 and bi.ref ='324.4421.00.1' and bi.lordem =1
20241204@202423.8910 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202423.8914 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202423.8951 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202423.8954 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202424.1160 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202424.1200 j3v2rbmi13p0jaipkjaqr192ss Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202424.1550 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202424.2050 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202424.2080 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20241204@202424.2710 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202424.2740 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202424.3210 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202424.3230 j3v2rbmi13p0jaipkjaqr192ss Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202424.4360 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202424.4410 j3v2rbmi13p0jaipkjaqr192ss Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20241204@202424.5050 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202424.5100 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from td where ndoc = 39
20241204@202424.5240 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202424.5380 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.5570 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202424.5790 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.6060 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202424.6350 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.6510 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202424.6640 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202424.7260 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202424.7390 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.7550 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202424.7720 j3v2rbmi13p0jaipkjaqr192ss Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b226476750ba7810' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202424.1056 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.1077 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202424.1117 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202424.1130 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202424.1144 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202424.1175 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202424.1188 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202424.1201 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202424.1214 j3v2rbmi13p0jaipkjaqr192ss Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b226476750ba7810',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202424.1575 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202424.1611 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.1630 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202424.1657 j3v2rbmi13p0jaipkjaqr192ss Query : select 'normal' from dummy
20241204@202424.1673 j3v2rbmi13p0jaipkjaqr192ss Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b226476750ba7810',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2230,100327,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202424.2011 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202424.2015 j3v2rbmi13p0jaipkjaqr192ss Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20241204@202424.2037 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20241204@202424.2053 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.2071 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202424.2100 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.2116 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202424.2125 j3v2rbmi13p0jaipkjaqr192ss Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202424.2139 j3v2rbmi13p0jaipkjaqr192ss Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20241204@202424.2153 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.2171 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202424.2202 j3v2rbmi13p0jaipkjaqr192ss Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b580286750ba7834','aut6750b226476750ba7810' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202424.2207 j3v2rbmi13p0jaipkjaqr192ss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.2224 j3v2rbmi13p0jaipkjaqr192ss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202424.2255 j3v2rbmi13p0jaipkjaqr192ss Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b580286750ba7834',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6750b226476750ba7810' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202424.2556 j3v2rbmi13p0jaipkjaqr192ss Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b226476750ba7810','2408257','wait',39,'adm09112754980.682000002')
20241204@202424.2631 j3v2rbmi13p0jaipkjaqr192ss Query : use flama_phc
20241204@202424.2634 j3v2rbmi13p0jaipkjaqr192ss Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202424.2665 j3v2rbmi13p0jaipkjaqr192ss Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3715';
20241204@202424.2711 j3v2rbmi13p0jaipkjaqr192ss Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3715';
20241204@202424.2776 j3v2rbmi13p0jaipkjaqr192ss Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3715';
20241204@202424.2840 j3v2rbmi13p0jaipkjaqr192ss Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3715';
20241204@202424.3414 58fdg7p7m4glfsts7b27a6q35h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202424.3426 58fdg7p7m4glfsts7b27a6q35h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202424.3500 58fdg7p7m4glfsts7b27a6q35h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3716';
20241204@202424.3576 58fdg7p7m4glfsts7b27a6q35h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3716';
20241204@202424.3674 58fdg7p7m4glfsts7b27a6q35h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3716';
20241204@202424.3724 58fdg7p7m4glfsts7b27a6q35h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3716';
20241204@202424.3794 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.3798 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202424.3884 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.3888 58fdg7p7m4glfsts7b27a6q35h Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20241204@202424.4002 58fdg7p7m4glfsts7b27a6q35h 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'
20241204@202424.4024 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408258 and bi.ref ='324.4421.00.1' and bi.lordem =1
20241204@202424.4394 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.4399 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202424.4442 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.4446 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202424.4481 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.4485 58fdg7p7m4glfsts7b27a6q35h Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202424.4517 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202424.5839 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.5843 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20241204@202424.6049 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.6069 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202424.6101 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.6104 58fdg7p7m4glfsts7b27a6q35h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202424.6156 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.6159 58fdg7p7m4glfsts7b27a6q35h Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20241204@202424.6210 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.6213 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from td where ndoc = 39
20241204@202424.6241 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202424.6259 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.6276 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202424.6296 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.6315 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202424.6352 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.6367 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202424.6381 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202424.6439 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202424.6627 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.6645 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202424.6662 58fdg7p7m4glfsts7b27a6q35h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b498446750ba789b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202424.6894 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.6918 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202424.6953 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202424.6965 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202424.6978 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202424.6990 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202424.7003 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202424.7015 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202424.7026 58fdg7p7m4glfsts7b27a6q35h Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b498446750ba789b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202424.7320 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202424.7352 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.7371 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202424.7396 58fdg7p7m4glfsts7b27a6q35h Query : select 'normal' from dummy
20241204@202424.7411 58fdg7p7m4glfsts7b27a6q35h Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b498446750ba789b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2231,102079,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202424.7773 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.7777 58fdg7p7m4glfsts7b27a6q35h Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20241204@202424.7804 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20241204@202424.7820 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.7839 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202424.7869 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.7886 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202424.7899 58fdg7p7m4glfsts7b27a6q35h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202424.7913 58fdg7p7m4glfsts7b27a6q35h Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20241204@202424.7927 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.7942 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202424.7956 58fdg7p7m4glfsts7b27a6q35h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b099366750ba78c1','aut6750b498446750ba789b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202424.7960 58fdg7p7m4glfsts7b27a6q35h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202424.7976 58fdg7p7m4glfsts7b27a6q35h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202424.8008 58fdg7p7m4glfsts7b27a6q35h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b099366750ba78c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6750b498446750ba789b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202424.8392 58fdg7p7m4glfsts7b27a6q35h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b498446750ba789b','2408258','wait',39,'adm09112754980.682000002')
20241204@202424.8480 58fdg7p7m4glfsts7b27a6q35h Query : use flama_phc
20241204@202424.8486 58fdg7p7m4glfsts7b27a6q35h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202424.8520 58fdg7p7m4glfsts7b27a6q35h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3716';
20241204@202424.8570 58fdg7p7m4glfsts7b27a6q35h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3716';
20241204@202424.8623 58fdg7p7m4glfsts7b27a6q35h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3716';
20241204@202424.8660 58fdg7p7m4glfsts7b27a6q35h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3716';
20241204@202424.9238 vgjnvmt8t95n1nemjen0e8do2n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202424.9250 vgjnvmt8t95n1nemjen0e8do2n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202424.9324 vgjnvmt8t95n1nemjen0e8do2n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3717';
20241204@202424.9412 vgjnvmt8t95n1nemjen0e8do2n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3717';
20241204@202424.9477 vgjnvmt8t95n1nemjen0e8do2n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3717';
20241204@202424.9516 vgjnvmt8t95n1nemjen0e8do2n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3717';
20241204@202424.9652 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202424.9656 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202424.9721 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202424.9724 vgjnvmt8t95n1nemjen0e8do2n Query : select no, estab,szadrsdesc from szadrs where u_coddest=635
20241204@202424.9795 vgjnvmt8t95n1nemjen0e8do2n 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'
20241204@202424.9991 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408259 and bi.ref ='324.1608.00.1' and bi.lordem =1
20241204@202425.4220 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.4260 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202425.4630 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.4670 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202425.4990 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.5020 vgjnvmt8t95n1nemjen0e8do2n Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202425.5310 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202425.5710 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.5740 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 ~inactivo valor from cl where no = '100053' and estab = 0 order by inactivo desc
20241204@202425.6160 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.6190 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202425.6540 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.6580 vgjnvmt8t95n1nemjen0e8do2n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202425.7450 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.9090 vgjnvmt8t95n1nemjen0e8do2n Query : select szadrsstamp valor from szadrs where szadrsdesc='irmaos peixoto, s.a.'
20241204@202425.2907 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.2912 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from td where ndoc = 39
20241204@202425.2929 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202425.2946 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.2965 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202425.2990 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.3011 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202425.3045 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.3065 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202425.3152 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202425.3215 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202425.3229 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.3264 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202425.3281 vgjnvmt8t95n1nemjen0e8do2n Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b852926750ba794c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202425.3489 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.3511 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202425.3548 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202425.3561 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202425.3576 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202425.3589 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202425.3616 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202425.3629 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202425.3641 vgjnvmt8t95n1nemjen0e8do2n Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b852926750ba794c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202425.3936 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202425.3970 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.3989 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202425.4019 vgjnvmt8t95n1nemjen0e8do2n Query : select 'normal' from dummy
20241204@202425.4042 vgjnvmt8t95n1nemjen0e8do2n Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b852926750ba794c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2232,100053,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202425.4461 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.4465 vgjnvmt8t95n1nemjen0e8do2n Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20241204@202425.4492 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20241204@202425.4675 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.4695 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202425.4724 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.4741 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202425.4754 vgjnvmt8t95n1nemjen0e8do2n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202425.4769 vgjnvmt8t95n1nemjen0e8do2n Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2400237100a'
20241204@202425.4787 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.4805 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202425.4817 vgjnvmt8t95n1nemjen0e8do2n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b629756750ba7974','aut6750b852926750ba794c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202425.4821 vgjnvmt8t95n1nemjen0e8do2n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202425.4840 vgjnvmt8t95n1nemjen0e8do2n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202425.4873 vgjnvmt8t95n1nemjen0e8do2n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b629756750ba7974',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6750b852926750ba794c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202425.5200 vgjnvmt8t95n1nemjen0e8do2n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b852926750ba794c','2408259','wait',39,'adm09112754980.682000002')
20241204@202425.5291 vgjnvmt8t95n1nemjen0e8do2n Query : use flama_phc
20241204@202425.5295 vgjnvmt8t95n1nemjen0e8do2n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202425.5333 vgjnvmt8t95n1nemjen0e8do2n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3717';
20241204@202425.5382 vgjnvmt8t95n1nemjen0e8do2n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3717';
20241204@202425.5441 vgjnvmt8t95n1nemjen0e8do2n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3717';
20241204@202425.5497 vgjnvmt8t95n1nemjen0e8do2n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3717';
20241204@202425.6103 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202425.6116 3nvmqa8askb2k3t5pt8i4bdg1t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202425.6206 3nvmqa8askb2k3t5pt8i4bdg1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3718';
20241204@202425.6293 3nvmqa8askb2k3t5pt8i4bdg1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3718';
20241204@202425.6358 3nvmqa8askb2k3t5pt8i4bdg1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3718';
20241204@202425.6397 3nvmqa8askb2k3t5pt8i4bdg1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3718';
20241204@202425.6458 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202425.6462 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202425.6534 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202425.6541 3nvmqa8askb2k3t5pt8i4bdg1t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241204@202425.6592 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241204@202425.6620 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408286 and bi.ref ='324.1676.00.1' and bi.lordem =1
20241204@202425.7189 3nvmqa8askb2k3t5pt8i4bdg1t 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'
20241204@202425.7457 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408286 and bi.ref ='324.969.00.01' and bi.lordem =2
20241204@202425.7907 3nvmqa8askb2k3t5pt8i4bdg1t 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'
20241204@202425.9293 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408286 and bi.ref ='324.1643.00.1' and bi.lordem =3
20241204@202425.9717 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202425.9720 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202425.9755 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202425.9759 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202425.9796 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202425.9799 3nvmqa8askb2k3t5pt8i4bdg1t Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202425.9832 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202425.9872 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202425.9875 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@202425.9909 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202425.9913 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202425.9945 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202425.9949 3nvmqa8askb2k3t5pt8i4bdg1t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202426.0000 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202426.4000 3nvmqa8askb2k3t5pt8i4bdg1t Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241204@202426.5300 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202426.5600 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from td where ndoc = 39
20241204@202426.7100 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202426.8800 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.1110 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202426.1330 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.1510 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202426.1790 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.1960 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202426.2100 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202426.2730 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202426.2890 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.3060 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202426.3220 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b958556750ba7a05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202426.5480 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.5700 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202426.6060 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202426.6180 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202426.6310 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202426.6460 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202426.6600 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202426.6740 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202426.6860 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b958556750ba7a05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202426.1021 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202426.1067 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.1086 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202426.1110 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 'normal' from dummy
20241204@202426.1126 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b958556750ba7a05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2233,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202426.1524 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202426.1527 3nvmqa8askb2k3t5pt8i4bdg1t Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241204@202426.1561 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20241204@202426.1587 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.1613 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.1652 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.1668 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.1678 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202426.1691 3nvmqa8askb2k3t5pt8i4bdg1t Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241204@202426.1714 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.1731 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.1743 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b726116750ba7a29','aut6750b958556750ba7a05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202426.1748 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.1764 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.1795 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b726116750ba7a29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6750b958556750ba7a05' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202426.2133 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202426.2137 3nvmqa8askb2k3t5pt8i4bdg1t Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20241204@202426.2160 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20241204@202426.2324 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.2342 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.2370 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.2386 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.2396 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202426.2409 3nvmqa8askb2k3t5pt8i4bdg1t Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20241204@202426.2454 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.2470 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.2482 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b216296750ba7a3b','aut6750b958556750ba7a05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202426.2487 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.2502 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.2535 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b216296750ba7a3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6750b958556750ba7a05' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241204@202426.2848 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202426.2853 3nvmqa8askb2k3t5pt8i4bdg1t Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20241204@202426.2879 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1643.00.1'
20241204@202426.3077 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.3098 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.3126 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.3143 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.3166 3nvmqa8askb2k3t5pt8i4bdg1t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202426.3179 3nvmqa8askb2k3t5pt8i4bdg1t Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20241204@202426.3213 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.3231 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.3244 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b925086750ba7a4e','aut6750b958556750ba7a05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202426.3248 3nvmqa8askb2k3t5pt8i4bdg1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.3265 3nvmqa8askb2k3t5pt8i4bdg1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.3299 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b925086750ba7a4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6750b958556750ba7a05' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241204@202426.3645 3nvmqa8askb2k3t5pt8i4bdg1t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b958556750ba7a05','2408286','wait',39,'adm09112754980.682000002')
20241204@202426.3727 3nvmqa8askb2k3t5pt8i4bdg1t Query : use flama_phc
20241204@202426.3731 3nvmqa8askb2k3t5pt8i4bdg1t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202426.3835 3nvmqa8askb2k3t5pt8i4bdg1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3718';
20241204@202426.3883 3nvmqa8askb2k3t5pt8i4bdg1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3718';
20241204@202426.3935 3nvmqa8askb2k3t5pt8i4bdg1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3718';
20241204@202426.3973 3nvmqa8askb2k3t5pt8i4bdg1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3718';
20241204@202426.4571 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202426.4584 lgrs5dp77odb0sl7b3gb1gs287 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202426.4657 lgrs5dp77odb0sl7b3gb1gs287 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3719';
20241204@202426.4735 lgrs5dp77odb0sl7b3gb1gs287 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3719';
20241204@202426.4803 lgrs5dp77odb0sl7b3gb1gs287 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3719';
20241204@202426.4839 lgrs5dp77odb0sl7b3gb1gs287 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3719';
20241204@202426.4899 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.4903 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202426.4993 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.4997 lgrs5dp77odb0sl7b3gb1gs287 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241204@202426.5057 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9345.00.1'
20241204@202426.5088 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408287 and bi.ref ='328.9345.00.1' and bi.lordem =1
20241204@202426.5480 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.5484 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202426.5526 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.5529 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202426.5562 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.5566 lgrs5dp77odb0sl7b3gb1gs287 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202426.5605 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202426.5645 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.5648 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@202426.5701 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.5704 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202426.5736 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.5739 lgrs5dp77odb0sl7b3gb1gs287 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202426.5782 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.5786 lgrs5dp77odb0sl7b3gb1gs287 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241204@202426.5838 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.5842 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from td where ndoc = 39
20241204@202426.5857 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202426.5893 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.5920 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202426.5944 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.5961 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202426.5993 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.6011 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202426.6041 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202426.6110 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202426.6126 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.6144 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202426.6164 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b072546750ba7a93' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202426.6441 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.6483 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202426.6522 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202426.6535 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202426.6552 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202426.6563 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202426.6576 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202426.6588 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202426.6603 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b072546750ba7a93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202426.6949 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202426.6986 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.7012 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202426.7227 lgrs5dp77odb0sl7b3gb1gs287 Query : select 'normal' from dummy
20241204@202426.7247 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b072546750ba7a93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2234,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202426.9008 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202426.9014 lgrs5dp77odb0sl7b3gb1gs287 Query : select st.usalote valor from st where st.ref = '328.9345.00.1'
20241204@202426.9042 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9345.00.1'
20241204@202426.9068 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.9087 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.9182 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.9201 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.9212 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202426.9227 lgrs5dp77odb0sl7b3gb1gs287 Query : select sestamp valor from se where ref ='328.9345.00.1' and lote = 'r2101101300a'
20241204@202426.9275 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.9293 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.9307 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b240086750ba7ae2','aut6750b072546750ba7a93' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202426.9312 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.9328 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.9358 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b240086750ba7ae2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6750b072546750ba7a93' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202426.9661 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.9679 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.9708 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.9723 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.9731 lgrs5dp77odb0sl7b3gb1gs287 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202426.9746 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.9763 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202426.9776 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b317846750ba7aed','aut6750b072546750ba7a93' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202426.9781 lgrs5dp77odb0sl7b3gb1gs287 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202426.9796 lgrs5dp77odb0sl7b3gb1gs287 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202426.9827 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b317846750ba7aed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b072546750ba7a93' ,0,0 ,2,23.00,20000,?,?,?)
20241204@202427.1350 lgrs5dp77odb0sl7b3gb1gs287 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b072546750ba7a93','2408287','wait',39,'adm09112754980.682000002')
20241204@202427.2430 lgrs5dp77odb0sl7b3gb1gs287 Query : use flama_phc
20241204@202427.2470 lgrs5dp77odb0sl7b3gb1gs287 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202427.2900 lgrs5dp77odb0sl7b3gb1gs287 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3719';
20241204@202427.3370 lgrs5dp77odb0sl7b3gb1gs287 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3719';
20241204@202427.3950 lgrs5dp77odb0sl7b3gb1gs287 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3719';
20241204@202427.4470 lgrs5dp77odb0sl7b3gb1gs287 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3719';
20241204@202427.9780 2lnf3sddk88an8emv6pj0k32iq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202427.9930 2lnf3sddk88an8emv6pj0k32iq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202427.1086 2lnf3sddk88an8emv6pj0k32iq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3720';
20241204@202427.1159 2lnf3sddk88an8emv6pj0k32iq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3720';
20241204@202427.1222 2lnf3sddk88an8emv6pj0k32iq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3720';
20241204@202427.1302 2lnf3sddk88an8emv6pj0k32iq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3720';
20241204@202427.1364 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.1369 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202427.1446 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.1450 2lnf3sddk88an8emv6pj0k32iq Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241204@202427.1505 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241204@202427.1534 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408288 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241204@202427.1914 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.1918 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202427.1957 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.1960 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202427.1990 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.1993 2lnf3sddk88an8emv6pj0k32iq Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202427.2022 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202427.2057 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.2060 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241204@202427.2090 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.2093 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202427.2124 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.2127 2lnf3sddk88an8emv6pj0k32iq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202427.2167 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.2170 2lnf3sddk88an8emv6pj0k32iq Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241204@202427.2225 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.2228 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from td where ndoc = 39
20241204@202427.2242 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202427.2257 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.2275 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202427.2296 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.2313 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202427.2344 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.2359 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202427.2373 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202427.2430 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202427.2443 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.2459 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202427.2476 2lnf3sddk88an8emv6pj0k32iq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b354776750ba7b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202427.2718 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.2749 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202427.2791 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202427.2807 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202427.2821 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202427.2834 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202427.2849 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202427.2861 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202427.2875 2lnf3sddk88an8emv6pj0k32iq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b354776750ba7b39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202427.3157 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202427.3203 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.3221 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202427.3246 2lnf3sddk88an8emv6pj0k32iq Query : select 'normal' from dummy
20241204@202427.3262 2lnf3sddk88an8emv6pj0k32iq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b354776750ba7b39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2235,100810,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202427.3644 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.3648 2lnf3sddk88an8emv6pj0k32iq Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241204@202427.3677 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241204@202427.3702 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.3720 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202427.3748 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.3763 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202427.3773 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202427.3786 2lnf3sddk88an8emv6pj0k32iq Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241204@202427.3806 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.3821 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202427.3835 2lnf3sddk88an8emv6pj0k32iq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b468676750ba7b5c','aut6750b354776750ba7b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202427.3840 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.3858 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202427.3891 2lnf3sddk88an8emv6pj0k32iq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b468676750ba7b5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6750b354776750ba7b39' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202427.4270 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.4293 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202427.4325 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.4343 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202427.4353 2lnf3sddk88an8emv6pj0k32iq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202427.4382 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.4398 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202427.4413 2lnf3sddk88an8emv6pj0k32iq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b239046750ba7b6a','aut6750b354776750ba7b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202427.4418 2lnf3sddk88an8emv6pj0k32iq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.4435 2lnf3sddk88an8emv6pj0k32iq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202427.4468 2lnf3sddk88an8emv6pj0k32iq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b239046750ba7b6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b354776750ba7b39' ,0,0 ,2,23.00,20000,?,?,?)
20241204@202427.4844 2lnf3sddk88an8emv6pj0k32iq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b354776750ba7b39','2408288','wait',39,'adm09112754980.682000002')
20241204@202427.4922 2lnf3sddk88an8emv6pj0k32iq Query : use flama_phc
20241204@202427.4926 2lnf3sddk88an8emv6pj0k32iq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202427.4957 2lnf3sddk88an8emv6pj0k32iq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3720';
20241204@202427.5008 2lnf3sddk88an8emv6pj0k32iq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3720';
20241204@202427.5063 2lnf3sddk88an8emv6pj0k32iq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3720';
20241204@202427.5099 2lnf3sddk88an8emv6pj0k32iq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3720';
20241204@202427.5668 va5imj3ecphn0rglttktg42a4m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202427.5680 va5imj3ecphn0rglttktg42a4m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202427.5750 va5imj3ecphn0rglttktg42a4m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3721';
20241204@202427.5816 va5imj3ecphn0rglttktg42a4m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3721';
20241204@202427.5899 va5imj3ecphn0rglttktg42a4m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3721';
20241204@202427.5936 va5imj3ecphn0rglttktg42a4m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3721';
20241204@202427.5997 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.6000 va5imj3ecphn0rglttktg42a4m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202427.6065 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.6068 va5imj3ecphn0rglttktg42a4m Query : select no, estab,szadrsdesc from szadrs where u_coddest=433
20241204@202427.6172 va5imj3ecphn0rglttktg42a4m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20241204@202427.6380 va5imj3ecphn0rglttktg42a4m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408289 and bi.ref ='324.2066.00.1' and bi.lordem =1
20241204@202427.6736 va5imj3ecphn0rglttktg42a4m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241204@202427.6936 va5imj3ecphn0rglttktg42a4m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408289 and bi.ref ='324.2231.00.2' and bi.lordem =2
20241204@202427.7469 va5imj3ecphn0rglttktg42a4m 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'
20241204@202427.7653 va5imj3ecphn0rglttktg42a4m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408289 and bi.ref ='324.1406.00.1' and bi.lordem =3
20241204@202427.8026 va5imj3ecphn0rglttktg42a4m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241204@202427.8049 va5imj3ecphn0rglttktg42a4m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408289 and bi.ref ='324.2300.00.1' and bi.lordem =4
20241204@202427.8430 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.8434 va5imj3ecphn0rglttktg42a4m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202427.8470 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.8474 va5imj3ecphn0rglttktg42a4m Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202427.8506 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.8509 va5imj3ecphn0rglttktg42a4m Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202427.8541 va5imj3ecphn0rglttktg42a4m Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202427.8578 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.8582 va5imj3ecphn0rglttktg42a4m Query : select top 1 ~inactivo valor from cl where no = '100227' and estab = 0 order by inactivo desc
20241204@202427.8770 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.8775 va5imj3ecphn0rglttktg42a4m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202427.8809 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.8813 va5imj3ecphn0rglttktg42a4m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202427.8858 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.8861 va5imj3ecphn0rglttktg42a4m Query : select szadrsstamp valor from szadrs where szadrsdesc='jose martins dias'
20241204@202427.8929 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202427.8932 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from td where ndoc = 39
20241204@202427.8946 va5imj3ecphn0rglttktg42a4m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202427.8961 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.8979 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202427.9006 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.9024 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202427.9061 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.9077 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202427.9090 va5imj3ecphn0rglttktg42a4m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202427.9173 va5imj3ecphn0rglttktg42a4m Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202427.9190 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.9210 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202427.9230 va5imj3ecphn0rglttktg42a4m Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b517966750ba7bdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202427.9434 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202427.9464 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202427.9524 va5imj3ecphn0rglttktg42a4m Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202427.9538 va5imj3ecphn0rglttktg42a4m Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202427.9552 va5imj3ecphn0rglttktg42a4m Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202427.9565 va5imj3ecphn0rglttktg42a4m Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202427.9579 va5imj3ecphn0rglttktg42a4m Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202427.9592 va5imj3ecphn0rglttktg42a4m Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202427.9605 va5imj3ecphn0rglttktg42a4m Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b517966750ba7bdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202427.9956 va5imj3ecphn0rglttktg42a4m Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202427.9988 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.8000 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202428.3500 va5imj3ecphn0rglttktg42a4m Query : select 'normal' from dummy
20241204@202428.5400 va5imj3ecphn0rglttktg42a4m Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b517966750ba7bdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2236,100227,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202428.5170 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202428.5210 va5imj3ecphn0rglttktg42a4m Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20241204@202428.5690 va5imj3ecphn0rglttktg42a4m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20241204@202428.7330 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.7530 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.7870 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.8060 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.8160 va5imj3ecphn0rglttktg42a4m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202428.8310 va5imj3ecphn0rglttktg42a4m Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20241204@202428.8610 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.8770 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.8900 va5imj3ecphn0rglttktg42a4m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b917536750ba7c15','aut6750b517966750ba7bdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202428.8940 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.9100 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.9380 va5imj3ecphn0rglttktg42a4m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b917536750ba7c15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6750b517966750ba7bdd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202428.1234 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.1253 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.1297 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.1312 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.1320 va5imj3ecphn0rglttktg42a4m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202428.1332 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.1347 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.1359 va5imj3ecphn0rglttktg42a4m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b877016750ba7c20','aut6750b517966750ba7bdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202428.1363 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.1377 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.1412 va5imj3ecphn0rglttktg42a4m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b877016750ba7c20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b517966750ba7bdd' ,0,0 ,2,23.00,20000,?,?,?)
20241204@202428.1733 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202428.1736 va5imj3ecphn0rglttktg42a4m Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241204@202428.1761 va5imj3ecphn0rglttktg42a4m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241204@202428.1947 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.1967 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.1995 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.2011 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.2021 va5imj3ecphn0rglttktg42a4m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202428.2034 va5imj3ecphn0rglttktg42a4m Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r230114127'
20241204@202428.2053 va5imj3ecphn0rglttktg42a4m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.2069 va5imj3ecphn0rglttktg42a4m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.2082 va5imj3ecphn0rglttktg42a4m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b584996750ba7c32','aut6750b517966750ba7bdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202428.2102 va5imj3ecphn0rglttktg42a4m Query : use flama_phc
20241204@202428.2105 va5imj3ecphn0rglttktg42a4m Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241204@202428.2191 va5imj3ecphn0rglttktg42a4m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3721';
20241204@202428.2256 va5imj3ecphn0rglttktg42a4m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3721';
20241204@202428.2868 42thgrp6c6lroe0qm8684csvuf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202428.2881 42thgrp6c6lroe0qm8684csvuf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202428.2962 42thgrp6c6lroe0qm8684csvuf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3722';
20241204@202428.3099 42thgrp6c6lroe0qm8684csvuf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3722';
20241204@202428.3171 42thgrp6c6lroe0qm8684csvuf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3722';
20241204@202428.3211 42thgrp6c6lroe0qm8684csvuf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3722';
20241204@202428.3296 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.3299 42thgrp6c6lroe0qm8684csvuf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202428.3371 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.3392 42thgrp6c6lroe0qm8684csvuf Query : select no, estab,szadrsdesc from szadrs where u_coddest=2155
20241204@202428.3490 42thgrp6c6lroe0qm8684csvuf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241204@202428.3679 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408290 and bi.ref ='324.1889.00.1' and bi.lordem =1
20241204@202428.4158 42thgrp6c6lroe0qm8684csvuf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241204@202428.4354 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408290 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241204@202428.4729 42thgrp6c6lroe0qm8684csvuf 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'
20241204@202428.4964 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408290 and bi.ref ='324.1834.00.1' and bi.lordem =3
20241204@202428.5353 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.5358 42thgrp6c6lroe0qm8684csvuf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202428.5396 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.5399 42thgrp6c6lroe0qm8684csvuf Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202428.5432 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.5435 42thgrp6c6lroe0qm8684csvuf Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202428.5466 42thgrp6c6lroe0qm8684csvuf Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202428.5503 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.5506 42thgrp6c6lroe0qm8684csvuf Query : select top 1 ~inactivo valor from cl where no = '102137' and estab = 0 order by inactivo desc
20241204@202428.5645 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.5649 42thgrp6c6lroe0qm8684csvuf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202428.5680 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.5683 42thgrp6c6lroe0qm8684csvuf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202428.5725 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.5728 42thgrp6c6lroe0qm8684csvuf Query : select szadrsstamp valor from szadrs where szadrsdesc='mafricentro electrodomÉsticos,lda.'
20241204@202428.5810 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.5813 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from td where ndoc = 39
20241204@202428.5827 42thgrp6c6lroe0qm8684csvuf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202428.5842 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.5861 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202428.5885 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.5903 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202428.5933 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.7056 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202428.7189 42thgrp6c6lroe0qm8684csvuf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202428.7249 42thgrp6c6lroe0qm8684csvuf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202428.7264 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.7281 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202428.7300 42thgrp6c6lroe0qm8684csvuf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b074596750ba7caf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202428.7497 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.7701 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202428.7743 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202428.7758 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241204@202428.7773 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241204@202428.7791 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241204@202428.7811 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241204@202428.7827 42thgrp6c6lroe0qm8684csvuf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241204@202428.7842 42thgrp6c6lroe0qm8684csvuf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6750b074596750ba7caf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241204@202428.8139 42thgrp6c6lroe0qm8684csvuf Query : select top 1 fno valor from wsftdata order by fno desc
20241204@202428.8192 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.8212 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202428.8239 42thgrp6c6lroe0qm8684csvuf Query : select 'normal' from dummy
20241204@202428.8257 42thgrp6c6lroe0qm8684csvuf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6750b074596750ba7caf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2236,102137,0,'2024-12-04',39,'euro',0,0,2024 ,?,?)
20241204@202428.8601 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.8604 42thgrp6c6lroe0qm8684csvuf Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241204@202428.8631 42thgrp6c6lroe0qm8684csvuf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1889.00.1'
20241204@202428.8808 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.8828 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.8860 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.8878 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.8888 42thgrp6c6lroe0qm8684csvuf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202428.8906 42thgrp6c6lroe0qm8684csvuf Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241204@202428.8929 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.8947 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.8964 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b178816750ba7cd9','aut6750b074596750ba7caf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202428.8987 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.9006 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.9046 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b178816750ba7cd9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6750b074596750ba7caf' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241204@202428.9346 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.9368 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.9399 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.9432 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.9441 42thgrp6c6lroe0qm8684csvuf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202428.9454 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.9469 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202428.9481 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b203836750ba7ce6','aut6750b074596750ba7caf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202428.9485 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202428.9501 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202428.9535 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b203836750ba7ce6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b074596750ba7caf' ,0,0 ,2,23.00,20000,?,?,?)
20241204@202428.9862 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202428.9866 42thgrp6c6lroe0qm8684csvuf Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241204@202428.9887 42thgrp6c6lroe0qm8684csvuf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241204@202429.6500 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.8200 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202429.1120 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.1270 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202429.1360 42thgrp6c6lroe0qm8684csvuf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202429.1520 42thgrp6c6lroe0qm8684csvuf Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241204@202429.1810 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.1990 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202429.2140 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b335926750ba7d04','aut6750b074596750ba7caf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202429.2190 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.2350 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202429.2700 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b335926750ba7d04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6750b074596750ba7caf' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241204@202429.5700 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202429.5730 42thgrp6c6lroe0qm8684csvuf Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241204@202429.5960 42thgrp6c6lroe0qm8684csvuf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20241204@202429.7630 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.7820 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202429.8120 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.8300 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202429.8390 42thgrp6c6lroe0qm8684csvuf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202429.8540 42thgrp6c6lroe0qm8684csvuf Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241204@202429.8770 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.8940 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202429.9080 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b603566750ba7d15','aut6750b074596750ba7caf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202429.9130 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.9310 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202429.9800 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6750b603566750ba7d15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6750b074596750ba7caf' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241204@202429.1289 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.1307 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202429.1334 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.1351 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202429.1361 42thgrp6c6lroe0qm8684csvuf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241204@202429.1374 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.1389 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241204@202429.1404 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6750b586456750ba7d21','aut6750b074596750ba7caf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241204@202429.1408 42thgrp6c6lroe0qm8684csvuf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.1440 42thgrp6c6lroe0qm8684csvuf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241204@202429.1472 42thgrp6c6lroe0qm8684csvuf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6750b586456750ba7d21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6750b074596750ba7caf' ,0,0 ,2,23.00,60000,?,?,?)
20241204@202429.1787 42thgrp6c6lroe0qm8684csvuf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6750b074596750ba7caf','2408290','wait',39,'adm09112754980.682000002')
20241204@202429.1865 42thgrp6c6lroe0qm8684csvuf Query : use flama_phc
20241204@202429.1869 42thgrp6c6lroe0qm8684csvuf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241204@202429.1903 42thgrp6c6lroe0qm8684csvuf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3722';
20241204@202429.1973 42thgrp6c6lroe0qm8684csvuf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3722';
20241204@202429.2032 42thgrp6c6lroe0qm8684csvuf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3722';
20241204@202429.2078 42thgrp6c6lroe0qm8684csvuf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3722';
20241204@202429.3529 5irmnj3qgm8ipkkscms99l5v1h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241204@202429.3541 5irmnj3qgm8ipkkscms99l5v1h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241204@202429.3608 5irmnj3qgm8ipkkscms99l5v1h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3723';
20241204@202429.3671 5irmnj3qgm8ipkkscms99l5v1h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3723';
20241204@202429.3738 5irmnj3qgm8ipkkscms99l5v1h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3723';
20241204@202429.3789 5irmnj3qgm8ipkkscms99l5v1h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3723';
20241204@202429.3884 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.3888 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241204@202429.4022 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.4026 5irmnj3qgm8ipkkscms99l5v1h Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20241204@202429.4321 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20241204@202429.4630 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408291 and bi.ref ='326.595.00.01' and bi.lordem =1
20241204@202429.4978 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20241204@202429.5009 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408291 and bi.ref ='326.595.00.01' and bi.lordem =2
20241204@202429.5393 5irmnj3qgm8ipkkscms99l5v1h 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'
20241204@202429.5421 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408291 and bi.ref ='324.1834.00.1' and bi.lordem =3
20241204@202429.5793 5irmnj3qgm8ipkkscms99l5v1h 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'
20241204@202429.5818 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408291 and bi.ref ='324.1834.00.1' and bi.lordem =3
20241204@202429.5857 5irmnj3qgm8ipkkscms99l5v1h 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'
20241204@202429.5882 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408291 and bi.ref ='324.1834.00.1' and bi.lordem =4
20241204@202429.6242 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20241204@202429.6428 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2082 and bo.obrano = 2408291 and bi.ref ='325.1290.1003' and bi.lordem =5
20241204@202429.6813 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.6817 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241204@202429.6858 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.6862 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 1 valor from td where td.ndoc = 39
20241204@202429.6899 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.6902 5irmnj3qgm8ipkkscms99l5v1h Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241204@202429.6936 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241204@202429.6977 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.6980 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 ~inactivo valor from cl where no = '102145' and estab = 0 order by inactivo desc
20241204@202429.7124 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.7128 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241204@202429.7167 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.7171 5irmnj3qgm8ipkkscms99l5v1h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241204@202429.7231 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.7234 5irmnj3qgm8ipkkscms99l5v1h Query : select szadrsstamp valor from szadrs where szadrsdesc='paulo jorge almeida gomes unip.,lda.-entrega'
20241204@202429.7285 5irmnj3qgm8ipkkscms99l5v1h Query : use flama_phc
20241204@202429.7288 5irmnj3qgm8ipkkscms99l5v1h Query : select 1 valor from td where ndoc = 39
20241204@202429.7302 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241204@202429.7316 5irmnj3qgm8ipkkscms99l5v1h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.7333 5irmnj3qgm8ipkkscms99l5v1h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241204@202429.7354 5irmnj3qgm8ipkkscms99l5v1h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.7372 5irmnj3qgm8ipkkscms99l5v1h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202429.7404 5irmnj3qgm8ipkkscms99l5v1h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.7420 5irmnj3qgm8ipkkscms99l5v1h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202429.7434 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202429.7496 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241204@202429.7511 5irmnj3qgm8ipkkscms99l5v1h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.7528 5irmnj3qgm8ipkkscms99l5v1h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241204@202429.7545 5irmnj3qgm8ipkkscms99l5v1h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6750b984136750ba7db5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241204@202429.7737 5irmnj3qgm8ipkkscms99l5v1h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241204@202429.7919 5irmnj3qgm8ipkkscms99l5v1h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241204@202429.7954 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241204@202429.7967 5irmnj3qgm8ipkkscms99l5v1h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
