20250108@170604.3100 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.3126 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.3143 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.3152 m7mpj0gu5imp3cqukppgojbche Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170604.3165 m7mpj0gu5imp3cqukppgojbche Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20250108@170604.3187 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.3205 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.3217 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb24071677eb07c4d','aut677eb46986677eb07be9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170604.3221 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.3257 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.3286 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb24071677eb07c4d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut677eb46986677eb07be9' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250108@170604.3544 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.3562 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.3588 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.3624 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.3634 m7mpj0gu5imp3cqukppgojbche Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170604.3646 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.3662 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.3673 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb58910677eb07c59','aut677eb46986677eb07be9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170604.3677 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.3692 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.3732 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb58910677eb07c59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb46986677eb07be9' ,0,0 ,2,23.00,80000,?,?,?)
20250108@170604.3977 m7mpj0gu5imp3cqukppgojbche Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb46986677eb07be9','2500202','wait',39,'adm09112754980.682000002')
20250108@170604.4050 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170604.4053 m7mpj0gu5imp3cqukppgojbche Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170604.4087 m7mpj0gu5imp3cqukppgojbche Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4423';
20250108@170604.4130 m7mpj0gu5imp3cqukppgojbche Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4423';
20250108@170604.4201 m7mpj0gu5imp3cqukppgojbche Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4423';
20250108@170604.4235 m7mpj0gu5imp3cqukppgojbche Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4423';
20250108@170604.5017 mno3i955a1b8var8ki86ac8t22 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170604.5028 mno3i955a1b8var8ki86ac8t22 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170604.5127 mno3i955a1b8var8ki86ac8t22 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4424';
20250108@170604.5193 mno3i955a1b8var8ki86ac8t22 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4424';
20250108@170604.5260 mno3i955a1b8var8ki86ac8t22 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4424';
20250108@170604.5310 mno3i955a1b8var8ki86ac8t22 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4424';
20250108@170604.5369 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.5372 mno3i955a1b8var8ki86ac8t22 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170604.5437 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.5441 mno3i955a1b8var8ki86ac8t22 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20250108@170604.5531 mno3i955a1b8var8ki86ac8t22 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20250108@170604.5675 mno3i955a1b8var8ki86ac8t22 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500204 and bi.ref ='324.1705.00.1' and bi.lordem =1
20250108@170604.6043 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.6047 mno3i955a1b8var8ki86ac8t22 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170604.6216 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.6220 mno3i955a1b8var8ki86ac8t22 Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170604.6251 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.6254 mno3i955a1b8var8ki86ac8t22 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')
20250108@170604.6283 mno3i955a1b8var8ki86ac8t22 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
20250108@170604.6320 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.6324 mno3i955a1b8var8ki86ac8t22 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170604.6428 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.6470 mno3i955a1b8var8ki86ac8t22 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170604.6812 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.6818 mno3i955a1b8var8ki86ac8t22 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170604.6969 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.7014 mno3i955a1b8var8ki86ac8t22 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20250108@170604.7266 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.7364 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from td where ndoc = 39
20250108@170604.7380 mno3i955a1b8var8ki86ac8t22 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170604.7394 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.7413 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170604.7444 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.7460 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170604.7517 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.7534 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170604.7547 mno3i955a1b8var8ki86ac8t22 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170604.7673 mno3i955a1b8var8ki86ac8t22 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170604.7689 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.7706 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170604.7721 mno3i955a1b8var8ki86ac8t22 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb58635677eb07cb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170604.7917 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.7936 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170604.7969 mno3i955a1b8var8ki86ac8t22 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170604.7981 mno3i955a1b8var8ki86ac8t22 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170604.7992 mno3i955a1b8var8ki86ac8t22 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170604.8004 mno3i955a1b8var8ki86ac8t22 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170604.8016 mno3i955a1b8var8ki86ac8t22 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170604.8028 mno3i955a1b8var8ki86ac8t22 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170604.8039 mno3i955a1b8var8ki86ac8t22 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb58635677eb07cb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170604.8271 mno3i955a1b8var8ki86ac8t22 Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170604.8303 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.8319 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170604.8340 mno3i955a1b8var8ki86ac8t22 Query : select 'normal' from dummy
20250108@170604.8356 mno3i955a1b8var8ki86ac8t22 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb58635677eb07cb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2864,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170604.8647 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.8651 mno3i955a1b8var8ki86ac8t22 Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20250108@170604.8673 mno3i955a1b8var8ki86ac8t22 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.1705.00.1'
20250108@170604.8813 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.8828 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.8854 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.8869 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.8877 mno3i955a1b8var8ki86ac8t22 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170604.8889 mno3i955a1b8var8ki86ac8t22 Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400926200a'
20250108@170604.8904 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.8921 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.8933 mno3i955a1b8var8ki86ac8t22 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb20806677eb07cd9','aut677eb58635677eb07cb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170604.8937 mno3i955a1b8var8ki86ac8t22 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.8979 mno3i955a1b8var8ki86ac8t22 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.9009 mno3i955a1b8var8ki86ac8t22 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb20806677eb07cd9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb58635677eb07cb8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170604.9259 mno3i955a1b8var8ki86ac8t22 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb58635677eb07cb8','2500204','wait',39,'adm09112754980.682000002')
20250108@170604.9334 mno3i955a1b8var8ki86ac8t22 Query : use flama_phc
20250108@170604.9337 mno3i955a1b8var8ki86ac8t22 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170604.9369 mno3i955a1b8var8ki86ac8t22 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4424';
20250108@170604.9412 mno3i955a1b8var8ki86ac8t22 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4424';
20250108@170604.9467 mno3i955a1b8var8ki86ac8t22 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4424';
20250108@170604.9503 mno3i955a1b8var8ki86ac8t22 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4424';
20250108@170605.3230 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170605.3340 sfeasj5oeu49uf0rakh3tnqn04 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170605.4100 sfeasj5oeu49uf0rakh3tnqn04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4425';
20250108@170605.5080 sfeasj5oeu49uf0rakh3tnqn04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4425';
20250108@170605.5710 sfeasj5oeu49uf0rakh3tnqn04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4425';
20250108@170605.6110 sfeasj5oeu49uf0rakh3tnqn04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4425';
20250108@170605.6730 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.6760 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170605.8300 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.8330 sfeasj5oeu49uf0rakh3tnqn04 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2140
20250108@170605.9210 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20250108@170605.9470 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500209 and bi.ref ='324.2335.00.1' and bi.lordem =1
20250108@170605.1285 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20250108@170605.1305 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500209 and bi.ref ='324.2335.00.1' and bi.lordem =1
20250108@170605.1330 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.1333 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170605.1367 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.1370 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170605.1419 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.1422 sfeasj5oeu49uf0rakh3tnqn04 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')
20250108@170605.1451 sfeasj5oeu49uf0rakh3tnqn04 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
20250108@170605.1489 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.1492 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 ~inactivo valor from cl where no = '100413' and estab = 0 order by inactivo desc
20250108@170605.1610 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.1613 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170605.1644 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.1647 sfeasj5oeu49uf0rakh3tnqn04 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170605.1711 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.1714 sfeasj5oeu49uf0rakh3tnqn04 Query : select szadrsstamp valor from szadrs where szadrsdesc='eugenio domingos jesus ladeira'
20250108@170605.1764 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.1766 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from td where ndoc = 39
20250108@170605.1778 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170605.1794 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.1811 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170605.1831 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.1845 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170605.1879 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.1895 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170605.1930 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170605.2039 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170605.2053 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.2069 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170605.2090 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb93470677eb07d2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170605.2264 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.2280 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170605.2380 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170605.2393 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170605.2407 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170605.2453 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170605.2465 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170605.2477 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170605.2489 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb93470677eb07d2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170605.2752 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170605.2784 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.2801 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170605.2823 sfeasj5oeu49uf0rakh3tnqn04 Query : select 'normal' from dummy
20250108@170605.2839 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb93470677eb07d2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2865,100413,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170605.3143 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.3147 sfeasj5oeu49uf0rakh3tnqn04 Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20250108@170605.3168 sfeasj5oeu49uf0rakh3tnqn04 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.2335.00.1'
20250108@170605.3184 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.3199 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170605.3226 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.3241 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170605.3249 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170605.3261 sfeasj5oeu49uf0rakh3tnqn04 Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400468300a'
20250108@170605.3275 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.3319 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170605.3330 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb06267677eb07d4f','aut677eb93470677eb07d2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170605.3335 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.3350 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170605.3378 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb06267677eb07d4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb93470677eb07d2f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170605.3622 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.3627 sfeasj5oeu49uf0rakh3tnqn04 Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20250108@170605.3646 sfeasj5oeu49uf0rakh3tnqn04 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.2335.00.1'
20250108@170605.3663 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.3678 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170605.3704 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.3719 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170605.3754 sfeasj5oeu49uf0rakh3tnqn04 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170605.3766 sfeasj5oeu49uf0rakh3tnqn04 Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400468300a'
20250108@170605.3779 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.3794 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170605.3806 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb09334677eb07d5c','aut677eb93470677eb07d2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170605.3812 sfeasj5oeu49uf0rakh3tnqn04 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.3826 sfeasj5oeu49uf0rakh3tnqn04 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170605.3856 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb09334677eb07d5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677eb93470677eb07d2f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170605.4105 sfeasj5oeu49uf0rakh3tnqn04 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb93470677eb07d2f','2500209','wait',39,'adm09112754980.682000002')
20250108@170605.4178 sfeasj5oeu49uf0rakh3tnqn04 Query : use flama_phc
20250108@170605.4181 sfeasj5oeu49uf0rakh3tnqn04 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170605.4209 sfeasj5oeu49uf0rakh3tnqn04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4425';
20250108@170605.4279 sfeasj5oeu49uf0rakh3tnqn04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4425';
20250108@170605.4331 sfeasj5oeu49uf0rakh3tnqn04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4425';
20250108@170605.4364 sfeasj5oeu49uf0rakh3tnqn04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4425';
20250108@170605.4892 djh61eql4sgpkl321rhtd3ph4r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170605.4905 djh61eql4sgpkl321rhtd3ph4r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170605.4995 djh61eql4sgpkl321rhtd3ph4r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4426';
20250108@170605.5070 djh61eql4sgpkl321rhtd3ph4r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4426';
20250108@170605.5140 djh61eql4sgpkl321rhtd3ph4r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4426';
20250108@170605.5176 djh61eql4sgpkl321rhtd3ph4r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4426';
20250108@170605.5240 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.5243 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170605.5726 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.5730 djh61eql4sgpkl321rhtd3ph4r Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20250108@170605.5782 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20250108@170605.5952 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500212 and bi.ref ='324.727.00.01' and bi.lordem =1
20250108@170605.6423 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.6427 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170605.6646 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.6674 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170605.6933 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.6938 djh61eql4sgpkl321rhtd3ph4r 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')
20250108@170605.7230 djh61eql4sgpkl321rhtd3ph4r 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
20250108@170605.7486 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.7491 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170605.7536 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.7540 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170605.7574 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.7577 djh61eql4sgpkl321rhtd3ph4r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170605.8779 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.8783 djh61eql4sgpkl321rhtd3ph4r Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - loja da ponte'
20250108@170605.8832 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170605.8835 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from td where ndoc = 39
20250108@170605.8848 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170605.8862 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.8879 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170605.8926 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.8941 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170605.8972 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.8987 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170605.9000 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170605.9109 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170605.9123 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.9139 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170605.9156 djh61eql4sgpkl321rhtd3ph4r Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb08255677eb07ddb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170605.9352 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.9369 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170605.9434 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170605.9446 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170605.9458 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170605.9470 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170605.9481 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170605.9494 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170605.9505 djh61eql4sgpkl321rhtd3ph4r Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb08255677eb07ddb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170605.9756 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170605.9792 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170605.9808 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170605.9833 djh61eql4sgpkl321rhtd3ph4r Query : select 'normal' from dummy
20250108@170605.9849 djh61eql4sgpkl321rhtd3ph4r Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb08255677eb07ddb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2866,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170606.1540 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170606.1570 djh61eql4sgpkl321rhtd3ph4r Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20250108@170606.1800 djh61eql4sgpkl321rhtd3ph4r 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.727.00.01'
20250108@170606.3180 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.3340 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.3600 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.3770 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.3880 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170606.4000 djh61eql4sgpkl321rhtd3ph4r Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20250108@170606.4150 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.4300 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.4410 djh61eql4sgpkl321rhtd3ph4r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb66974677eb07e0a','aut677eb08255677eb07ddb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170606.4460 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.4600 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.5170 djh61eql4sgpkl321rhtd3ph4r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb66974677eb07e0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut677eb08255677eb07ddb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170606.7780 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.7960 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.8310 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.8470 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.8560 djh61eql4sgpkl321rhtd3ph4r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170606.8690 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.8860 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.8980 djh61eql4sgpkl321rhtd3ph4r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb64088677eb07e15','aut677eb08255677eb07ddb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170606.9020 djh61eql4sgpkl321rhtd3ph4r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.9170 djh61eql4sgpkl321rhtd3ph4r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.9460 djh61eql4sgpkl321rhtd3ph4r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb64088677eb07e15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb08255677eb07ddb' ,0,0 ,2,23.00,20000,?,?,?)
20250108@170606.1197 djh61eql4sgpkl321rhtd3ph4r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb08255677eb07ddb','2500212','wait',39,'adm09112754980.682000002')
20250108@170606.1273 djh61eql4sgpkl321rhtd3ph4r Query : use flama_phc
20250108@170606.1276 djh61eql4sgpkl321rhtd3ph4r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170606.1306 djh61eql4sgpkl321rhtd3ph4r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4426';
20250108@170606.1351 djh61eql4sgpkl321rhtd3ph4r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4426';
20250108@170606.1402 djh61eql4sgpkl321rhtd3ph4r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4426';
20250108@170606.1439 djh61eql4sgpkl321rhtd3ph4r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4426';
20250108@170606.1987 38dpvdipi8tatk5f18b4omtq8m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170606.1999 38dpvdipi8tatk5f18b4omtq8m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170606.2096 38dpvdipi8tatk5f18b4omtq8m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4427';
20250108@170606.2163 38dpvdipi8tatk5f18b4omtq8m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4427';
20250108@170606.2228 38dpvdipi8tatk5f18b4omtq8m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4427';
20250108@170606.2268 38dpvdipi8tatk5f18b4omtq8m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4427';
20250108@170606.2329 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.2333 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170606.2397 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.2400 38dpvdipi8tatk5f18b4omtq8m Query : select no, estab,szadrsdesc from szadrs where u_coddest=746
20250108@170606.2519 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2318.00.1'
20250108@170606.2661 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500214 and bi.ref ='324.2318.00.1' and bi.lordem =1
20250108@170606.2991 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20250108@170606.3138 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500214 and bi.ref ='323.367.09.00' and bi.lordem =2
20250108@170606.3485 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.3489 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170606.3530 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.3534 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170606.3568 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.3571 38dpvdipi8tatk5f18b4omtq8m 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')
20250108@170606.3601 38dpvdipi8tatk5f18b4omtq8m 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
20250108@170606.3662 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.3665 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 ~inactivo valor from cl where no = '100393' and estab = 0 order by inactivo desc
20250108@170606.3775 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.3778 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170606.3813 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.3816 38dpvdipi8tatk5f18b4omtq8m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170606.3862 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.3865 38dpvdipi8tatk5f18b4omtq8m Query : select szadrsstamp valor from szadrs where szadrsdesc='leonel lopes figueiredo, lda.'
20250108@170606.3914 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.3917 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from td where ndoc = 39
20250108@170606.3930 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170606.3946 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.3962 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170606.3982 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.3996 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170606.4024 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.4038 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170606.4051 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170606.4160 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170606.4175 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.4192 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170606.4209 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb31149677eb07e62' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170606.4421 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.4442 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170606.4478 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170606.4491 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170606.4503 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170606.4515 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170606.4532 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170606.4547 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170606.4559 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb31149677eb07e62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170606.4814 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170606.4851 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.4868 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170606.4919 38dpvdipi8tatk5f18b4omtq8m Query : select 'normal' from dummy
20250108@170606.4938 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb31149677eb07e62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2867,100393,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170606.5245 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.5249 38dpvdipi8tatk5f18b4omtq8m Query : select st.usalote valor from st where st.ref = '324.2318.00.1'
20250108@170606.5271 38dpvdipi8tatk5f18b4omtq8m 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.2318.00.1'
20250108@170606.5436 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.5454 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.5481 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.5497 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.5511 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170606.5523 38dpvdipi8tatk5f18b4omtq8m Query : select sestamp valor from se where ref ='324.2318.00.1' and lote = 'r2100669100a'
20250108@170606.5538 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.5553 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.5564 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb32687677eb07e87','aut677eb31149677eb07e62' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170606.5569 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.5585 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.5615 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb32687677eb07e87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677eb31149677eb07e62' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170606.5872 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.5889 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.5917 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.5932 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.5941 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170606.5955 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.5970 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.5983 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb61099677eb07e91','aut677eb31149677eb07e62' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170606.5987 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.6003 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.6061 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb61099677eb07e91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb31149677eb07e62' ,0,0 ,2,23.00,20000,?,?,?)
20250108@170606.6307 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.6315 38dpvdipi8tatk5f18b4omtq8m Query : select st.usalote valor from st where st.ref = '323.367.09.00'
20250108@170606.6336 38dpvdipi8tatk5f18b4omtq8m 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 = '323.367.09.00'
20250108@170606.6945 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.6964 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.7098 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.7499 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.7512 38dpvdipi8tatk5f18b4omtq8m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170606.7525 38dpvdipi8tatk5f18b4omtq8m Query : select sestamp valor from se where ref ='323.367.09.00' and lote = 'r2400053200a'
20250108@170606.7540 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.7558 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170606.7572 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb46663677eb07eb8','aut677eb31149677eb07e62' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170606.7576 38dpvdipi8tatk5f18b4omtq8m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170606.7592 38dpvdipi8tatk5f18b4omtq8m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170606.7622 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb46663677eb07eb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb31149677eb07e62' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250108@170606.7866 38dpvdipi8tatk5f18b4omtq8m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb31149677eb07e62','2500214','wait',39,'adm09112754980.682000002')
20250108@170606.8165 38dpvdipi8tatk5f18b4omtq8m Query : use flama_phc
20250108@170606.8168 38dpvdipi8tatk5f18b4omtq8m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170606.8198 38dpvdipi8tatk5f18b4omtq8m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4427';
20250108@170606.8242 38dpvdipi8tatk5f18b4omtq8m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4427';
20250108@170606.8318 38dpvdipi8tatk5f18b4omtq8m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4427';
20250108@170606.8352 38dpvdipi8tatk5f18b4omtq8m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4427';

20250109@100636.3873 bv5iqummb9fr88vg17qdr26jks Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4428';
20250109@100636.3954 bv5iqummb9fr88vg17qdr26jks Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4428';
20250109@100636.3996 bv5iqummb9fr88vg17qdr26jks Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4428';
20250109@100636.4053 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.4057 bv5iqummb9fr88vg17qdr26jks Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@100636.4160 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.4164 bv5iqummb9fr88vg17qdr26jks Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@100636.4283 bv5iqummb9fr88vg17qdr26jks Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100636.4617 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500218 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100636.5089 bv5iqummb9fr88vg17qdr26jks Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100636.5893 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500218 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100636.5974 bv5iqummb9fr88vg17qdr26jks Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100636.6036 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500218 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100636.6150 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.6164 bv5iqummb9fr88vg17qdr26jks Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@100636.6456 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.6487 bv5iqummb9fr88vg17qdr26jks Query : select top 1 1 valor from td where td.ndoc = 39
20250109@100636.6580 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.6583 bv5iqummb9fr88vg17qdr26jks 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')
20250109@100636.6927 bv5iqummb9fr88vg17qdr26jks 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
20250109@100636.7062 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.7065 bv5iqummb9fr88vg17qdr26jks Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@100636.7191 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.7195 bv5iqummb9fr88vg17qdr26jks Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@100636.7363 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.7367 bv5iqummb9fr88vg17qdr26jks Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@100636.7443 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.7446 bv5iqummb9fr88vg17qdr26jks Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@100636.7494 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100636.7498 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from td where ndoc = 39
20250109@100636.7566 bv5iqummb9fr88vg17qdr26jks Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@100636.7628 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100636.8048 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100636.8126 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100636.8144 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100636.8177 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100636.8195 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100636.8211 bv5iqummb9fr88vg17qdr26jks Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100636.8472 bv5iqummb9fr88vg17qdr26jks Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100636.8580 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100636.8604 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100636.8651 bv5iqummb9fr88vg17qdr26jks Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677f949592677f9facc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@100636.9247 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100636.9588 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100637.3010 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@100637.6220 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@100637.7860 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@100637.8910 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@100637.9680 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@100637.1041 bv5iqummb9fr88vg17qdr26jks Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@100637.1119 bv5iqummb9fr88vg17qdr26jks Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677f949592677f9facc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@100637.1743 bv5iqummb9fr88vg17qdr26jks Query : select top 1 fno valor from wsftdata order by fno desc
20250109@100637.1863 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.1885 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100637.1957 bv5iqummb9fr88vg17qdr26jks Query : select 'normal' from dummy
20250109@100637.2005 bv5iqummb9fr88vg17qdr26jks Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677f949592677f9facc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2868,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@100637.2493 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100637.2500 bv5iqummb9fr88vg17qdr26jks Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100637.2677 bv5iqummb9fr88vg17qdr26jks 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.4980.00.1'
20250109@100637.2834 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.2853 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100637.3625 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.3645 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100637.3657 bv5iqummb9fr88vg17qdr26jks Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100637.3704 bv5iqummb9fr88vg17qdr26jks Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100637.3794 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.3810 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100637.3825 bv5iqummb9fr88vg17qdr26jks Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f920744677f9fad5c','aut677f949592677f9facc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100637.3884 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.3901 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100637.3939 bv5iqummb9fr88vg17qdr26jks Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f920744677f9fad5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut677f949592677f9facc8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@100637.4381 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100637.4385 bv5iqummb9fr88vg17qdr26jks Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100637.4408 bv5iqummb9fr88vg17qdr26jks 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.4980.00.1'
20250109@100637.4425 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.4446 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100637.4475 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.4493 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100637.4503 bv5iqummb9fr88vg17qdr26jks Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100637.4518 bv5iqummb9fr88vg17qdr26jks Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100637.4532 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.4550 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100637.4565 bv5iqummb9fr88vg17qdr26jks Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f916320677f9fad6e','aut677f949592677f9facc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100637.4570 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.4590 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100637.4622 bv5iqummb9fr88vg17qdr26jks Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f916320677f9fad6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677f949592677f9facc8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@100637.4915 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100637.4918 bv5iqummb9fr88vg17qdr26jks Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100637.4943 bv5iqummb9fr88vg17qdr26jks 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.4980.00.1'
20250109@100637.4959 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.4978 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100637.5006 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.5025 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100637.5039 bv5iqummb9fr88vg17qdr26jks Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100637.5053 bv5iqummb9fr88vg17qdr26jks Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100637.5070 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.5085 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100637.5100 bv5iqummb9fr88vg17qdr26jks Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f956296677f9fad7b','aut677f949592677f9facc8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100637.5106 bv5iqummb9fr88vg17qdr26jks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.5123 bv5iqummb9fr88vg17qdr26jks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100637.5160 bv5iqummb9fr88vg17qdr26jks Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f956296677f9fad7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677f949592677f9facc8' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250109@100637.5431 bv5iqummb9fr88vg17qdr26jks Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677f949592677f9facc8','2500218','wait',39,'adm09112754980.682000002')
20250109@100637.5542 bv5iqummb9fr88vg17qdr26jks Query : use flama_phc
20250109@100637.5546 bv5iqummb9fr88vg17qdr26jks Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@100637.5578 bv5iqummb9fr88vg17qdr26jks Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4428';
20250109@100637.5632 bv5iqummb9fr88vg17qdr26jks Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4428';
20250109@100637.5685 bv5iqummb9fr88vg17qdr26jks Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4428';
20250109@100637.5746 bv5iqummb9fr88vg17qdr26jks Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4428';
20250109@100637.6324 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@100637.6336 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@100637.6417 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4429';
20250109@100637.6540 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4429';
20250109@100637.6607 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4429';
20250109@100637.6644 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4429';
20250109@100637.6713 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.6716 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@100637.6791 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.6795 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@100637.6845 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100637.6867 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500219 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100637.7493 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100637.7516 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500219 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100637.7535 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.7539 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@100637.7575 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.7579 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 1 valor from td where td.ndoc = 39
20250109@100637.7615 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.7619 3m5n7tnfsdmnn7g0ne7hdi9fuk 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')
20250109@100637.7651 3m5n7tnfsdmnn7g0ne7hdi9fuk 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
20250109@100637.7691 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.7694 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@100637.7745 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.7748 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@100637.7782 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.7787 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@100637.7832 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.7835 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@100637.7898 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100637.7901 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from td where ndoc = 39
20250109@100637.7914 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@100637.7929 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.7947 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100637.7966 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.7981 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100637.8011 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.8027 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100637.8041 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100637.8152 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100637.8170 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.8186 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100637.8227 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677f912709677f9fadc4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@100637.8415 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.8440 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100637.8482 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@100637.8496 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@100637.8512 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@100637.8529 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@100637.8542 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@100637.8554 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@100637.8568 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677f912709677f9fadc4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@100637.8851 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 fno valor from wsftdata order by fno desc
20250109@100637.8888 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100637.8907 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100637.8931 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 'normal' from dummy
20250109@100637.9039 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677f912709677f9fadc4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2869,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@100638.8130 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100638.8170 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100638.8720 3m5n7tnfsdmnn7g0ne7hdi9fuk 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.4980.00.1'
20250109@100638.8900 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100638.9090 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100638.9380 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100638.9560 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100638.9660 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100638.9830 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100638.9980 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100638.1021 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100638.1035 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f998431677f9fae18','aut677f912709677f9fadc4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100638.1041 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100638.1081 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100638.1113 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f998431677f9fae18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut677f912709677f9fadc4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@100638.1424 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100638.1428 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100638.1453 3m5n7tnfsdmnn7g0ne7hdi9fuk 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.4980.00.1'
20250109@100638.1471 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100638.1519 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100638.1551 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100638.1571 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100638.1583 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100638.1597 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100638.1613 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100638.1630 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100638.1645 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f930317677f9fae27','aut677f912709677f9fadc4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100638.1650 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100638.1667 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100638.1699 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f930317677f9fae27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677f912709677f9fadc4' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@100638.1973 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677f912709677f9fadc4','2500219','wait',39,'adm09112754980.682000002')
20250109@100638.2053 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : use flama_phc
20250109@100638.2057 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@100638.2088 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4429';
20250109@100638.2135 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4429';
20250109@100638.2187 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4429';
20250109@100638.2221 3m5n7tnfsdmnn7g0ne7hdi9fuk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4429';
20250109@100638.2790 rfqhartvd3laq6a5d624dr7cjd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@100638.2801 rfqhartvd3laq6a5d624dr7cjd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@100638.2877 rfqhartvd3laq6a5d624dr7cjd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4430';
20250109@100638.3073 rfqhartvd3laq6a5d624dr7cjd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4430';
20250109@100638.3195 rfqhartvd3laq6a5d624dr7cjd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4430';
20250109@100638.3233 rfqhartvd3laq6a5d624dr7cjd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4430';
20250109@100638.3295 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100638.3299 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@100638.3448 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100638.3488 rfqhartvd3laq6a5d624dr7cjd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@100638.3559 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100638.3580 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500220 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100638.4194 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100638.4256 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500220 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100638.5496 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100638.5623 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@100638.7844 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100638.8014 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 1 valor from td where td.ndoc = 39
20250109@100638.8779 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100638.8852 rfqhartvd3laq6a5d624dr7cjd 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')
20250109@100638.9679 rfqhartvd3laq6a5d624dr7cjd 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
20250109@100639.2850 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100639.3270 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@100639.8640 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100639.9450 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@100639.1487 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100639.1588 rfqhartvd3laq6a5d624dr7cjd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@100639.2235 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100639.2340 rfqhartvd3laq6a5d624dr7cjd Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@100639.3128 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100639.3170 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from td where ndoc = 39
20250109@100639.3582 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@100639.4026 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100639.4449 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100639.5039 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100639.5501 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100639.6525 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100639.6876 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100639.7305 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100639.7867 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100639.8481 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100639.9605 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100639.9921 rfqhartvd3laq6a5d624dr7cjd Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677f935594677f9fafb2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@100640.4440 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100640.8560 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100640.1893 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@100640.2302 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@100640.2755 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@100640.2973 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@100640.3337 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@100640.3544 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@100640.3846 rfqhartvd3laq6a5d624dr7cjd Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677f935594677f9fafb2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@100640.4579 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 fno valor from wsftdata order by fno desc
20250109@100640.4897 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100640.5387 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100640.6474 rfqhartvd3laq6a5d624dr7cjd Query : select 'normal' from dummy
20250109@100640.7309 rfqhartvd3laq6a5d624dr7cjd Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677f935594677f9fafb2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2870,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@100640.9248 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100640.9291 rfqhartvd3laq6a5d624dr7cjd Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100640.9913 rfqhartvd3laq6a5d624dr7cjd 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.4980.00.1'
20250109@100641.5130 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100641.8380 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100641.2123 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100641.2571 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100641.2861 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100641.3351 rfqhartvd3laq6a5d624dr7cjd Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100641.3857 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100641.4378 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100641.4767 rfqhartvd3laq6a5d624dr7cjd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f971778677f9fb15e','aut677f935594677f9fafb2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100641.4819 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100641.5181 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100641.6229 rfqhartvd3laq6a5d624dr7cjd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f971778677f9fb15e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut677f935594677f9fafb2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@100641.7103 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100641.7146 rfqhartvd3laq6a5d624dr7cjd Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100641.7708 rfqhartvd3laq6a5d624dr7cjd 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.4980.00.1'
20250109@100641.8156 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100641.8654 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100642.9600 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100642.8760 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100642.1204 rfqhartvd3laq6a5d624dr7cjd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100642.1970 rfqhartvd3laq6a5d624dr7cjd Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100642.2573 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100642.3117 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100642.3850 rfqhartvd3laq6a5d624dr7cjd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f980122677f9fb23e','aut677f935594677f9fafb2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100642.3942 rfqhartvd3laq6a5d624dr7cjd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100642.4657 rfqhartvd3laq6a5d624dr7cjd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100642.6482 rfqhartvd3laq6a5d624dr7cjd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f980122677f9fb23e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677f935594677f9fafb2' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@100642.7900 rfqhartvd3laq6a5d624dr7cjd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677f935594677f9fafb2','2500220','wait',39,'adm09112754980.682000002')
20250109@100642.9543 rfqhartvd3laq6a5d624dr7cjd Query : use flama_phc
20250109@100642.9632 rfqhartvd3laq6a5d624dr7cjd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@100643.2850 rfqhartvd3laq6a5d624dr7cjd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4430';
20250109@100643.1168 rfqhartvd3laq6a5d624dr7cjd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4430';
20250109@100643.1710 rfqhartvd3laq6a5d624dr7cjd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4430';
20250109@100643.2640 rfqhartvd3laq6a5d624dr7cjd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4430';
20250109@100643.4239 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@100643.4329 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@100643.4866 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4431';
20250109@100643.5274 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4431';
20250109@100643.5684 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4431';
20250109@100643.6011 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4431';
20250109@100643.6388 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100643.6438 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@100643.7106 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100643.7147 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@100643.7502 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100643.7794 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500221 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100643.9586 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100644.3180 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500221 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100644.7450 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100644.1286 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500221 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100644.1568 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100644.2218 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500221 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100644.2430 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100644.2474 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@100644.3098 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100644.3171 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 1 valor from td where td.ndoc = 39
20250109@100644.3732 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100644.3850 vg6ubj3l4i9l4ki6rtb0ivrbbe 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')
20250109@100644.4468 vg6ubj3l4i9l4ki6rtb0ivrbbe 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
20250109@100644.5164 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100644.5205 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@100644.5862 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100644.5951 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@100644.6415 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100644.6459 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@100644.7160 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100644.7256 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@100644.8111 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100644.8153 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from td where ndoc = 39
20250109@100644.8576 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@100644.8920 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100644.9177 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100644.9789 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.2280 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100645.1432 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.1450 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100645.1463 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100645.1669 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100645.1753 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.1771 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100645.2004 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677f999030677f9fb523' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@100645.2233 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.2253 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100645.2435 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@100645.2448 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@100645.2462 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@100645.2502 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@100645.2514 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@100645.2526 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@100645.2579 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677f999030677f9fb523',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@100645.3097 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 fno valor from wsftdata order by fno desc
20250109@100645.3136 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.3156 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100645.3178 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 'normal' from dummy
20250109@100645.3204 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677f999030677f9fb523',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2871,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@100645.3552 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100645.3556 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100645.3710 vg6ubj3l4i9l4ki6rtb0ivrbbe 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.4980.00.1'
20250109@100645.3725 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.3755 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100645.3779 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.3799 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100645.3807 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100645.3819 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100645.3892 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.3999 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100645.4012 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f986849677f9fb55f','aut677f999030677f9fb523' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100645.4017 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.4062 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100645.4110 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f986849677f9fb55f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut677f999030677f9fb523' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@100645.4503 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100645.4507 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100645.4657 vg6ubj3l4i9l4ki6rtb0ivrbbe 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.4980.00.1'
20250109@100645.4672 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.4727 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100645.4755 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.4864 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100645.4873 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100645.5036 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100645.5049 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.5107 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100645.5119 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f944185677f9fb57b','aut677f999030677f9fb523' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100645.5125 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.5141 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100645.5227 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f944185677f9fb57b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677f999030677f9fb523' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@100645.5684 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100645.5688 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100645.5757 vg6ubj3l4i9l4ki6rtb0ivrbbe 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.4980.00.1'
20250109@100645.5772 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.5864 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100645.5894 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.5925 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100645.5933 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100645.5946 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100645.6022 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.6103 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100645.6115 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f944144677f9fb593','aut677f999030677f9fb523' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100645.6120 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.6149 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100645.6177 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f944144677f9fb593',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677f999030677f9fb523' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250109@100645.6520 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100645.6524 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100645.6562 vg6ubj3l4i9l4ki6rtb0ivrbbe 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.4980.00.1'
20250109@100645.6582 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.6599 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100645.6652 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.6671 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100645.6813 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100645.6847 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100645.6867 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.6927 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100645.6939 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f966341677f9fb5a7','aut677f999030677f9fb523' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100645.6951 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100645.6975 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100645.7004 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f966341677f9fb5a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677f999030677f9fb523' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250109@100645.7418 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677f999030677f9fb523','2500221','wait',39,'adm09112754980.682000002')
20250109@100645.7647 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : use flama_phc
20250109@100645.7651 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@100645.7715 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4431';
20250109@100645.7764 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4431';
20250109@100645.7824 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4431';
20250109@100645.7985 vg6ubj3l4i9l4ki6rtb0ivrbbe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4431';
20250109@100645.8712 55qb1bhlto7fmacin5dd3bvsbc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@100645.8723 55qb1bhlto7fmacin5dd3bvsbc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@100645.8822 55qb1bhlto7fmacin5dd3bvsbc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4432';
20250109@100645.8930 55qb1bhlto7fmacin5dd3bvsbc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4432';
20250109@100645.9000 55qb1bhlto7fmacin5dd3bvsbc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4432';
20250109@100645.9059 55qb1bhlto7fmacin5dd3bvsbc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4432';
20250109@100645.9377 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100645.9445 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@100646.2670 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.3100 55qb1bhlto7fmacin5dd3bvsbc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@100646.8030 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100646.1211 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500222 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100646.3560 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100646.3902 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500222 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100646.4185 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.4229 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@100646.4856 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.4915 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 1 valor from td where td.ndoc = 39
20250109@100646.5804 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.5928 55qb1bhlto7fmacin5dd3bvsbc 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')
20250109@100646.7332 55qb1bhlto7fmacin5dd3bvsbc 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
20250109@100646.7885 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.7950 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@100646.8433 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.8475 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@100646.9064 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.9106 55qb1bhlto7fmacin5dd3bvsbc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@100646.9535 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.9564 55qb1bhlto7fmacin5dd3bvsbc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@100646.9617 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100646.9620 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from td where ndoc = 39
20250109@100646.9633 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@100646.9702 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100646.9723 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100646.9959 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100646.9979 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100647.1390 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.1590 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100647.2170 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100647.3360 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100647.3500 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.3680 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100647.4180 55qb1bhlto7fmacin5dd3bvsbc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677f980145677f9fb705' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@100647.6690 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.6890 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100647.7400 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@100647.7520 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@100647.8000 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@100647.8480 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@100647.8600 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@100647.8720 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@100647.8820 55qb1bhlto7fmacin5dd3bvsbc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677f980145677f9fb705',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@100647.1183 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 fno valor from wsftdata order by fno desc
20250109@100647.1219 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.1259 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100647.1297 55qb1bhlto7fmacin5dd3bvsbc Query : select 'normal' from dummy
20250109@100647.1312 55qb1bhlto7fmacin5dd3bvsbc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677f980145677f9fb705',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2872,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@100647.1730 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100647.1734 55qb1bhlto7fmacin5dd3bvsbc Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100647.1822 55qb1bhlto7fmacin5dd3bvsbc 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.4980.00.1'
20250109@100647.1837 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.1853 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100647.2927 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.2967 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100647.2978 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100647.2991 55qb1bhlto7fmacin5dd3bvsbc Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100647.3004 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.3023 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100647.3036 55qb1bhlto7fmacin5dd3bvsbc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f924558677f9fb749','aut677f980145677f9fb705' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100647.3041 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.3083 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100647.3120 55qb1bhlto7fmacin5dd3bvsbc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f924558677f9fb749',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut677f980145677f9fb705' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@100647.3489 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100647.3500 55qb1bhlto7fmacin5dd3bvsbc Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100647.3521 55qb1bhlto7fmacin5dd3bvsbc 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.4980.00.1'
20250109@100647.3544 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.3562 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100647.3610 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.3627 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100647.3640 55qb1bhlto7fmacin5dd3bvsbc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100647.3655 55qb1bhlto7fmacin5dd3bvsbc Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100647.3670 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.3831 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100647.3845 55qb1bhlto7fmacin5dd3bvsbc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f925259677f9fb759','aut677f980145677f9fb705' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100647.3850 55qb1bhlto7fmacin5dd3bvsbc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.3897 55qb1bhlto7fmacin5dd3bvsbc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100647.3947 55qb1bhlto7fmacin5dd3bvsbc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f925259677f9fb759',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677f980145677f9fb705' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@100647.4313 55qb1bhlto7fmacin5dd3bvsbc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677f980145677f9fb705','2500222','wait',39,'adm09112754980.682000002')
20250109@100647.4526 55qb1bhlto7fmacin5dd3bvsbc Query : use flama_phc
20250109@100647.4530 55qb1bhlto7fmacin5dd3bvsbc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@100647.4575 55qb1bhlto7fmacin5dd3bvsbc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4432';
20250109@100647.4621 55qb1bhlto7fmacin5dd3bvsbc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4432';
20250109@100647.4677 55qb1bhlto7fmacin5dd3bvsbc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4432';
20250109@100647.4713 55qb1bhlto7fmacin5dd3bvsbc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4432';
20250109@100647.5291 l7ds2i4fslvgvp5oo56ct48idj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@100647.5541 l7ds2i4fslvgvp5oo56ct48idj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@100647.5666 l7ds2i4fslvgvp5oo56ct48idj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4433';
20250109@100647.5819 l7ds2i4fslvgvp5oo56ct48idj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4433';
20250109@100647.5967 l7ds2i4fslvgvp5oo56ct48idj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4433';
20250109@100647.6018 l7ds2i4fslvgvp5oo56ct48idj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4433';
20250109@100647.6120 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.6169 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@100647.6348 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.6352 l7ds2i4fslvgvp5oo56ct48idj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@100647.6410 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100647.6531 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500223 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100647.7030 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100647.7056 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500223 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100647.7074 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@100647.7093 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500223 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@100647.7111 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.7116 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@100647.7154 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.7157 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 1 valor from td where td.ndoc = 39
20250109@100647.7187 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.7190 l7ds2i4fslvgvp5oo56ct48idj 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')
20250109@100647.7218 l7ds2i4fslvgvp5oo56ct48idj 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
20250109@100647.7261 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.7264 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@100647.7352 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.7355 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@100647.7385 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.7388 l7ds2i4fslvgvp5oo56ct48idj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@100647.7470 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.7474 l7ds2i4fslvgvp5oo56ct48idj Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@100647.7537 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.7552 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from td where ndoc = 39
20250109@100647.7568 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@100647.7583 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.7603 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100647.7624 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.7648 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100647.7679 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.7712 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100647.7727 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100647.7848 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@100647.7868 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.7886 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@100647.7904 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677f974757677f9fb7bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@100647.8113 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.8224 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@100647.8286 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@100647.8300 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@100647.8352 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@100647.8365 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@100647.8377 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@100647.8389 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@100647.8402 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677f974757677f9fb7bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@100647.8771 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 fno valor from wsftdata order by fno desc
20250109@100647.8809 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100647.8826 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@100647.8852 l7ds2i4fslvgvp5oo56ct48idj Query : select 'normal' from dummy
20250109@100647.8868 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677f974757677f9fb7bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2873,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@100647.9774 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100647.9979 l7ds2i4fslvgvp5oo56ct48idj Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100648.5370 l7ds2i4fslvgvp5oo56ct48idj 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.4980.00.1'
20250109@100648.5530 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.5730 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100648.5970 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.6140 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100648.6210 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100648.6330 l7ds2i4fslvgvp5oo56ct48idj Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100648.6460 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.6610 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100648.6720 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f982513677f9fb80f','aut677f974757677f9fb7bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100648.6770 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.6910 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100648.7200 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f982513677f9fb80f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut677f974757677f9fb7bc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@100648.1004 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100648.1008 l7ds2i4fslvgvp5oo56ct48idj Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100648.1027 l7ds2i4fslvgvp5oo56ct48idj 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.4980.00.1'
20250109@100648.1042 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.1088 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100648.1114 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.1129 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100648.1137 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100648.1149 l7ds2i4fslvgvp5oo56ct48idj Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100648.1162 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.1177 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100648.1188 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f908449677f9fb81c','aut677f974757677f9fb7bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100648.1193 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.1210 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100648.1238 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f908449677f9fb81c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677f974757677f9fb7bc' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@100648.1773 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100648.1810 l7ds2i4fslvgvp5oo56ct48idj Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@100648.1830 l7ds2i4fslvgvp5oo56ct48idj 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.4980.00.1'
20250109@100648.1845 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.1894 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100648.1920 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.1935 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100648.1943 l7ds2i4fslvgvp5oo56ct48idj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@100648.1955 l7ds2i4fslvgvp5oo56ct48idj Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@100648.1967 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.1982 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@100648.1998 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677f954501677f9fb830','aut677f974757677f9fb7bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@100648.2003 l7ds2i4fslvgvp5oo56ct48idj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@100648.2020 l7ds2i4fslvgvp5oo56ct48idj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@100648.2048 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677f954501677f9fb830',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677f974757677f9fb7bc' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250109@100648.2602 l7ds2i4fslvgvp5oo56ct48idj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677f974757677f9fb7bc','2500223','wait',39,'adm09112754980.682000002')
20250109@100648.2695 l7ds2i4fslvgvp5oo56ct48idj Query : use flama_phc
20250109@100648.2699 l7ds2i4fslvgvp5oo56ct48idj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@100648.2727 l7ds2i4fslvgvp5oo56ct48idj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4433';
20250109@100648.2772 l7ds2i4fslvgvp5oo56ct48idj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4433';
20250109@100648.2827 l7ds2i4fslvgvp5oo56ct48idj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4433';
20250109@100648.2863 l7ds2i4fslvgvp5oo56ct48idj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4433';

20250109@141052.4075 hdm1jsb5eshqrp5aubucl6n2km Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4434';
20250109@141052.4150 hdm1jsb5eshqrp5aubucl6n2km Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4434';
20250109@141052.4184 hdm1jsb5eshqrp5aubucl6n2km Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4434';
20250109@141052.4242 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.4245 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141052.4354 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.4357 hdm1jsb5eshqrp5aubucl6n2km Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250109@141052.4453 hdm1jsb5eshqrp5aubucl6n2km 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'
20250109@141052.4643 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500095 and bi.ref ='324.1834.00.1' and bi.lordem =1
20250109@141052.4972 hdm1jsb5eshqrp5aubucl6n2km 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'
20250109@141052.4993 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500095 and bi.ref ='324.1834.00.1' and bi.lordem =1
20250109@141052.5010 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.5013 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141052.5212 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.5215 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141052.5306 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.5309 hdm1jsb5eshqrp5aubucl6n2km 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')
20250109@141052.5379 hdm1jsb5eshqrp5aubucl6n2km 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
20250109@141052.5506 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.5509 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20250109@141052.6312 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.6316 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141052.6421 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.6424 hdm1jsb5eshqrp5aubucl6n2km Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141052.6499 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.6502 hdm1jsb5eshqrp5aubucl6n2km Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20250109@141052.6549 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.6552 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from td where ndoc = 39
20250109@141052.6632 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141052.6695 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141052.7010 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141052.7085 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141052.7103 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141052.7135 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141052.7151 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141052.7166 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141052.7419 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141052.7526 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141052.7543 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141052.7587 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd97195677fd8ecae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141052.7901 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141052.7921 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141052.7959 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141052.8058 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141052.8154 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141052.8244 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141052.8327 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141052.8401 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141052.8475 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd97195677fd8ecae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141052.9102 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141052.9208 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141052.9224 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141052.9260 hdm1jsb5eshqrp5aubucl6n2km Query : select 'normal' from dummy
20250109@141052.9306 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd97195677fd8ecae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2874,102253,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141052.9817 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141052.9820 hdm1jsb5eshqrp5aubucl6n2km Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20250109@141052.9943 hdm1jsb5eshqrp5aubucl6n2km 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'
20250109@141053.9300 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.1100 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.1410 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.1570 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.1670 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141053.2140 hdm1jsb5eshqrp5aubucl6n2km Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20250109@141053.2840 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.3000 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.3150 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd72738677fd8ed06','aut677fd97195677fd8ecae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141053.3980 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.4180 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.4480 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd72738677fd8ed06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut677fd97195677fd8ecae' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141053.2191 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.2209 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.2237 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.2253 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.2263 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141053.2276 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.2291 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.2305 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd94366677fd8ed37','aut677fd97195677fd8ecae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141053.2310 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.2326 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.2355 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677fd94366677fd8ed37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677fd97195677fd8ecae' ,0,0 ,2,23.00,20000,?,?,?)
20250109@141053.2681 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141053.2685 hdm1jsb5eshqrp5aubucl6n2km Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20250109@141053.2706 hdm1jsb5eshqrp5aubucl6n2km 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'
20250109@141053.2723 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.2740 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.2770 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.2789 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.2799 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141053.2813 hdm1jsb5eshqrp5aubucl6n2km Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20250109@141053.2827 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.2843 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.2855 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd92089677fd8ed45','aut677fd97195677fd8ecae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141053.2861 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.2878 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.2909 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd92089677fd8ed45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut677fd97195677fd8ecae' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250109@141053.3240 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.3264 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.3300 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.3327 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.3338 hdm1jsb5eshqrp5aubucl6n2km Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141053.3357 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.3379 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.3395 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd76547677fd8ed51','aut677fd97195677fd8ecae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141053.3401 hdm1jsb5eshqrp5aubucl6n2km Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.3422 hdm1jsb5eshqrp5aubucl6n2km Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.3461 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677fd76547677fd8ed51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677fd97195677fd8ecae' ,0,0 ,2,23.00,50000,?,?,?)
20250109@141053.3778 hdm1jsb5eshqrp5aubucl6n2km Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd97195677fd8ecae','2500095','wait',39,'adm09112754980.682000002')
20250109@141053.4696 hdm1jsb5eshqrp5aubucl6n2km Query : use flama_phc
20250109@141053.4700 hdm1jsb5eshqrp5aubucl6n2km Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141053.4734 hdm1jsb5eshqrp5aubucl6n2km Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4434';
20250109@141053.4786 hdm1jsb5eshqrp5aubucl6n2km Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4434';
20250109@141053.4844 hdm1jsb5eshqrp5aubucl6n2km Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4434';
20250109@141053.4886 hdm1jsb5eshqrp5aubucl6n2km Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4434';
20250109@141053.5401 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141053.5412 td4ckj2tv3c9d39hkfh2srtlcj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141053.5481 td4ckj2tv3c9d39hkfh2srtlcj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4435';
20250109@141053.5544 td4ckj2tv3c9d39hkfh2srtlcj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4435';
20250109@141053.5608 td4ckj2tv3c9d39hkfh2srtlcj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4435';
20250109@141053.5643 td4ckj2tv3c9d39hkfh2srtlcj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4435';
20250109@141053.5700 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.5704 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141053.5775 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.5778 td4ckj2tv3c9d39hkfh2srtlcj Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250109@141053.5826 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20250109@141053.5990 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500096 and bi.ref ='324.2335.00.1' and bi.lordem =1
20250109@141053.6298 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20250109@141053.6318 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500096 and bi.ref ='324.2335.00.1' and bi.lordem =1
20250109@141053.6336 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.6339 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141053.6371 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.6374 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141053.6404 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.6407 td4ckj2tv3c9d39hkfh2srtlcj 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')
20250109@141053.6437 td4ckj2tv3c9d39hkfh2srtlcj 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
20250109@141053.6472 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.6475 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20250109@141053.6503 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.6506 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141053.6537 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.6539 td4ckj2tv3c9d39hkfh2srtlcj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141053.6578 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.6581 td4ckj2tv3c9d39hkfh2srtlcj Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20250109@141053.6623 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.6626 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from td where ndoc = 39
20250109@141053.6638 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141053.6651 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.6667 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141053.6685 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.6699 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141053.6729 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.6744 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141053.6757 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141053.6861 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141053.6874 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.6889 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141053.6904 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd82140677fd8eda4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141053.7116 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.7133 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141053.7165 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141053.7176 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141053.7187 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141053.7198 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141053.7210 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141053.7222 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141053.7232 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd82140677fd8eda4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141053.7493 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141053.7526 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.7542 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141053.7564 td4ckj2tv3c9d39hkfh2srtlcj Query : select 'normal' from dummy
20250109@141053.7579 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd82140677fd8eda4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2875,102253,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141053.7876 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.7879 td4ckj2tv3c9d39hkfh2srtlcj Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20250109@141053.7901 td4ckj2tv3c9d39hkfh2srtlcj 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.2335.00.1'
20250109@141053.8044 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.8060 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.8086 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.8100 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.8108 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141053.8120 td4ckj2tv3c9d39hkfh2srtlcj Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400468300a'
20250109@141053.8133 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.8147 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.8159 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd47669677fd8edc6','aut677fd82140677fd8eda4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141053.8163 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.8177 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.8205 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd47669677fd8edc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut677fd82140677fd8eda4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141053.8848 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.9012 td4ckj2tv3c9d39hkfh2srtlcj Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20250109@141053.9461 td4ckj2tv3c9d39hkfh2srtlcj 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.2335.00.1'
20250109@141053.9475 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.9491 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.9515 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.9530 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.9538 td4ckj2tv3c9d39hkfh2srtlcj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141053.9549 td4ckj2tv3c9d39hkfh2srtlcj Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400468300a'
20250109@141053.9561 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.9575 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141053.9586 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd55210677fd8ede9','aut677fd82140677fd8eda4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141053.9590 td4ckj2tv3c9d39hkfh2srtlcj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141053.9606 td4ckj2tv3c9d39hkfh2srtlcj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141053.9635 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd55210677fd8ede9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut677fd82140677fd8eda4' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141053.9892 td4ckj2tv3c9d39hkfh2srtlcj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd82140677fd8eda4','2500096','wait',39,'adm09112754980.682000002')
20250109@141053.9962 td4ckj2tv3c9d39hkfh2srtlcj Query : use flama_phc
20250109@141053.9965 td4ckj2tv3c9d39hkfh2srtlcj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141054.0000 td4ckj2tv3c9d39hkfh2srtlcj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4435';
20250109@141054.4600 td4ckj2tv3c9d39hkfh2srtlcj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4435';
20250109@141054.1020 td4ckj2tv3c9d39hkfh2srtlcj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4435';
20250109@141054.1440 td4ckj2tv3c9d39hkfh2srtlcj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4435';
20250109@141054.6820 uglfg4bq784mm1ia558v79na9c Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141054.7000 uglfg4bq784mm1ia558v79na9c Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141054.9760 uglfg4bq784mm1ia558v79na9c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4436';
20250109@141054.1050 uglfg4bq784mm1ia558v79na9c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4436';
20250109@141054.1114 uglfg4bq784mm1ia558v79na9c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4436';
20250109@141054.1150 uglfg4bq784mm1ia558v79na9c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4436';
20250109@141054.1209 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.1212 uglfg4bq784mm1ia558v79na9c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141054.1274 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.1277 uglfg4bq784mm1ia558v79na9c Query : select no, estab,szadrsdesc from szadrs where u_coddest=863
20250109@141054.1369 uglfg4bq784mm1ia558v79na9c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20250109@141054.1526 uglfg4bq784mm1ia558v79na9c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500224 and bi.ref ='324.1332.00.1' and bi.lordem =1
20250109@141054.2327 uglfg4bq784mm1ia558v79na9c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1862.00.1'
20250109@141054.2491 uglfg4bq784mm1ia558v79na9c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500224 and bi.ref ='324.1862.00.1' and bi.lordem =2
20250109@141054.2795 uglfg4bq784mm1ia558v79na9c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20250109@141054.2958 uglfg4bq784mm1ia558v79na9c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500224 and bi.ref ='324.1293.00.1' and bi.lordem =3
20250109@141054.3272 uglfg4bq784mm1ia558v79na9c 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'
20250109@141054.3428 uglfg4bq784mm1ia558v79na9c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500224 and bi.ref ='324.2231.00.2' and bi.lordem =4
20250109@141054.3972 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.3976 uglfg4bq784mm1ia558v79na9c Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141054.4007 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.4010 uglfg4bq784mm1ia558v79na9c Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141054.4040 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.4043 uglfg4bq784mm1ia558v79na9c 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')
20250109@141054.4072 uglfg4bq784mm1ia558v79na9c 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
20250109@141054.4105 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.4108 uglfg4bq784mm1ia558v79na9c Query : select top 1 ~inactivo valor from cl where no = '102324' and estab = 0 order by inactivo desc
20250109@141054.4231 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.4234 uglfg4bq784mm1ia558v79na9c Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141054.4265 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.4268 uglfg4bq784mm1ia558v79na9c Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141054.4307 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.4310 uglfg4bq784mm1ia558v79na9c Query : select szadrsstamp valor from szadrs where szadrsdesc='portelotel, lda.'
20250109@141054.4355 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.4357 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from td where ndoc = 39
20250109@141054.4370 uglfg4bq784mm1ia558v79na9c Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141054.4385 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.4401 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141054.4421 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.4436 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141054.4465 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.4480 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141054.4493 uglfg4bq784mm1ia558v79na9c Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141054.4596 uglfg4bq784mm1ia558v79na9c Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141054.4611 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.4626 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141054.4642 uglfg4bq784mm1ia558v79na9c Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd45046677fd8ee6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141054.4831 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.4849 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141054.4882 uglfg4bq784mm1ia558v79na9c Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141054.4894 uglfg4bq784mm1ia558v79na9c Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141054.4905 uglfg4bq784mm1ia558v79na9c Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141054.4916 uglfg4bq784mm1ia558v79na9c Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141054.4928 uglfg4bq784mm1ia558v79na9c Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141054.4941 uglfg4bq784mm1ia558v79na9c Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141054.4952 uglfg4bq784mm1ia558v79na9c Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd45046677fd8ee6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141054.5352 uglfg4bq784mm1ia558v79na9c Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141054.5462 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.5479 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141054.5501 uglfg4bq784mm1ia558v79na9c Query : select 'normal' from dummy
20250109@141054.5541 uglfg4bq784mm1ia558v79na9c Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd45046677fd8ee6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2876,102324,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141054.5866 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.5869 uglfg4bq784mm1ia558v79na9c Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20250109@141054.5892 uglfg4bq784mm1ia558v79na9c 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.1332.00.1'
20250109@141054.6744 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.6762 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.6800 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.6817 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.6827 uglfg4bq784mm1ia558v79na9c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141054.6840 uglfg4bq784mm1ia558v79na9c Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20250109@141054.6855 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.6871 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.6884 uglfg4bq784mm1ia558v79na9c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd71218677fd8eea7','aut677fd45046677fd8ee6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141054.6889 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.6904 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.6934 uglfg4bq784mm1ia558v79na9c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd71218677fd8eea7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677fd45046677fd8ee6d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141054.7230 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.7234 uglfg4bq784mm1ia558v79na9c Query : select st.usalote valor from st where st.ref = '324.1862.00.1'
20250109@141054.7257 uglfg4bq784mm1ia558v79na9c 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.1862.00.1'
20250109@141054.7406 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.7423 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.7451 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.7467 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.7476 uglfg4bq784mm1ia558v79na9c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141054.7489 uglfg4bq784mm1ia558v79na9c Query : select sestamp valor from se where ref ='324.1862.00.1' and lote = 'r2400440200a'
20250109@141054.7508 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.7524 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.7536 uglfg4bq784mm1ia558v79na9c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd41646677fd8eeb7','aut677fd45046677fd8ee6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141054.7540 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.7555 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.7585 uglfg4bq784mm1ia558v79na9c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd41646677fd8eeb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677fd45046677fd8ee6d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141054.7854 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.7857 uglfg4bq784mm1ia558v79na9c Query : select st.usalote valor from st where st.ref = '324.1293.00.1'
20250109@141054.7879 uglfg4bq784mm1ia558v79na9c 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.1293.00.1'
20250109@141054.8031 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.8047 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.8074 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.8091 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.8100 uglfg4bq784mm1ia558v79na9c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141054.8117 uglfg4bq784mm1ia558v79na9c Query : select sestamp valor from se where ref ='324.1293.00.1' and lote = 'r2101042200a'
20250109@141054.8138 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.8155 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.8169 uglfg4bq784mm1ia558v79na9c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd47770677fd8eec6','aut677fd45046677fd8ee6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141054.8175 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.8229 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.8457 uglfg4bq784mm1ia558v79na9c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd47770677fd8eec6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677fd45046677fd8ee6d' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250109@141054.8728 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.8760 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.8787 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.8801 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.8810 uglfg4bq784mm1ia558v79na9c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141054.8824 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.8841 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.8853 uglfg4bq784mm1ia558v79na9c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd58837677fd8eed7','aut677fd45046677fd8ee6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141054.8857 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.8872 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.8902 uglfg4bq784mm1ia558v79na9c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677fd58837677fd8eed7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677fd45046677fd8ee6d' ,0,0 ,2,23.00,40000,?,?,?)
20250109@141054.9178 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.9181 uglfg4bq784mm1ia558v79na9c Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20250109@141054.9201 uglfg4bq784mm1ia558v79na9c 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'
20250109@141054.9345 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.9361 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.9388 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.9402 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.9411 uglfg4bq784mm1ia558v79na9c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141054.9423 uglfg4bq784mm1ia558v79na9c Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2401062400a'
20250109@141054.9437 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.9474 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141054.9486 uglfg4bq784mm1ia558v79na9c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd75783677fd8eee6','aut677fd45046677fd8ee6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141054.9490 uglfg4bq784mm1ia558v79na9c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141054.9505 uglfg4bq784mm1ia558v79na9c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141054.9536 uglfg4bq784mm1ia558v79na9c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd75783677fd8eee6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677fd45046677fd8ee6d' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20250109@141054.9849 uglfg4bq784mm1ia558v79na9c Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd45046677fd8ee6d','2500224','wait',39,'adm09112754980.682000002')
20250109@141054.9929 uglfg4bq784mm1ia558v79na9c Query : use flama_phc
20250109@141054.9932 uglfg4bq784mm1ia558v79na9c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141054.9963 uglfg4bq784mm1ia558v79na9c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4436';
20250109@141055.1600 uglfg4bq784mm1ia558v79na9c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4436';
20250109@141055.6800 uglfg4bq784mm1ia558v79na9c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4436';
20250109@141055.1020 uglfg4bq784mm1ia558v79na9c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4436';
20250109@141055.6970 j218c8vf3fmmf982rhhurdhtm3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141055.7090 j218c8vf3fmmf982rhhurdhtm3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141055.7850 j218c8vf3fmmf982rhhurdhtm3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4437';
20250109@141055.8600 j218c8vf3fmmf982rhhurdhtm3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4437';
20250109@141055.9250 j218c8vf3fmmf982rhhurdhtm3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4437';
20250109@141055.9610 j218c8vf3fmmf982rhhurdhtm3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4437';
20250109@141055.1031 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.1437 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141055.2200 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.2203 j218c8vf3fmmf982rhhurdhtm3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=863
20250109@141055.2252 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.734.00.02'
20250109@141055.2415 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500226 and bi.ref ='324.734.00.02' and bi.lordem =1
20250109@141055.2761 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.2764 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141055.2796 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.2800 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141055.2830 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.2833 j218c8vf3fmmf982rhhurdhtm3 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')
20250109@141055.2863 j218c8vf3fmmf982rhhurdhtm3 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
20250109@141055.2901 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.2904 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 ~inactivo valor from cl where no = '102324' and estab = 0 order by inactivo desc
20250109@141055.2933 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.2937 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141055.2968 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.2971 j218c8vf3fmmf982rhhurdhtm3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141055.3011 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.3014 j218c8vf3fmmf982rhhurdhtm3 Query : select szadrsstamp valor from szadrs where szadrsdesc='portelotel, lda.'
20250109@141055.3059 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.3062 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from td where ndoc = 39
20250109@141055.3075 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141055.3089 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.3106 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141055.3125 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.3141 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141055.3171 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.3187 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141055.3200 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141055.3318 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141055.3331 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.3348 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141055.3366 j218c8vf3fmmf982rhhurdhtm3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd18692677fd8ef4e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141055.3552 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.3569 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141055.3604 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141055.3619 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141055.3631 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141055.3642 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141055.3654 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141055.3666 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141055.3678 j218c8vf3fmmf982rhhurdhtm3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd18692677fd8ef4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141055.3940 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141055.3973 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.3989 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141055.4011 j218c8vf3fmmf982rhhurdhtm3 Query : select 'normal' from dummy
20250109@141055.4027 j218c8vf3fmmf982rhhurdhtm3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd18692677fd8ef4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2877,102324,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141055.4357 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.4361 j218c8vf3fmmf982rhhurdhtm3 Query : select st.usalote valor from st where st.ref = '324.734.00.02'
20250109@141055.4385 j218c8vf3fmmf982rhhurdhtm3 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.734.00.02'
20250109@141055.4530 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.4556 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141055.4584 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.4602 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141055.4611 j218c8vf3fmmf982rhhurdhtm3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141055.4624 j218c8vf3fmmf982rhhurdhtm3 Query : select sestamp valor from se where ref ='324.734.00.02' and lote = 'r2400471100a'
20250109@141055.4640 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.4656 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141055.4668 j218c8vf3fmmf982rhhurdhtm3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd23033677fd8ef71','aut677fd18692677fd8ef4e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141055.4673 j218c8vf3fmmf982rhhurdhtm3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.4687 j218c8vf3fmmf982rhhurdhtm3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141055.4719 j218c8vf3fmmf982rhhurdhtm3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd23033677fd8ef71',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677fd18692677fd8ef4e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141055.5002 j218c8vf3fmmf982rhhurdhtm3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd18692677fd8ef4e','2500226','wait',39,'adm09112754980.682000002')
20250109@141055.5077 j218c8vf3fmmf982rhhurdhtm3 Query : use flama_phc
20250109@141055.5080 j218c8vf3fmmf982rhhurdhtm3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141055.5110 j218c8vf3fmmf982rhhurdhtm3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4437';
20250109@141055.5153 j218c8vf3fmmf982rhhurdhtm3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4437';
20250109@141055.5206 j218c8vf3fmmf982rhhurdhtm3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4437';
20250109@141055.5248 j218c8vf3fmmf982rhhurdhtm3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4437';
20250109@141055.5773 7dnnu18pq9onhneaf31uu5i066 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141055.5784 7dnnu18pq9onhneaf31uu5i066 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141055.5853 7dnnu18pq9onhneaf31uu5i066 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4438';
20250109@141055.5916 7dnnu18pq9onhneaf31uu5i066 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4438';
20250109@141055.5989 7dnnu18pq9onhneaf31uu5i066 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4438';
20250109@141055.6029 7dnnu18pq9onhneaf31uu5i066 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4438';
20250109@141055.6092 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.6095 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141055.6157 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.6160 7dnnu18pq9onhneaf31uu5i066 Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20250109@141055.6258 7dnnu18pq9onhneaf31uu5i066 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'
20250109@141055.6415 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500227 and bi.ref ='324.1676.00.1' and bi.lordem =1
20250109@141055.6725 7dnnu18pq9onhneaf31uu5i066 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'
20250109@141055.6745 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500227 and bi.ref ='324.1676.00.1' and bi.lordem =1
20250109@141055.6762 7dnnu18pq9onhneaf31uu5i066 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'
20250109@141055.6783 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500227 and bi.ref ='324.1676.00.1' and bi.lordem =1
20250109@141055.6800 7dnnu18pq9onhneaf31uu5i066 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'
20250109@141055.6821 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500227 and bi.ref ='324.1676.00.1' and bi.lordem =2
20250109@141055.7148 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20250109@141055.7315 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500227 and bi.ref ='324.1670.00.1' and bi.lordem =3
20250109@141055.8740 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20250109@141055.8763 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500227 and bi.ref ='324.1670.00.1' and bi.lordem =3
20250109@141055.8781 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20250109@141055.8801 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500227 and bi.ref ='324.1670.00.1' and bi.lordem =4
20250109@141055.9116 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.9119 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141055.9153 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.9156 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141055.9185 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.9188 7dnnu18pq9onhneaf31uu5i066 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')
20250109@141055.9217 7dnnu18pq9onhneaf31uu5i066 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
20250109@141055.9250 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.9254 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 ~inactivo valor from cl where no = '102068' and estab = 0 order by inactivo desc
20250109@141055.9378 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.9382 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141055.9412 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.9415 7dnnu18pq9onhneaf31uu5i066 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141055.9457 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.9460 7dnnu18pq9onhneaf31uu5i066 Query : select szadrsstamp valor from szadrs where szadrsdesc='magalhÃes & vinha, lda.'
20250109@141055.9509 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141055.9512 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from td where ndoc = 39
20250109@141055.9523 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141055.9537 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.9553 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141055.9574 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.9589 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141055.9621 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.9636 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141055.9650 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141055.9764 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141055.9780 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141055.9798 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141055.9816 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd65389677fd8efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141056.3000 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.2300 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141056.5500 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141056.7200 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141056.8600 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141056.1000 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141056.1130 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141056.1280 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141056.1430 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd65389677fd8efeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141056.4380 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141056.4720 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.4900 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141056.5140 7dnnu18pq9onhneaf31uu5i066 Query : select 'normal' from dummy
20250109@141056.5300 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd65389677fd8efeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2878,102068,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141056.8810 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141056.8840 7dnnu18pq9onhneaf31uu5i066 Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20250109@141056.9090 7dnnu18pq9onhneaf31uu5i066 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'
20250109@141056.1059 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.1077 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.1105 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.1122 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.1131 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141056.1145 7dnnu18pq9onhneaf31uu5i066 Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20250109@141056.1173 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.1188 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.1200 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd01997677fd8f01c','aut677fd65389677fd8efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141056.1205 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.1220 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.1250 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd01997677fd8f01c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677fd65389677fd8efeb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141056.1556 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141056.1559 7dnnu18pq9onhneaf31uu5i066 Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20250109@141056.1580 7dnnu18pq9onhneaf31uu5i066 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'
20250109@141056.1595 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.1613 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.1639 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.1654 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.1663 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141056.1676 7dnnu18pq9onhneaf31uu5i066 Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20250109@141056.1691 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.1707 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.1721 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd64910677fd8f029','aut677fd65389677fd8efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141056.1726 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.1742 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.1771 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd64910677fd8f029',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677fd65389677fd8efeb' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141056.2052 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141056.2056 7dnnu18pq9onhneaf31uu5i066 Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20250109@141056.2079 7dnnu18pq9onhneaf31uu5i066 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'
20250109@141056.2095 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.2114 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.2141 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.2157 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.2167 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141056.2183 7dnnu18pq9onhneaf31uu5i066 Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20250109@141056.2197 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.2213 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.2225 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd72106677fd8f035','aut677fd65389677fd8efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141056.2229 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.2244 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.2274 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd72106677fd8f035',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut677fd65389677fd8efeb' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250109@141056.2574 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141056.2578 7dnnu18pq9onhneaf31uu5i066 Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20250109@141056.3808 7dnnu18pq9onhneaf31uu5i066 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'
20250109@141056.3824 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.3842 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.3869 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.3883 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.3892 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141056.3903 7dnnu18pq9onhneaf31uu5i066 Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20250109@141056.3917 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.3932 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.3945 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd45892677fd8f05f','aut677fd65389677fd8efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141056.3950 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.3964 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.3993 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd45892677fd8f05f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677fd65389677fd8efeb' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250109@141056.4282 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141056.4285 7dnnu18pq9onhneaf31uu5i066 Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20250109@141056.4310 7dnnu18pq9onhneaf31uu5i066 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.1670.00.1'
20250109@141056.4466 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.4483 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.4515 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.4532 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.4542 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141056.4554 7dnnu18pq9onhneaf31uu5i066 Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20250109@141056.4578 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.4594 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.4609 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd77147677fd8f06f','aut677fd65389677fd8efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141056.4614 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.4630 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.4660 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd77147677fd8f06f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut677fd65389677fd8efeb' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250109@141056.4952 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141056.4956 7dnnu18pq9onhneaf31uu5i066 Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20250109@141056.4979 7dnnu18pq9onhneaf31uu5i066 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.1670.00.1'
20250109@141056.4994 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.5013 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.5044 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.5065 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.5076 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141056.5092 7dnnu18pq9onhneaf31uu5i066 Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20250109@141056.5106 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.5123 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.5138 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd01441677fd8f07c','aut677fd65389677fd8efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141056.5143 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.5160 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.5193 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd01441677fd8f07c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut677fd65389677fd8efeb' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20250109@141056.5486 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141056.5489 7dnnu18pq9onhneaf31uu5i066 Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20250109@141056.5511 7dnnu18pq9onhneaf31uu5i066 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.1670.00.1'
20250109@141056.5526 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.5542 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.5569 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.5585 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.5596 7dnnu18pq9onhneaf31uu5i066 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141056.5608 7dnnu18pq9onhneaf31uu5i066 Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20250109@141056.5622 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.5639 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141056.5653 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd24777677fd8f089','aut677fd65389677fd8efeb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141056.5658 7dnnu18pq9onhneaf31uu5i066 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.5675 7dnnu18pq9onhneaf31uu5i066 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141056.5708 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd24777677fd8f089',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut677fd65389677fd8efeb' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250109@141056.5989 7dnnu18pq9onhneaf31uu5i066 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd65389677fd8efeb','2500227','wait',39,'adm09112754980.682000002')
20250109@141056.6074 7dnnu18pq9onhneaf31uu5i066 Query : use flama_phc
20250109@141056.6078 7dnnu18pq9onhneaf31uu5i066 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141056.6110 7dnnu18pq9onhneaf31uu5i066 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4438';
20250109@141056.6156 7dnnu18pq9onhneaf31uu5i066 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4438';
20250109@141056.6216 7dnnu18pq9onhneaf31uu5i066 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4438';
20250109@141056.6260 7dnnu18pq9onhneaf31uu5i066 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4438';
20250109@141056.6829 5cknfspd0aibdefeoui40t3ir8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141056.6842 5cknfspd0aibdefeoui40t3ir8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141056.6912 5cknfspd0aibdefeoui40t3ir8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4439';
20250109@141056.6981 5cknfspd0aibdefeoui40t3ir8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4439';
20250109@141056.7046 5cknfspd0aibdefeoui40t3ir8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4439';
20250109@141056.7082 5cknfspd0aibdefeoui40t3ir8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4439';
20250109@141056.7147 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.7151 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141056.7225 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.7228 5cknfspd0aibdefeoui40t3ir8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20250109@141056.7333 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20250109@141056.7492 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500228 and bi.ref ='324.5501.00.1' and bi.lordem =1
20250109@141056.7821 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.7826 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141056.7861 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.7864 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141056.7897 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.7900 5cknfspd0aibdefeoui40t3ir8 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')
20250109@141056.7949 5cknfspd0aibdefeoui40t3ir8 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
20250109@141056.8000 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.8003 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20250109@141056.8183 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.8187 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141056.8225 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.8229 5cknfspd0aibdefeoui40t3ir8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141056.8275 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.8279 5cknfspd0aibdefeoui40t3ir8 Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20250109@141056.8326 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141056.8330 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from td where ndoc = 39
20250109@141056.8344 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141056.8362 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.8379 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141056.8400 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.8416 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141056.8445 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141056.8461 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141056.8477 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141057.1140 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141057.1310 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.1500 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141057.1700 5cknfspd0aibdefeoui40t3ir8 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd50035677fd8f0ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141057.4120 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.4360 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141057.4790 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141057.4930 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141057.5120 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141057.5290 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141057.5460 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141057.5640 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141057.5780 5cknfspd0aibdefeoui40t3ir8 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd50035677fd8f0ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141057.8770 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141057.9180 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.9410 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141057.9700 5cknfspd0aibdefeoui40t3ir8 Query : select 'normal' from dummy
20250109@141057.9900 5cknfspd0aibdefeoui40t3ir8 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd50035677fd8f0ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2879,102079,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141057.1330 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141057.1333 5cknfspd0aibdefeoui40t3ir8 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20250109@141057.1360 5cknfspd0aibdefeoui40t3ir8 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.5501.00.1'
20250109@141057.1524 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.1543 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141057.1574 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.1591 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141057.1600 5cknfspd0aibdefeoui40t3ir8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141057.1613 5cknfspd0aibdefeoui40t3ir8 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20250109@141057.1628 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.1643 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141057.1656 5cknfspd0aibdefeoui40t3ir8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd24370677fd8f127','aut677fd50035677fd8f0ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141057.1661 5cknfspd0aibdefeoui40t3ir8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.1676 5cknfspd0aibdefeoui40t3ir8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141057.1708 5cknfspd0aibdefeoui40t3ir8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd24370677fd8f127',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut677fd50035677fd8f0ce' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141057.1991 5cknfspd0aibdefeoui40t3ir8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd50035677fd8f0ce','2500228','wait',39,'adm09112754980.682000002')
20250109@141057.2062 5cknfspd0aibdefeoui40t3ir8 Query : use flama_phc
20250109@141057.2066 5cknfspd0aibdefeoui40t3ir8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141057.2095 5cknfspd0aibdefeoui40t3ir8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4439';
20250109@141057.2141 5cknfspd0aibdefeoui40t3ir8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4439';
20250109@141057.2194 5cknfspd0aibdefeoui40t3ir8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4439';
20250109@141057.2238 5cknfspd0aibdefeoui40t3ir8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4439';
20250109@141057.2751 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141057.2762 e7c8q8e3dar8m27nba4e1pjqpf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141057.2832 e7c8q8e3dar8m27nba4e1pjqpf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4440';
20250109@141057.2929 e7c8q8e3dar8m27nba4e1pjqpf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4440';
20250109@141057.2993 e7c8q8e3dar8m27nba4e1pjqpf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4440';
20250109@141057.3032 e7c8q8e3dar8m27nba4e1pjqpf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4440';
20250109@141057.3089 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3093 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141057.3155 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3159 e7c8q8e3dar8m27nba4e1pjqpf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141057.3258 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20250109@141057.3279 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500229 and bi.ref ='324.1332.00.1' and bi.lordem =1
20250109@141057.3593 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20250109@141057.3613 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500229 and bi.ref ='324.1332.00.1' and bi.lordem =1
20250109@141057.3631 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3635 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141057.3667 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3670 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141057.3700 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3703 e7c8q8e3dar8m27nba4e1pjqpf 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')
20250109@141057.3732 e7c8q8e3dar8m27nba4e1pjqpf 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
20250109@141057.3767 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3770 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141057.3895 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3898 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141057.3931 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3934 e7c8q8e3dar8m27nba4e1pjqpf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141057.3974 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.3977 e7c8q8e3dar8m27nba4e1pjqpf Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141057.4025 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.4028 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from td where ndoc = 39
20250109@141057.4041 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141057.4056 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.4074 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141057.4094 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.4110 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141057.4141 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.4156 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141057.4171 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141057.4280 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141057.4294 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.4311 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141057.4328 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd61959677fd8f165' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141057.4560 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.4580 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141057.4620 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141057.4635 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141057.4649 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141057.4664 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141057.4678 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141057.4691 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141057.4703 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd61959677fd8f165',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141057.4975 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141057.5011 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.5031 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141057.5060 e7c8q8e3dar8m27nba4e1pjqpf Query : select 'normal' from dummy
20250109@141057.5079 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd61959677fd8f165',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2880,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141057.5475 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.5479 e7c8q8e3dar8m27nba4e1pjqpf Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20250109@141057.5502 e7c8q8e3dar8m27nba4e1pjqpf 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.1332.00.1'
20250109@141057.5519 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.5537 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141057.5565 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.5579 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141057.5589 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141057.5601 e7c8q8e3dar8m27nba4e1pjqpf Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20250109@141057.5616 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.5631 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141057.5643 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd54455677fd8f189','aut677fd61959677fd8f165' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141057.5654 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.5672 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141057.5703 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd54455677fd8f189',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677fd61959677fd8f165' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141057.6031 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.6035 e7c8q8e3dar8m27nba4e1pjqpf Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20250109@141057.6059 e7c8q8e3dar8m27nba4e1pjqpf 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.1332.00.1'
20250109@141057.6076 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.6094 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141057.6126 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.6144 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141057.6155 e7c8q8e3dar8m27nba4e1pjqpf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141057.6171 e7c8q8e3dar8m27nba4e1pjqpf Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20250109@141057.6185 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.6203 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141057.6217 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd82665677fd8f197','aut677fd61959677fd8f165' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141057.6222 e7c8q8e3dar8m27nba4e1pjqpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.6239 e7c8q8e3dar8m27nba4e1pjqpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141057.6274 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd82665677fd8f197',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',17.000 ,'aut677fd61959677fd8f165' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141057.6553 e7c8q8e3dar8m27nba4e1pjqpf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd61959677fd8f165','2500229','wait',39,'adm09112754980.682000002')
20250109@141057.6632 e7c8q8e3dar8m27nba4e1pjqpf Query : use flama_phc
20250109@141057.6636 e7c8q8e3dar8m27nba4e1pjqpf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141057.6667 e7c8q8e3dar8m27nba4e1pjqpf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4440';
20250109@141057.6710 e7c8q8e3dar8m27nba4e1pjqpf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4440';
20250109@141057.6762 e7c8q8e3dar8m27nba4e1pjqpf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4440';
20250109@141057.6797 e7c8q8e3dar8m27nba4e1pjqpf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4440';
20250109@141057.7315 ofm1uoprmkeqv22kfnp74agt0r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141057.7326 ofm1uoprmkeqv22kfnp74agt0r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141057.8479 ofm1uoprmkeqv22kfnp74agt0r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4441';
20250109@141057.8548 ofm1uoprmkeqv22kfnp74agt0r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4441';
20250109@141057.8608 ofm1uoprmkeqv22kfnp74agt0r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4441';
20250109@141057.8641 ofm1uoprmkeqv22kfnp74agt0r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4441';
20250109@141057.8696 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.8699 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141057.8760 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.8763 ofm1uoprmkeqv22kfnp74agt0r Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141057.8810 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2315.00.1'
20250109@141057.8970 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500230 and bi.ref ='304.2315.00.1' and bi.lordem =1
20250109@141057.9476 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.9479 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141057.9511 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.9514 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141057.9544 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.9546 ofm1uoprmkeqv22kfnp74agt0r 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')
20250109@141057.9575 ofm1uoprmkeqv22kfnp74agt0r 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
20250109@141057.9611 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.9614 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141057.9643 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.9646 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141057.9676 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.9679 ofm1uoprmkeqv22kfnp74agt0r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141057.9718 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.9721 ofm1uoprmkeqv22kfnp74agt0r Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141057.9767 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141057.9770 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from td where ndoc = 39
20250109@141057.9784 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141057.9798 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.9815 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141057.9836 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.9852 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141057.9881 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141057.9896 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141057.9909 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141058.1700 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141058.3100 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.4700 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141058.6500 ofm1uoprmkeqv22kfnp74agt0r Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd72403677fd8f1f1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141058.2590 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.2760 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141058.3070 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141058.3190 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141058.3310 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141058.3420 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141058.3530 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141058.3660 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141058.3780 ofm1uoprmkeqv22kfnp74agt0r Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd72403677fd8f1f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141058.6320 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141058.6640 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.6790 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141058.7020 ofm1uoprmkeqv22kfnp74agt0r Query : select 'normal' from dummy
20250109@141058.7170 ofm1uoprmkeqv22kfnp74agt0r Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd72403677fd8f1f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2881,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141058.1245 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141058.1248 ofm1uoprmkeqv22kfnp74agt0r Query : select st.usalote valor from st where st.ref = '304.2315.00.1'
20250109@141058.1270 ofm1uoprmkeqv22kfnp74agt0r 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 = '304.2315.00.1'
20250109@141058.1413 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.1427 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141058.1451 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.1467 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141058.1476 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141058.1488 ofm1uoprmkeqv22kfnp74agt0r Query : select sestamp valor from se where ref ='304.2315.00.1' and lote = 's2300276100a'
20250109@141058.1507 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.1523 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141058.1536 ofm1uoprmkeqv22kfnp74agt0r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd83093677fd8f224','aut677fd72403677fd8f1f1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141058.1546 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.1562 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141058.1591 ofm1uoprmkeqv22kfnp74agt0r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd83093677fd8f224',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut677fd72403677fd8f1f1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141058.1878 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.1896 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141058.1925 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.1941 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141058.1950 ofm1uoprmkeqv22kfnp74agt0r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141058.1965 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.1981 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141058.1993 ofm1uoprmkeqv22kfnp74agt0r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd93320677fd8f22f','aut677fd72403677fd8f1f1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141058.1998 ofm1uoprmkeqv22kfnp74agt0r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.2015 ofm1uoprmkeqv22kfnp74agt0r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141058.2044 ofm1uoprmkeqv22kfnp74agt0r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677fd93320677fd8f22f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677fd72403677fd8f1f1' ,0,0 ,2,23.00,20000,?,?,?)
20250109@141058.2319 ofm1uoprmkeqv22kfnp74agt0r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd72403677fd8f1f1','2500230','wait',39,'adm09112754980.682000002')
20250109@141058.2403 ofm1uoprmkeqv22kfnp74agt0r Query : use flama_phc
20250109@141058.2407 ofm1uoprmkeqv22kfnp74agt0r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141058.2437 ofm1uoprmkeqv22kfnp74agt0r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4441';
20250109@141058.2478 ofm1uoprmkeqv22kfnp74agt0r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4441';
20250109@141058.2530 ofm1uoprmkeqv22kfnp74agt0r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4441';
20250109@141058.2564 ofm1uoprmkeqv22kfnp74agt0r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4441';
20250109@141058.3058 et6c45js1h4ugjvfte40c54q0j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141058.3068 et6c45js1h4ugjvfte40c54q0j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141058.3138 et6c45js1h4ugjvfte40c54q0j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4442';
20250109@141058.3217 et6c45js1h4ugjvfte40c54q0j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4442';
20250109@141058.3284 et6c45js1h4ugjvfte40c54q0j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4442';
20250109@141058.3325 et6c45js1h4ugjvfte40c54q0j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4442';
20250109@141058.3388 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.3391 et6c45js1h4ugjvfte40c54q0j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141058.3455 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.3458 et6c45js1h4ugjvfte40c54q0j Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250109@141058.3547 et6c45js1h4ugjvfte40c54q0j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@141058.3707 et6c45js1h4ugjvfte40c54q0j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500232 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@141058.4053 et6c45js1h4ugjvfte40c54q0j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250109@141058.4073 et6c45js1h4ugjvfte40c54q0j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500232 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250109@141058.4091 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.4094 et6c45js1h4ugjvfte40c54q0j Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141058.4132 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.4135 et6c45js1h4ugjvfte40c54q0j Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141058.4165 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.4168 et6c45js1h4ugjvfte40c54q0j 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')
20250109@141058.4196 et6c45js1h4ugjvfte40c54q0j 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
20250109@141058.4237 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.4240 et6c45js1h4ugjvfte40c54q0j Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20250109@141058.4361 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.4364 et6c45js1h4ugjvfte40c54q0j Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141058.4397 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.4399 et6c45js1h4ugjvfte40c54q0j Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141058.4442 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.4445 et6c45js1h4ugjvfte40c54q0j Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20250109@141058.4498 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.4500 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from td where ndoc = 39
20250109@141058.4513 et6c45js1h4ugjvfte40c54q0j Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141058.4527 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.4543 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141058.4563 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.4577 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141058.4615 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.5364 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141058.5461 et6c45js1h4ugjvfte40c54q0j Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141058.5861 et6c45js1h4ugjvfte40c54q0j Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141058.5875 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.5890 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141058.5905 et6c45js1h4ugjvfte40c54q0j Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd10976677fd8f285' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141058.6092 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.6111 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141058.6146 et6c45js1h4ugjvfte40c54q0j Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141058.6159 et6c45js1h4ugjvfte40c54q0j Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141058.6171 et6c45js1h4ugjvfte40c54q0j Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141058.6183 et6c45js1h4ugjvfte40c54q0j Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141058.6196 et6c45js1h4ugjvfte40c54q0j Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141058.6209 et6c45js1h4ugjvfte40c54q0j Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141058.6220 et6c45js1h4ugjvfte40c54q0j Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd10976677fd8f285',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141058.6479 et6c45js1h4ugjvfte40c54q0j Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141058.6512 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.6528 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141058.6551 et6c45js1h4ugjvfte40c54q0j Query : select 'normal' from dummy
20250109@141058.6566 et6c45js1h4ugjvfte40c54q0j Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd10976677fd8f285',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2882,102943,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141058.6876 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.6879 et6c45js1h4ugjvfte40c54q0j Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@141058.6901 et6c45js1h4ugjvfte40c54q0j 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.4980.00.1'
20250109@141058.7051 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.7067 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141058.7094 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.7111 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141058.7120 et6c45js1h4ugjvfte40c54q0j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141058.7131 et6c45js1h4ugjvfte40c54q0j Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@141058.7146 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.7160 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141058.7172 et6c45js1h4ugjvfte40c54q0j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd25711677fd8f2ae','aut677fd10976677fd8f285' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141058.7176 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.7191 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141058.7220 et6c45js1h4ugjvfte40c54q0j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd25711677fd8f2ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677fd10976677fd8f285' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141058.7522 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.7526 et6c45js1h4ugjvfte40c54q0j Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250109@141058.7545 et6c45js1h4ugjvfte40c54q0j 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.4980.00.1'
20250109@141058.7558 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.7576 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141058.7603 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.7620 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141058.7630 et6c45js1h4ugjvfte40c54q0j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141058.7643 et6c45js1h4ugjvfte40c54q0j Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250109@141058.7656 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.7672 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141058.7683 et6c45js1h4ugjvfte40c54q0j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd22378677fd8f2ba','aut677fd10976677fd8f285' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141058.7688 et6c45js1h4ugjvfte40c54q0j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141058.7702 et6c45js1h4ugjvfte40c54q0j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141058.7730 et6c45js1h4ugjvfte40c54q0j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd22378677fd8f2ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut677fd10976677fd8f285' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141058.7999 et6c45js1h4ugjvfte40c54q0j Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd10976677fd8f285','2500232','wait',39,'adm09112754980.682000002')
20250109@141058.8079 et6c45js1h4ugjvfte40c54q0j Query : use flama_phc
20250109@141058.8083 et6c45js1h4ugjvfte40c54q0j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141058.8116 et6c45js1h4ugjvfte40c54q0j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4442';
20250109@141058.8175 et6c45js1h4ugjvfte40c54q0j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4442';
20250109@141058.8235 et6c45js1h4ugjvfte40c54q0j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4442';
20250109@141058.8277 et6c45js1h4ugjvfte40c54q0j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4442';
20250109@141058.8755 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141058.8766 2afj8e0h7h8m5d2dko2slpaus3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141058.8841 2afj8e0h7h8m5d2dko2slpaus3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4443';
20250109@141058.8917 2afj8e0h7h8m5d2dko2slpaus3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4443';
20250109@141058.8983 2afj8e0h7h8m5d2dko2slpaus3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4443';
20250109@141058.9022 2afj8e0h7h8m5d2dko2slpaus3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4443';
20250109@141058.9098 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141058.9101 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141058.9205 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141058.9209 2afj8e0h7h8m5d2dko2slpaus3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141058.9257 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250109@141058.9426 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500234 and bi.ref ='324.1321.00.1' and bi.lordem =1
20250109@141058.9738 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250109@141058.9762 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500234 and bi.ref ='324.1321.00.1' and bi.lordem =1
20250109@141058.9781 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141058.9784 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141058.9823 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141058.9826 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141058.9862 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141058.9865 2afj8e0h7h8m5d2dko2slpaus3 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')
20250109@141058.9894 2afj8e0h7h8m5d2dko2slpaus3 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
20250109@141058.9931 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141058.9934 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141058.9965 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141058.9968 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141059.5000 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141059.9000 2afj8e0h7h8m5d2dko2slpaus3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141059.5000 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141059.5300 2afj8e0h7h8m5d2dko2slpaus3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141059.1000 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141059.1040 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from td where ndoc = 39
20250109@141059.1170 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141059.1300 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.1460 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141059.1700 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.1870 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141059.2300 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.2460 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141059.2590 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141059.3690 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141059.3840 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.4000 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141059.4180 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd79117677fd8f306' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141059.5960 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.6140 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141059.6500 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141059.6630 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141059.6760 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141059.6890 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141059.7020 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141059.7150 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141059.7280 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd79117677fd8f306',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141059.9990 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141059.1034 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.1051 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141059.1077 2afj8e0h7h8m5d2dko2slpaus3 Query : select 'normal' from dummy
20250109@141059.1093 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd79117677fd8f306',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2883,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141059.1505 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141059.1509 2afj8e0h7h8m5d2dko2slpaus3 Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20250109@141059.1534 2afj8e0h7h8m5d2dko2slpaus3 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.1321.00.1'
20250109@141059.1694 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.1712 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141059.1742 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.1759 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141059.1769 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141059.1782 2afj8e0h7h8m5d2dko2slpaus3 Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400496200a'
20250109@141059.1798 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.1814 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141059.1827 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd61441677fd8f32b','aut677fd79117677fd8f306' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141059.1832 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.1849 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141059.1882 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd61441677fd8f32b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut677fd79117677fd8f306' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141059.2171 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141059.2174 2afj8e0h7h8m5d2dko2slpaus3 Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20250109@141059.2196 2afj8e0h7h8m5d2dko2slpaus3 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.1321.00.1'
20250109@141059.2211 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.2228 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141059.2256 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.2272 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141059.2282 2afj8e0h7h8m5d2dko2slpaus3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141059.2295 2afj8e0h7h8m5d2dko2slpaus3 Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400496200a'
20250109@141059.2310 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.2326 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141059.2339 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd09822677fd8f338','aut677fd79117677fd8f306' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141059.2343 2afj8e0h7h8m5d2dko2slpaus3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.2359 2afj8e0h7h8m5d2dko2slpaus3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141059.3663 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd09822677fd8f338',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677fd79117677fd8f306' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141059.3966 2afj8e0h7h8m5d2dko2slpaus3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd79117677fd8f306','2500234','wait',39,'adm09112754980.682000002')
20250109@141059.4053 2afj8e0h7h8m5d2dko2slpaus3 Query : use flama_phc
20250109@141059.4057 2afj8e0h7h8m5d2dko2slpaus3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141059.4093 2afj8e0h7h8m5d2dko2slpaus3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4443';
20250109@141059.4139 2afj8e0h7h8m5d2dko2slpaus3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4443';
20250109@141059.4197 2afj8e0h7h8m5d2dko2slpaus3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4443';
20250109@141059.4303 2afj8e0h7h8m5d2dko2slpaus3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4443';
20250109@141059.4817 l62qomacmsi04m16okng39orij Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141059.4828 l62qomacmsi04m16okng39orij Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141059.4897 l62qomacmsi04m16okng39orij Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4444';
20250109@141059.4963 l62qomacmsi04m16okng39orij Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4444';
20250109@141059.5027 l62qomacmsi04m16okng39orij Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4444';
20250109@141059.5061 l62qomacmsi04m16okng39orij Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4444';
20250109@141059.5117 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5121 l62qomacmsi04m16okng39orij Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141059.5184 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5187 l62qomacmsi04m16okng39orij Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141059.5237 l62qomacmsi04m16okng39orij Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250109@141059.5260 l62qomacmsi04m16okng39orij Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500235 and bi.ref ='324.1321.00.1' and bi.lordem =1
20250109@141059.5582 l62qomacmsi04m16okng39orij Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250109@141059.5602 l62qomacmsi04m16okng39orij Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500235 and bi.ref ='324.1321.00.1' and bi.lordem =1
20250109@141059.5620 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5624 l62qomacmsi04m16okng39orij Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141059.5655 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5658 l62qomacmsi04m16okng39orij Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141059.5689 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5692 l62qomacmsi04m16okng39orij 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')
20250109@141059.5721 l62qomacmsi04m16okng39orij 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
20250109@141059.5756 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5759 l62qomacmsi04m16okng39orij Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141059.5791 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5794 l62qomacmsi04m16okng39orij Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141059.5824 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5827 l62qomacmsi04m16okng39orij Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141059.5873 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5876 l62qomacmsi04m16okng39orij Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141059.5928 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.5931 l62qomacmsi04m16okng39orij Query : select 1 valor from td where ndoc = 39
20250109@141059.5946 l62qomacmsi04m16okng39orij Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141059.5962 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.5980 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141059.6001 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.6018 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141059.6052 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.6068 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141059.6081 l62qomacmsi04m16okng39orij Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141059.6187 l62qomacmsi04m16okng39orij Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141059.6201 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.6218 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141059.6243 l62qomacmsi04m16okng39orij Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd49942677fd8f394' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141059.6477 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.6499 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141059.6540 l62qomacmsi04m16okng39orij Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141059.6554 l62qomacmsi04m16okng39orij Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141059.6580 l62qomacmsi04m16okng39orij Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141059.6595 l62qomacmsi04m16okng39orij Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141059.6609 l62qomacmsi04m16okng39orij Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141059.6623 l62qomacmsi04m16okng39orij Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141059.6635 l62qomacmsi04m16okng39orij Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd49942677fd8f394',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141059.6910 l62qomacmsi04m16okng39orij Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141059.6947 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.6965 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141059.6991 l62qomacmsi04m16okng39orij Query : select 'normal' from dummy
20250109@141059.7009 l62qomacmsi04m16okng39orij Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd49942677fd8f394',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2884,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141059.7344 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.7347 l62qomacmsi04m16okng39orij Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20250109@141059.7371 l62qomacmsi04m16okng39orij 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.1321.00.1'
20250109@141059.7387 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.7404 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141059.7433 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.7449 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141059.7458 l62qomacmsi04m16okng39orij Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141059.7472 l62qomacmsi04m16okng39orij Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400496200a'
20250109@141059.7486 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.7503 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141059.7516 l62qomacmsi04m16okng39orij Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd41310677fd8f3b6','aut677fd49942677fd8f394' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141059.7520 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.7536 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141059.7565 l62qomacmsi04m16okng39orij Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd41310677fd8f3b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',23.000 ,'aut677fd49942677fd8f394' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141059.7829 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.7832 l62qomacmsi04m16okng39orij Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20250109@141059.7851 l62qomacmsi04m16okng39orij 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.1321.00.1'
20250109@141059.7865 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.7880 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141059.7904 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.7920 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141059.7928 l62qomacmsi04m16okng39orij Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141059.7941 l62qomacmsi04m16okng39orij Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400496200a'
20250109@141059.7954 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.7970 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141059.7982 l62qomacmsi04m16okng39orij Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd13777677fd8f3c2','aut677fd49942677fd8f394' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141059.7987 l62qomacmsi04m16okng39orij Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141059.8002 l62qomacmsi04m16okng39orij Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141059.8038 l62qomacmsi04m16okng39orij Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd13777677fd8f3c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut677fd49942677fd8f394' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141059.8388 l62qomacmsi04m16okng39orij Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd49942677fd8f394','2500235','wait',39,'adm09112754980.682000002')
20250109@141059.8462 l62qomacmsi04m16okng39orij Query : use flama_phc
20250109@141059.8465 l62qomacmsi04m16okng39orij Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141059.8495 l62qomacmsi04m16okng39orij Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4444';
20250109@141059.8551 l62qomacmsi04m16okng39orij Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4444';
20250109@141059.8611 l62qomacmsi04m16okng39orij Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4444';
20250109@141059.8660 l62qomacmsi04m16okng39orij Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4444';
20250109@141100.5970 c9ksj9oodi25skacdkhsb2upr3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141100.6080 c9ksj9oodi25skacdkhsb2upr3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141100.6750 c9ksj9oodi25skacdkhsb2upr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4445';
20250109@141100.7350 c9ksj9oodi25skacdkhsb2upr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4445';
20250109@141100.8010 c9ksj9oodi25skacdkhsb2upr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4445';
20250109@141100.8420 c9ksj9oodi25skacdkhsb2upr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4445';
20250109@141100.9080 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.9120 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141100.9730 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.9760 c9ksj9oodi25skacdkhsb2upr3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141100.1022 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2315.00.1'
20250109@141100.1042 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500236 and bi.ref ='304.2315.00.1' and bi.lordem =1
20250109@141100.1363 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2315.00.1'
20250109@141100.1384 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500236 and bi.ref ='304.2315.00.1' and bi.lordem =1
20250109@141100.1400 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.1403 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141100.1437 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.1440 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141100.1469 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.1472 c9ksj9oodi25skacdkhsb2upr3 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')
20250109@141100.1502 c9ksj9oodi25skacdkhsb2upr3 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
20250109@141100.1536 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.1539 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141100.1569 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.1573 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141100.1609 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.1612 c9ksj9oodi25skacdkhsb2upr3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141100.1948 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.1953 c9ksj9oodi25skacdkhsb2upr3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141100.2444 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.2448 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from td where ndoc = 39
20250109@141100.2460 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141100.2473 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.2488 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141100.2506 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.2523 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141100.2555 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.2571 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141100.2585 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141100.2696 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141100.2712 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.2729 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141100.2748 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd10307677fd8f43f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141100.2940 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.2959 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141100.3001 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141100.3013 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141100.3026 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141100.3037 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141100.3048 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141100.3060 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141100.3071 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd10307677fd8f43f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141100.3340 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141100.3374 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.3390 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141100.3413 c9ksj9oodi25skacdkhsb2upr3 Query : select 'normal' from dummy
20250109@141100.3427 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd10307677fd8f43f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2885,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141100.3762 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.3766 c9ksj9oodi25skacdkhsb2upr3 Query : select st.usalote valor from st where st.ref = '304.2315.00.1'
20250109@141100.3788 c9ksj9oodi25skacdkhsb2upr3 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 = '304.2315.00.1'
20250109@141100.3803 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.3819 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141100.3843 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.3857 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141100.3866 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141100.3878 c9ksj9oodi25skacdkhsb2upr3 Query : select sestamp valor from se where ref ='304.2315.00.1' and lote = 's2300276100a'
20250109@141100.3893 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.3907 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141100.3919 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd72706677fd8f45f','aut677fd10307677fd8f43f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141100.3923 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.3938 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141100.3970 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd72706677fd8f45f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut677fd10307677fd8f43f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141100.4252 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.4269 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141100.4298 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.4315 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141100.4325 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141100.4340 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.4355 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141100.4368 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd76406677fd8f469','aut677fd10307677fd8f43f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141100.4373 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.4388 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141100.4421 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677fd76406677fd8f469',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677fd10307677fd8f43f' ,0,0 ,2,23.00,20000,?,?,?)
20250109@141100.4694 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.4698 c9ksj9oodi25skacdkhsb2upr3 Query : select st.usalote valor from st where st.ref = '304.2315.00.1'
20250109@141100.4719 c9ksj9oodi25skacdkhsb2upr3 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 = '304.2315.00.1'
20250109@141100.4734 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.4751 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141100.4780 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.4796 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141100.4805 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141100.4818 c9ksj9oodi25skacdkhsb2upr3 Query : select sestamp valor from se where ref ='304.2315.00.1' and lote = 's2300276100a'
20250109@141100.4833 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.5527 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141100.5540 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd71708677fd8f476','aut677fd10307677fd8f43f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141100.5545 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.5562 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141100.5594 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd71708677fd8f476',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut677fd10307677fd8f43f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250109@141100.5932 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.5973 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141100.6038 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.6103 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141100.6118 c9ksj9oodi25skacdkhsb2upr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141100.6140 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.6169 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141100.6201 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd09793677fd8f495','aut677fd10307677fd8f43f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141100.6210 c9ksj9oodi25skacdkhsb2upr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.6250 c9ksj9oodi25skacdkhsb2upr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141100.6300 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677fd09793677fd8f495',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677fd10307677fd8f43f' ,0,0 ,2,23.00,50000,?,?,?)
20250109@141100.6711 c9ksj9oodi25skacdkhsb2upr3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd10307677fd8f43f','2500236','wait',39,'adm09112754980.682000002')
20250109@141100.6789 c9ksj9oodi25skacdkhsb2upr3 Query : use flama_phc
20250109@141100.6793 c9ksj9oodi25skacdkhsb2upr3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141100.6828 c9ksj9oodi25skacdkhsb2upr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4445';
20250109@141100.6883 c9ksj9oodi25skacdkhsb2upr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4445';
20250109@141100.6941 c9ksj9oodi25skacdkhsb2upr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4445';
20250109@141100.6987 c9ksj9oodi25skacdkhsb2upr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4445';
20250109@141100.7570 9spl2lhkl3eqlf2qiob2mom5us Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141100.7581 9spl2lhkl3eqlf2qiob2mom5us Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141100.7656 9spl2lhkl3eqlf2qiob2mom5us Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4446';
20250109@141100.7894 9spl2lhkl3eqlf2qiob2mom5us Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4446';
20250109@141100.7963 9spl2lhkl3eqlf2qiob2mom5us Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4446';
20250109@141100.8006 9spl2lhkl3eqlf2qiob2mom5us Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4446';
20250109@141100.8075 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.8078 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141100.8144 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.8147 9spl2lhkl3eqlf2qiob2mom5us Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141100.8198 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141100.8489 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500237 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141100.8912 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141100.8933 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500237 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141100.8949 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141100.8970 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500237 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141100.8986 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.8989 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141100.9024 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.9027 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141100.9056 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.9058 9spl2lhkl3eqlf2qiob2mom5us 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')
20250109@141100.9086 9spl2lhkl3eqlf2qiob2mom5us 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
20250109@141100.9123 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.9125 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141100.9155 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.9158 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141100.9193 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.9196 9spl2lhkl3eqlf2qiob2mom5us Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141100.9235 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.9238 9spl2lhkl3eqlf2qiob2mom5us Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141100.9281 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141100.9284 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from td where ndoc = 39
20250109@141100.9296 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141100.9310 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.9326 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141100.9345 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.9359 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141100.9386 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.9400 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141100.9412 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141100.9520 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141100.9532 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.9547 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141100.9566 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd80669677fd8f4e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141100.9765 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141100.9781 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141100.9815 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141100.9826 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141100.9838 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141100.9849 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141100.9860 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141100.9872 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141100.9884 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd80669677fd8f4e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141101.1760 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141101.2090 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.2250 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141101.2490 9spl2lhkl3eqlf2qiob2mom5us Query : select 'normal' from dummy
20250109@141101.2630 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd80669677fd8f4e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2886,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141101.5820 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141101.5850 9spl2lhkl3eqlf2qiob2mom5us Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141101.6070 9spl2lhkl3eqlf2qiob2mom5us 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.2388.00.1'
20250109@141101.7600 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.7760 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.8010 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.8160 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.8250 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141101.8370 9spl2lhkl3eqlf2qiob2mom5us Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141101.8500 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.8670 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.8790 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd00995677fd8f514','aut677fd80669677fd8f4e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141101.8830 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.8970 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.9250 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd00995677fd8f514',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677fd80669677fd8f4e5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141101.1209 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141101.1213 9spl2lhkl3eqlf2qiob2mom5us Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141101.1232 9spl2lhkl3eqlf2qiob2mom5us 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.2388.00.1'
20250109@141101.1246 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.1262 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.1287 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.1303 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.1312 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141101.1324 9spl2lhkl3eqlf2qiob2mom5us Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141101.1336 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.1350 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.1361 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd25911677fd8f520','aut677fd80669677fd8f4e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141101.1365 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.1379 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.1408 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd25911677fd8f520',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut677fd80669677fd8f4e5' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141101.2063 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141101.2107 9spl2lhkl3eqlf2qiob2mom5us Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141101.2749 9spl2lhkl3eqlf2qiob2mom5us 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.2388.00.1'
20250109@141101.2764 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.2781 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.2805 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.2820 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.2828 9spl2lhkl3eqlf2qiob2mom5us Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141101.2841 9spl2lhkl3eqlf2qiob2mom5us Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141101.2853 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.2870 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.2881 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd68194677fd8f545','aut677fd80669677fd8f4e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141101.2885 9spl2lhkl3eqlf2qiob2mom5us Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.2900 9spl2lhkl3eqlf2qiob2mom5us Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.2929 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd68194677fd8f545',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut677fd80669677fd8f4e5' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250109@141101.3210 9spl2lhkl3eqlf2qiob2mom5us Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd80669677fd8f4e5','2500237','wait',39,'adm09112754980.682000002')
20250109@141101.3307 9spl2lhkl3eqlf2qiob2mom5us Query : use flama_phc
20250109@141101.3313 9spl2lhkl3eqlf2qiob2mom5us Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141101.3342 9spl2lhkl3eqlf2qiob2mom5us Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4446';
20250109@141101.3389 9spl2lhkl3eqlf2qiob2mom5us Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4446';
20250109@141101.3441 9spl2lhkl3eqlf2qiob2mom5us Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4446';
20250109@141101.3475 9spl2lhkl3eqlf2qiob2mom5us Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4446';
20250109@141101.4062 sa79101vm8jbhpe5p4gc1d43ag Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141101.4073 sa79101vm8jbhpe5p4gc1d43ag Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141101.4148 sa79101vm8jbhpe5p4gc1d43ag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4447';
20250109@141101.4217 sa79101vm8jbhpe5p4gc1d43ag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4447';
20250109@141101.4287 sa79101vm8jbhpe5p4gc1d43ag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4447';
20250109@141101.4329 sa79101vm8jbhpe5p4gc1d43ag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4447';
20250109@141101.4406 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.4410 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141101.4477 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.4480 sa79101vm8jbhpe5p4gc1d43ag Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141101.4529 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141101.4560 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500238 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141101.4894 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141101.4917 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500238 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141101.4940 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141101.4959 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500238 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141101.4977 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.4980 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141101.5012 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.5016 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141101.5047 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.5051 sa79101vm8jbhpe5p4gc1d43ag 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')
20250109@141101.5079 sa79101vm8jbhpe5p4gc1d43ag 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
20250109@141101.5165 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.5169 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141101.5198 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.5218 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141101.5256 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.5260 sa79101vm8jbhpe5p4gc1d43ag Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141101.5302 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.5305 sa79101vm8jbhpe5p4gc1d43ag Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141101.5353 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.5359 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from td where ndoc = 39
20250109@141101.5385 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141101.5399 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.5423 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141101.5442 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.5459 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141101.5497 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.5546 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141101.5564 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141101.5671 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141101.5683 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.5703 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141101.5719 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd46350677fd8f587' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141101.5921 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.5947 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141101.5987 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141101.5999 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141101.6012 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141101.6027 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141101.6038 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141101.6052 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141101.6064 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd46350677fd8f587',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141101.6596 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141101.7617 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.8280 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141101.8376 sa79101vm8jbhpe5p4gc1d43ag Query : select 'normal' from dummy
20250109@141101.8435 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd46350677fd8f587',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2887,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141101.8830 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.8833 sa79101vm8jbhpe5p4gc1d43ag Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141101.8916 sa79101vm8jbhpe5p4gc1d43ag 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.2388.00.1'
20250109@141101.8933 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.8951 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.9024 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.9039 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.9055 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141101.9069 sa79101vm8jbhpe5p4gc1d43ag Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141101.9108 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.9144 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.9156 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd93465677fd8f5de','aut677fd46350677fd8f587' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141101.9160 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.9180 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.9209 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd93465677fd8f5de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut677fd46350677fd8f587' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141101.9485 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141101.9489 sa79101vm8jbhpe5p4gc1d43ag Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141101.9539 sa79101vm8jbhpe5p4gc1d43ag 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.2388.00.1'
20250109@141101.9556 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.9572 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.9597 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.9628 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.9636 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141101.9655 sa79101vm8jbhpe5p4gc1d43ag Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141101.9667 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.9683 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141101.9693 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd40373677fd8f5ec','aut677fd46350677fd8f587' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141101.9698 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141101.9716 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141101.9748 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd40373677fd8f5ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut677fd46350677fd8f587' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141102.2200 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141102.2500 sa79101vm8jbhpe5p4gc1d43ag Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141102.5000 sa79101vm8jbhpe5p4gc1d43ag 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.2388.00.1'
20250109@141102.6600 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.8200 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.1160 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.1390 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.1470 sa79101vm8jbhpe5p4gc1d43ag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141102.1600 sa79101vm8jbhpe5p4gc1d43ag Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141102.1730 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.1890 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.2020 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd55645677fd8f604','aut677fd46350677fd8f587' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141102.2070 sa79101vm8jbhpe5p4gc1d43ag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.2240 sa79101vm8jbhpe5p4gc1d43ag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.2540 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd55645677fd8f604',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut677fd46350677fd8f587' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250109@141102.5400 sa79101vm8jbhpe5p4gc1d43ag Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd46350677fd8f587','2500238','wait',39,'adm09112754980.682000002')
20250109@141102.6160 sa79101vm8jbhpe5p4gc1d43ag Query : use flama_phc
20250109@141102.6200 sa79101vm8jbhpe5p4gc1d43ag Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141102.6640 sa79101vm8jbhpe5p4gc1d43ag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4447';
20250109@141102.7190 sa79101vm8jbhpe5p4gc1d43ag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4447';
20250109@141102.7760 sa79101vm8jbhpe5p4gc1d43ag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4447';
20250109@141102.8100 sa79101vm8jbhpe5p4gc1d43ag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4447';
20250109@141102.1451 l25r40vrdi0aim43ru28ehtjvi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141102.1461 l25r40vrdi0aim43ru28ehtjvi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141102.1540 l25r40vrdi0aim43ru28ehtjvi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4448';
20250109@141102.1637 l25r40vrdi0aim43ru28ehtjvi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4448';
20250109@141102.1700 l25r40vrdi0aim43ru28ehtjvi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4448';
20250109@141102.1735 l25r40vrdi0aim43ru28ehtjvi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4448';
20250109@141102.1795 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.1799 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141102.1864 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.1867 l25r40vrdi0aim43ru28ehtjvi Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141102.1922 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141102.2043 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500239 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141102.2445 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141102.2494 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500239 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141102.2512 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141102.2532 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500239 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141102.2564 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141102.2587 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500239 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141102.2605 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20250109@141102.2642 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500239 and bi.ref ='324.2388.00.1' and bi.lordem =1
20250109@141102.2660 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.2663 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141102.2694 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.2711 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141102.2746 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.2749 l25r40vrdi0aim43ru28ehtjvi 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')
20250109@141102.2820 l25r40vrdi0aim43ru28ehtjvi 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
20250109@141102.2878 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.2882 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141102.2918 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.2922 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141102.2967 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.2971 l25r40vrdi0aim43ru28ehtjvi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141102.3025 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.3029 l25r40vrdi0aim43ru28ehtjvi Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141102.3090 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.3093 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from td where ndoc = 39
20250109@141102.3111 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141102.3126 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.3146 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141102.3167 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.3184 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141102.3215 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.3232 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141102.3246 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141102.3364 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141102.3380 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.3398 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141102.3421 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd66223677fd8f64f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141102.3661 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.3683 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141102.3722 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141102.3736 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141102.3750 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141102.3764 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141102.3777 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141102.3789 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141102.3802 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd66223677fd8f64f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141102.4109 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141102.4148 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.4174 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141102.4201 l25r40vrdi0aim43ru28ehtjvi Query : select 'normal' from dummy
20250109@141102.4263 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd66223677fd8f64f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2888,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141102.4645 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.4649 l25r40vrdi0aim43ru28ehtjvi Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141102.4673 l25r40vrdi0aim43ru28ehtjvi 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.2388.00.1'
20250109@141102.4688 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.4705 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.4732 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.4748 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.4756 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141102.4810 l25r40vrdi0aim43ru28ehtjvi Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141102.4825 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.4845 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.4858 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd97988677fd8f675','aut677fd66223677fd8f64f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141102.4863 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.4879 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.4920 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd97988677fd8f675',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut677fd66223677fd8f64f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141102.5300 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.5304 l25r40vrdi0aim43ru28ehtjvi Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141102.5326 l25r40vrdi0aim43ru28ehtjvi 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.2388.00.1'
20250109@141102.5342 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.5361 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.5387 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.5403 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.5412 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141102.5427 l25r40vrdi0aim43ru28ehtjvi Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141102.5441 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.5456 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.5469 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd14816677fd8f684','aut677fd66223677fd8f64f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141102.5486 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.5502 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.5532 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd14816677fd8f684',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677fd66223677fd8f64f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250109@141102.5841 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.5845 l25r40vrdi0aim43ru28ehtjvi Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141102.5871 l25r40vrdi0aim43ru28ehtjvi 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.2388.00.1'
20250109@141102.5886 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.5905 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.5937 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.5954 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.5964 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141102.5977 l25r40vrdi0aim43ru28ehtjvi Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141102.5990 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.6008 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.6020 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd71972677fd8f692','aut677fd66223677fd8f64f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141102.6024 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.6038 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.6069 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd71972677fd8f692',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut677fd66223677fd8f64f' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250109@141102.6379 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.6383 l25r40vrdi0aim43ru28ehtjvi Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141102.6409 l25r40vrdi0aim43ru28ehtjvi 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.2388.00.1'
20250109@141102.6427 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.6451 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.6482 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.6499 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.6508 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141102.6528 l25r40vrdi0aim43ru28ehtjvi Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141102.6542 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.6565 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.6581 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd06782677fd8f69f','aut677fd66223677fd8f64f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141102.6586 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.6605 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.6642 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd06782677fd8f69f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut677fd66223677fd8f64f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250109@141102.6970 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.6974 l25r40vrdi0aim43ru28ehtjvi Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20250109@141102.6996 l25r40vrdi0aim43ru28ehtjvi 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.2388.00.1'
20250109@141102.7014 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.7039 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.7069 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.7086 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.7141 l25r40vrdi0aim43ru28ehtjvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141102.7211 l25r40vrdi0aim43ru28ehtjvi Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20250109@141102.7253 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.7276 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141102.7288 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd34917677fd8f6b1','aut677fd66223677fd8f64f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141102.7293 l25r40vrdi0aim43ru28ehtjvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141102.7317 l25r40vrdi0aim43ru28ehtjvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141102.7382 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd34917677fd8f6b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut677fd66223677fd8f64f' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250109@141102.7749 l25r40vrdi0aim43ru28ehtjvi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677fd66223677fd8f64f','2500239','wait',39,'adm09112754980.682000002')
20250109@141102.8067 l25r40vrdi0aim43ru28ehtjvi Query : use flama_phc
20250109@141102.8071 l25r40vrdi0aim43ru28ehtjvi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250109@141102.8404 l25r40vrdi0aim43ru28ehtjvi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4448';
20250109@141102.8607 l25r40vrdi0aim43ru28ehtjvi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4448';
20250109@141102.8716 l25r40vrdi0aim43ru28ehtjvi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4448';
20250109@141102.8761 l25r40vrdi0aim43ru28ehtjvi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4448';
20250109@141102.9267 famda8n2p0c0bb4cd4tnad8ou7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250109@141102.9280 famda8n2p0c0bb4cd4tnad8ou7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250109@141102.9357 famda8n2p0c0bb4cd4tnad8ou7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4449';
20250109@141102.9423 famda8n2p0c0bb4cd4tnad8ou7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4449';
20250109@141102.9489 famda8n2p0c0bb4cd4tnad8ou7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4449';
20250109@141102.9523 famda8n2p0c0bb4cd4tnad8ou7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4449';
20250109@141102.9582 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141102.9585 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250109@141102.9646 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141102.9649 famda8n2p0c0bb4cd4tnad8ou7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250109@141102.9697 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141102.9868 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.1990 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.2200 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.2380 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.2570 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.2730 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.2940 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.3110 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.3300 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.3460 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.3660 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.3820 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.4010 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.4170 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.4350 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.4510 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.4700 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500240 and bi.ref ='324.682.00.01' and bi.lordem =1
20250109@141103.4860 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.4900 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250109@141103.5200 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.5230 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 1 valor from td where td.ndoc = 39
20250109@141103.5530 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.5550 famda8n2p0c0bb4cd4tnad8ou7 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')
20250109@141103.5850 famda8n2p0c0bb4cd4tnad8ou7 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
20250109@141103.6180 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.6210 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250109@141103.6500 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.6530 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250109@141103.6850 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.6870 famda8n2p0c0bb4cd4tnad8ou7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250109@141103.7260 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.7290 famda8n2p0c0bb4cd4tnad8ou7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250109@141103.7720 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.7750 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from td where ndoc = 39
20250109@141103.7870 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250109@141103.8010 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.8180 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141103.8380 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.8560 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141103.8840 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.8990 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141103.9110 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141103.1033 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250109@141103.1046 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.1063 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250109@141103.1078 famda8n2p0c0bb4cd4tnad8ou7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677fd07425677fd8f716' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250109@141103.1279 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.1298 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250109@141103.1330 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250109@141103.1342 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250109@141103.1353 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250109@141103.1364 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250109@141103.1376 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250109@141103.1387 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250109@141103.1397 famda8n2p0c0bb4cd4tnad8ou7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677fd07425677fd8f716',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250109@141103.1664 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 fno valor from wsftdata order by fno desc
20250109@141103.1696 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.1711 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250109@141103.1734 famda8n2p0c0bb4cd4tnad8ou7 Query : select 'normal' from dummy
20250109@141103.1749 famda8n2p0c0bb4cd4tnad8ou7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677fd07425677fd8f716',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2889,100810,0,'2025-01-09',39,'euro',0,0,2025 ,?,?)
20250109@141103.2087 famda8n2p0c0bb4cd4tnad8ou7 Query : use flama_phc
20250109@141103.2091 famda8n2p0c0bb4cd4tnad8ou7 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20250109@141103.2116 famda8n2p0c0bb4cd4tnad8ou7 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'
20250109@141103.2272 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.2288 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141103.2316 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.2330 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141103.2339 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141103.2350 famda8n2p0c0bb4cd4tnad8ou7 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400958400a'
20250109@141103.2363 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.2388 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141103.3574 famda8n2p0c0bb4cd4tnad8ou7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd46882677fd8f739','aut677fd07425677fd8f716' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141103.3579 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.3597 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141103.3627 famda8n2p0c0bb4cd4tnad8ou7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677fd46882677fd8f739',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut677fd07425677fd8f716' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250109@141103.3929 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.3948 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141103.3976 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.3991 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141103.4000 famda8n2p0c0bb4cd4tnad8ou7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250109@141103.4013 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.4029 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250109@141103.4041 famda8n2p0c0bb4cd4tnad8ou7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677fd37204677fd8f761','aut677fd07425677fd8f716' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250109@141103.4046 famda8n2p0c0bb4cd4tnad8ou7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250109@141103.4060 famda8n2p0c0bb4cd4tnad8ou7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250109@141103.4095 famda8n2p0c0bb4cd4tnad8ou7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677fd37204677fd8f761',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677fd07425677fd8f716' ,0,0 ,2,23.00,20000,?,?,?)
