20241017@182836.9627 ukukqjqjs1l7353l2ck845t4ba INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241017@182836.9626 ukukqjqjs1l7353l2ck845t4ba Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2751';
20241017@182836.9690 ukukqjqjs1l7353l2ck845t4ba Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2751';
20241017@182836.9715 ukukqjqjs1l7353l2ck845t4ba Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2751';
20241017@182836.9775 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182836.9778 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241017@182836.9840 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182836.9843 ukukqjqjs1l7353l2ck845t4ba Query : select no, estab,szadrsdesc from szadrs where u_coddest=6234
20241017@182836.9927 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241017@182837.7300 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406856 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241017@182837.3900 ukukqjqjs1l7353l2ck845t4ba 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'
20241017@182837.4110 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406856 and bi.ref ='324.2335.00.1' and bi.lordem =2
20241017@182837.7040 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241017@182837.8220 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406856 and bi.ref ='324.2340.00.1' and bi.lordem =3
20241017@182837.1110 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241017@182837.1130 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406856 and bi.ref ='324.2340.00.1' and bi.lordem =3
20241017@182837.1146 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.1149 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241017@182837.1183 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.1186 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 1 valor from td where td.ndoc = 39
20241017@182837.1230 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.1233 ukukqjqjs1l7353l2ck845t4ba 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')
20241017@182837.1261 ukukqjqjs1l7353l2ck845t4ba 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
20241017@182837.1297 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.1300 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 ~inactivo valor from cl where no = '102382' and estab = 0 order by inactivo desc
20241017@182837.1399 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.1402 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241017@182837.1446 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.1449 ukukqjqjs1l7353l2ck845t4ba Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241017@182837.1489 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.1493 ukukqjqjs1l7353l2ck845t4ba Query : select szadrsstamp valor from szadrs where szadrsdesc='ig-electrodomÉsticos, lda-loja euronics'
20241017@182837.1549 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.1551 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from td where ndoc = 39
20241017@182837.1563 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241017@182837.1577 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.1592 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182837.1610 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.1624 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182837.1652 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.1676 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182837.1689 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182837.1755 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182837.1767 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.1781 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182837.1796 ukukqjqjs1l7353l2ck845t4ba Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67114834776711494529' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241017@182837.1955 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.1970 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182837.2002 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241017@182837.2024 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241017@182837.2036 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241017@182837.2048 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241017@182837.2061 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241017@182837.2072 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241017@182837.2083 ukukqjqjs1l7353l2ck845t4ba Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67114834776711494529',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241017@182837.2309 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 fno valor from wsftdata order by fno desc
20241017@182837.2333 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.2349 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182837.2371 ukukqjqjs1l7353l2ck845t4ba Query : select 'normal' from dummy
20241017@182837.2386 ukukqjqjs1l7353l2ck845t4ba Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67114834776711494529',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1348,102382,0,'2024-10-17',39,'euro',0,0,2024 ,?,?)
20241017@182837.2664 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.2668 ukukqjqjs1l7353l2ck845t4ba Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241017@182837.2701 ukukqjqjs1l7353l2ck845t4ba 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.2330.00.1'
20241017@182837.2818 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.2849 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182837.2889 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.2905 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182837.2914 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182837.2941 ukukqjqjs1l7353l2ck845t4ba Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r210058480'
20241017@182837.2952 ukukqjqjs1l7353l2ck845t4ba Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.2968 ukukqjqjs1l7353l2ck845t4ba Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182837.2980 ukukqjqjs1l7353l2ck845t4ba Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67114898286711494548','aut67114834776711494529' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182837.2997 ukukqjqjs1l7353l2ck845t4ba Query : use flama_phc
20241017@182837.3000 ukukqjqjs1l7353l2ck845t4ba Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241017@182837.3088 ukukqjqjs1l7353l2ck845t4ba Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2751';
20241017@182837.3123 ukukqjqjs1l7353l2ck845t4ba Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2751';
20241017@182837.4328 tsfhr437f3tqq6v4h0uht5unpj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241017@182837.4340 tsfhr437f3tqq6v4h0uht5unpj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241017@182837.4396 tsfhr437f3tqq6v4h0uht5unpj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2752';
20241017@182837.4454 tsfhr437f3tqq6v4h0uht5unpj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2752';
20241017@182837.4510 tsfhr437f3tqq6v4h0uht5unpj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2752';
20241017@182837.4540 tsfhr437f3tqq6v4h0uht5unpj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2752';
20241017@182837.4620 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.4624 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241017@182837.4686 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.4690 tsfhr437f3tqq6v4h0uht5unpj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241017@182837.4783 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20241017@182837.4898 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406857 and bi.ref ='324.1406.00.1' and bi.lordem =1
20241017@182837.5238 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20241017@182837.5259 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406857 and bi.ref ='324.1406.00.1' and bi.lordem =1
20241017@182837.5276 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20241017@182837.5296 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406857 and bi.ref ='324.1406.00.1' and bi.lordem =1
20241017@182837.5318 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.5322 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241017@182837.5362 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.5366 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 1 valor from td where td.ndoc = 39
20241017@182837.5398 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.5401 tsfhr437f3tqq6v4h0uht5unpj 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')
20241017@182837.5430 tsfhr437f3tqq6v4h0uht5unpj 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
20241017@182837.5468 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.5471 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241017@182837.5570 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.5573 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241017@182837.5635 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.5639 tsfhr437f3tqq6v4h0uht5unpj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241017@182837.5678 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.5682 tsfhr437f3tqq6v4h0uht5unpj Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241017@182837.5734 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.5739 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from td where ndoc = 39
20241017@182837.5752 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241017@182837.5768 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.5785 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182837.5805 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.5848 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182837.5879 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.5894 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182837.5907 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182837.5985 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182837.5999 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.6022 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182837.6039 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67114484136711494590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241017@182837.6254 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.6271 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182837.6437 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241017@182837.6450 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241017@182837.6462 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241017@182837.6475 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241017@182837.6487 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241017@182837.6499 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241017@182837.6511 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67114484136711494590',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241017@182837.6792 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 fno valor from wsftdata order by fno desc
20241017@182837.6815 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.6832 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182837.6857 tsfhr437f3tqq6v4h0uht5unpj Query : select 'normal' from dummy
20241017@182837.6875 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67114484136711494590',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1348,100810,0,'2024-10-17',39,'euro',0,0,2024 ,?,?)
20241017@182837.7173 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.7177 tsfhr437f3tqq6v4h0uht5unpj Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20241017@182837.7202 tsfhr437f3tqq6v4h0uht5unpj 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.1406.00.1'
20241017@182837.7321 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.7339 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182837.7373 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.7389 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182837.7400 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182837.7414 tsfhr437f3tqq6v4h0uht5unpj Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = 'r2400744200a'
20241017@182837.7494 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.7513 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182837.7528 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671145262767114945b6','aut67114484136711494590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182837.7533 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.7551 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182837.7622 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671145262767114945b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',288.000 ,'aut67114484136711494590' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241017@182837.7893 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182837.7897 tsfhr437f3tqq6v4h0uht5unpj Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20241017@182837.7918 tsfhr437f3tqq6v4h0uht5unpj 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.1406.00.1'
20241017@182837.7932 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.7947 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182837.8022 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.8038 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182837.8070 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182837.8082 tsfhr437f3tqq6v4h0uht5unpj Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = 'r2400744200a'
20241017@182837.8094 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182837.8108 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182837.8120 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671147284167114945c5','aut67114484136711494590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182837.8125 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.2290 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182838.2580 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671147284167114945c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',186.000 ,'aut67114484136711494590' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241017@182838.4840 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182838.4870 tsfhr437f3tqq6v4h0uht5unpj Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20241017@182838.5070 tsfhr437f3tqq6v4h0uht5unpj 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.1406.00.1'
20241017@182838.5200 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.5360 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182838.5630 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.5780 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182838.5860 tsfhr437f3tqq6v4h0uht5unpj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182838.5980 tsfhr437f3tqq6v4h0uht5unpj Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = 'r2400744200a'
20241017@182838.6110 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.6260 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182838.6390 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6711441939671149460e','aut67114484136711494590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182838.6430 tsfhr437f3tqq6v4h0uht5unpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.6590 tsfhr437f3tqq6v4h0uht5unpj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182838.6880 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6711441939671149460e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut67114484136711494590' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241017@182838.9020 tsfhr437f3tqq6v4h0uht5unpj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67114484136711494590','2406857','wait',39,'adm09112754980.682000002')
20241017@182838.1005 tsfhr437f3tqq6v4h0uht5unpj Query : use flama_phc
20241017@182838.1008 tsfhr437f3tqq6v4h0uht5unpj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241017@182838.1038 tsfhr437f3tqq6v4h0uht5unpj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2752';
20241017@182838.1070 tsfhr437f3tqq6v4h0uht5unpj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2752';
20241017@182838.1120 tsfhr437f3tqq6v4h0uht5unpj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2752';
20241017@182838.1148 tsfhr437f3tqq6v4h0uht5unpj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2752';
20241017@182838.2522 mhbcp6v46r8hgib3ec29nlr0rj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241017@182838.2535 mhbcp6v46r8hgib3ec29nlr0rj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241017@182838.2617 mhbcp6v46r8hgib3ec29nlr0rj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2753';
20241017@182838.2686 mhbcp6v46r8hgib3ec29nlr0rj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2753';
20241017@182838.2751 mhbcp6v46r8hgib3ec29nlr0rj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2753';
20241017@182838.2792 mhbcp6v46r8hgib3ec29nlr0rj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2753';
20241017@182838.2850 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.2854 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241017@182838.2924 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.2927 mhbcp6v46r8hgib3ec29nlr0rj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241017@182838.2985 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20241017@182838.3019 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406858 and bi.ref ='324.1406.00.1' and bi.lordem =1
20241017@182838.3376 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.3380 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241017@182838.3418 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.3422 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 1 valor from td where td.ndoc = 39
20241017@182838.3454 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.3457 mhbcp6v46r8hgib3ec29nlr0rj 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')
20241017@182838.3508 mhbcp6v46r8hgib3ec29nlr0rj 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
20241017@182838.3546 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.3549 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241017@182838.3580 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.3583 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241017@182838.3617 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.3621 mhbcp6v46r8hgib3ec29nlr0rj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241017@182838.3665 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.3681 mhbcp6v46r8hgib3ec29nlr0rj Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241017@182838.3729 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.3733 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from td where ndoc = 39
20241017@182838.3747 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241017@182838.3762 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.3783 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182838.3815 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.3833 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182838.3884 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.3901 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182838.3916 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182838.4000 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182838.4015 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.4039 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182838.4060 mhbcp6v46r8hgib3ec29nlr0rj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6711412867671149465f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241017@182838.4297 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.4314 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182838.4359 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241017@182838.4372 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241017@182838.4385 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241017@182838.4425 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241017@182838.5704 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241017@182838.5718 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241017@182838.5730 mhbcp6v46r8hgib3ec29nlr0rj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6711412867671149465f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241017@182838.5965 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 fno valor from wsftdata order by fno desc
20241017@182838.5988 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.6004 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182838.6036 mhbcp6v46r8hgib3ec29nlr0rj Query : select 'normal' from dummy
20241017@182838.6051 mhbcp6v46r8hgib3ec29nlr0rj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6711412867671149465f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1349,100810,0,'2024-10-17',39,'euro',0,0,2024 ,?,?)
20241017@182838.6350 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.6353 mhbcp6v46r8hgib3ec29nlr0rj Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20241017@182838.6373 mhbcp6v46r8hgib3ec29nlr0rj 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.1406.00.1'
20241017@182838.6388 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.6405 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182838.6563 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.6650 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182838.6659 mhbcp6v46r8hgib3ec29nlr0rj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182838.6691 mhbcp6v46r8hgib3ec29nlr0rj Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = 'r2400744200a'
20241017@182838.6704 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.6738 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182838.6750 mhbcp6v46r8hgib3ec29nlr0rj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671146148667114946a3','aut6711412867671149465f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182838.6754 mhbcp6v46r8hgib3ec29nlr0rj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.6769 mhbcp6v46r8hgib3ec29nlr0rj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182838.6800 mhbcp6v46r8hgib3ec29nlr0rj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671146148667114946a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut6711412867671149465f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241017@182838.7015 mhbcp6v46r8hgib3ec29nlr0rj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6711412867671149465f','2406858','wait',39,'adm09112754980.682000002')
20241017@182838.7082 mhbcp6v46r8hgib3ec29nlr0rj Query : use flama_phc
20241017@182838.7085 mhbcp6v46r8hgib3ec29nlr0rj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241017@182838.7114 mhbcp6v46r8hgib3ec29nlr0rj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2753';
20241017@182838.7146 mhbcp6v46r8hgib3ec29nlr0rj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2753';
20241017@182838.7188 mhbcp6v46r8hgib3ec29nlr0rj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2753';
20241017@182838.7222 mhbcp6v46r8hgib3ec29nlr0rj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2753';
20241017@182838.7774 nm0t6tef0p53oe3fpg5f5iukni Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241017@182838.7785 nm0t6tef0p53oe3fpg5f5iukni Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241017@182838.7839 nm0t6tef0p53oe3fpg5f5iukni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2754';
20241017@182838.7893 nm0t6tef0p53oe3fpg5f5iukni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2754';
20241017@182838.7945 nm0t6tef0p53oe3fpg5f5iukni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2754';
20241017@182838.7971 nm0t6tef0p53oe3fpg5f5iukni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2754';
20241017@182838.8019 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8023 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241017@182838.8083 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8086 nm0t6tef0p53oe3fpg5f5iukni Query : select no, estab,szadrsdesc from szadrs where u_coddest=4325
20241017@182838.8160 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20241017@182838.8269 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406860 and bi.ref ='324.1684.00.1' and bi.lordem =1
20241017@182838.8588 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8591 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241017@182838.8623 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8626 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 1 valor from td where td.ndoc = 39
20241017@182838.8655 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8658 nm0t6tef0p53oe3fpg5f5iukni 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')
20241017@182838.8685 nm0t6tef0p53oe3fpg5f5iukni 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
20241017@182838.8719 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8722 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 ~inactivo valor from cl where no = '101754' and estab = 0 order by inactivo desc
20241017@182838.8814 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8817 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241017@182838.8849 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8852 nm0t6tef0p53oe3fpg5f5iukni Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241017@182838.8914 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8917 nm0t6tef0p53oe3fpg5f5iukni Query : select szadrsstamp valor from szadrs where szadrsdesc='conforama olhÃo externo'
20241017@182838.8963 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182838.8966 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from td where ndoc = 39
20241017@182838.8978 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241017@182838.8992 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.9014 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182838.9034 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.9050 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182838.9081 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.9096 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182838.9110 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182838.9172 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182838.9185 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.9201 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182838.9218 nm0t6tef0p53oe3fpg5f5iukni Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut671145356467114946de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241017@182838.9390 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.9406 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182838.9440 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241017@182838.9453 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241017@182838.9464 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241017@182838.9477 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241017@182838.9496 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241017@182838.9508 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241017@182838.9521 nm0t6tef0p53oe3fpg5f5iukni Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut671145356467114946de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241017@182838.9737 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 fno valor from wsftdata order by fno desc
20241017@182838.9761 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182838.9802 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182838.9827 nm0t6tef0p53oe3fpg5f5iukni Query : select 'normal' from dummy
20241017@182838.9843 nm0t6tef0p53oe3fpg5f5iukni Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut671145356467114946de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1350,101754,0,'2024-10-17',39,'euro',0,0,2024 ,?,?)
20241017@182839.9800 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182839.1020 nm0t6tef0p53oe3fpg5f5iukni Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241017@182839.1240 nm0t6tef0p53oe3fpg5f5iukni 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.1684.00.1'
20241017@182839.2480 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.2650 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.2920 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.3070 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.3160 nm0t6tef0p53oe3fpg5f5iukni Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182839.3290 nm0t6tef0p53oe3fpg5f5iukni Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241017@182839.3430 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.3570 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.3690 nm0t6tef0p53oe3fpg5f5iukni Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67114549266711494708','aut671145356467114946de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182839.3730 nm0t6tef0p53oe3fpg5f5iukni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.3870 nm0t6tef0p53oe3fpg5f5iukni Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.4280 nm0t6tef0p53oe3fpg5f5iukni Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67114549266711494708',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut671145356467114946de' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241017@182839.6720 nm0t6tef0p53oe3fpg5f5iukni Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut671145356467114946de','2406860','wait',39,'adm09112754980.682000002')
20241017@182839.7480 nm0t6tef0p53oe3fpg5f5iukni Query : use flama_phc
20241017@182839.7510 nm0t6tef0p53oe3fpg5f5iukni Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241017@182839.7890 nm0t6tef0p53oe3fpg5f5iukni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2754';
20241017@182839.8470 nm0t6tef0p53oe3fpg5f5iukni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2754';
20241017@182839.8910 nm0t6tef0p53oe3fpg5f5iukni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2754';
20241017@182839.9400 nm0t6tef0p53oe3fpg5f5iukni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2754';
20241017@182839.1670 i625tkck7v3djk3at644qm2vhu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241017@182839.1712 i625tkck7v3djk3at644qm2vhu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241017@182839.1779 i625tkck7v3djk3at644qm2vhu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2755';
20241017@182839.1833 i625tkck7v3djk3at644qm2vhu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2755';
20241017@182839.1885 i625tkck7v3djk3at644qm2vhu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2755';
20241017@182839.1917 i625tkck7v3djk3at644qm2vhu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2755';
20241017@182839.1971 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.1974 i625tkck7v3djk3at644qm2vhu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241017@182839.2053 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.2056 i625tkck7v3djk3at644qm2vhu Query : select no, estab,szadrsdesc from szadrs where u_coddest=2117
20241017@182839.2147 i625tkck7v3djk3at644qm2vhu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241017@182839.2270 i625tkck7v3djk3at644qm2vhu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406862 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241017@182839.2585 i625tkck7v3djk3at644qm2vhu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241017@182839.2606 i625tkck7v3djk3at644qm2vhu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406862 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241017@182839.2900 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.2904 i625tkck7v3djk3at644qm2vhu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241017@182839.2964 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.2967 i625tkck7v3djk3at644qm2vhu Query : select top 1 1 valor from td where td.ndoc = 39
20241017@182839.2998 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.3002 i625tkck7v3djk3at644qm2vhu 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')
20241017@182839.3055 i625tkck7v3djk3at644qm2vhu 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
20241017@182839.3090 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.3093 i625tkck7v3djk3at644qm2vhu Query : select top 1 ~inactivo valor from cl where no = '102420' and estab = 0 order by inactivo desc
20241017@182839.3199 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.3202 i625tkck7v3djk3at644qm2vhu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241017@182839.3233 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.3236 i625tkck7v3djk3at644qm2vhu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241017@182839.3300 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.3303 i625tkck7v3djk3at644qm2vhu Query : select szadrsstamp valor from szadrs where szadrsdesc='ri - eletrodomesticos lda'
20241017@182839.3349 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.3351 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from td where ndoc = 39
20241017@182839.3364 i625tkck7v3djk3at644qm2vhu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241017@182839.3385 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.3402 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182839.3425 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.3440 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182839.3472 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.3514 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182839.3528 i625tkck7v3djk3at644qm2vhu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182839.3594 i625tkck7v3djk3at644qm2vhu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241017@182839.3609 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.3630 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241017@182839.3652 i625tkck7v3djk3at644qm2vhu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67114490656711494756' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241017@182839.3838 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.3865 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241017@182839.3904 i625tkck7v3djk3at644qm2vhu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241017@182839.3917 i625tkck7v3djk3at644qm2vhu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241017@182839.3935 i625tkck7v3djk3at644qm2vhu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241017@182839.3954 i625tkck7v3djk3at644qm2vhu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241017@182839.3967 i625tkck7v3djk3at644qm2vhu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241017@182839.3979 i625tkck7v3djk3at644qm2vhu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241017@182839.3991 i625tkck7v3djk3at644qm2vhu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67114490656711494756',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241017@182839.4226 i625tkck7v3djk3at644qm2vhu Query : select top 1 fno valor from wsftdata order by fno desc
20241017@182839.4250 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.4267 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241017@182839.4296 i625tkck7v3djk3at644qm2vhu Query : select 'normal' from dummy
20241017@182839.4314 i625tkck7v3djk3at644qm2vhu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67114490656711494756',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1351,102420,0,'2024-10-17',39,'euro',0,0,2024 ,?,?)
20241017@182839.4633 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.4636 i625tkck7v3djk3at644qm2vhu Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241017@182839.4666 i625tkck7v3djk3at644qm2vhu 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.1824.00.1'
20241017@182839.4819 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.4838 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.4870 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.4890 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.4901 i625tkck7v3djk3at644qm2vhu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182839.4915 i625tkck7v3djk3at644qm2vhu Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400215200a'
20241017@182839.4936 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.4955 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.4969 i625tkck7v3djk3at644qm2vhu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67114853876711494778','aut67114490656711494756' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182839.4974 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.4992 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.5047 i625tkck7v3djk3at644qm2vhu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67114853876711494778',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut67114490656711494756' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241017@182839.5336 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.5357 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.5389 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.5404 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.5415 i625tkck7v3djk3at644qm2vhu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182839.5428 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.5443 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.5478 i625tkck7v3djk3at644qm2vhu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67114552926711494784','aut67114490656711494756' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182839.5483 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.5500 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.5532 i625tkck7v3djk3at644qm2vhu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67114552926711494784',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67114490656711494756' ,0,0 ,2,23.00,20000,?,?,?)
20241017@182839.5804 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.5808 i625tkck7v3djk3at644qm2vhu Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241017@182839.5834 i625tkck7v3djk3at644qm2vhu 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.1824.00.1'
20241017@182839.5856 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.5877 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.5915 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.5931 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.5942 i625tkck7v3djk3at644qm2vhu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182839.5981 i625tkck7v3djk3at644qm2vhu Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400215200a'
20241017@182839.5997 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.6018 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.6074 i625tkck7v3djk3at644qm2vhu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67114609436711494792','aut67114490656711494756' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182839.6081 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.6103 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.6165 i625tkck7v3djk3at644qm2vhu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67114609436711494792',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67114490656711494756' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241017@182839.6417 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.6434 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.6461 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.6475 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.6486 i625tkck7v3djk3at644qm2vhu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241017@182839.6499 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.6513 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241017@182839.6525 i625tkck7v3djk3at644qm2vhu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6711496614671149479e','aut67114490656711494756' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241017@182839.6529 i625tkck7v3djk3at644qm2vhu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241017@182839.6543 i625tkck7v3djk3at644qm2vhu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241017@182839.6590 i625tkck7v3djk3at644qm2vhu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6711496614671149479e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67114490656711494756' ,0,0 ,2,23.00,50000,?,?,?)
20241017@182839.6955 i625tkck7v3djk3at644qm2vhu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67114490656711494756','2406862','wait',39,'adm09112754980.682000002')
20241017@182839.7026 i625tkck7v3djk3at644qm2vhu Query : use flama_phc
20241017@182839.7029 i625tkck7v3djk3at644qm2vhu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241017@182839.7059 i625tkck7v3djk3at644qm2vhu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2755';
20241017@182839.7094 i625tkck7v3djk3at644qm2vhu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2755';
20241017@182839.7136 i625tkck7v3djk3at644qm2vhu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2755';
20241017@182839.7163 i625tkck7v3djk3at644qm2vhu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2755';

20241018@080317.3026 2oiee6s6t0p05678vjtvgmkutu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2756';
20241018@080317.3080 2oiee6s6t0p05678vjtvgmkutu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2756';
20241018@080317.3107 2oiee6s6t0p05678vjtvgmkutu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2756';
20241018@080317.3161 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.3164 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@080317.3265 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.3268 2oiee6s6t0p05678vjtvgmkutu Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241018@080317.3388 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20241018@080317.3500 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20241018@080317.3519 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20241018@080317.3537 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20241018@080317.3556 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.3559 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@080317.3755 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.3758 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 1 valor from td where td.ndoc = 39
20241018@080317.3887 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.3891 2oiee6s6t0p05678vjtvgmkutu 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')
20241018@080317.3966 2oiee6s6t0p05678vjtvgmkutu 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
20241018@080317.4106 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.4110 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241018@080317.4232 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.4235 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@080317.4300 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.4303 2oiee6s6t0p05678vjtvgmkutu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@080317.4345 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.4348 2oiee6s6t0p05678vjtvgmkutu Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241018@080317.4393 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080317.4396 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from td where ndoc = 39
20241018@080317.4447 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@080317.4558 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080317.5077 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@080317.5156 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080317.5171 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@080317.5200 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080317.5215 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@080317.5229 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@080317.5626 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@080317.5880 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080317.5916 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@080317.5967 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712052988671208357f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@080317.6368 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080317.6395 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@080317.6658 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@080317.6857 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@080317.6997 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@080317.7085 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@080317.7342 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@080317.7537 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@080317.7819 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712052988671208357f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@080317.9800 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 fno valor from wsftdata order by fno desc
20241018@080318.2680 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.5610 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@080318.1117 2oiee6s6t0p05678vjtvgmkutu Query : select 'normal' from dummy
20241018@080318.1566 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712052988671208357f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1352,102943,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@080318.2818 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080318.2848 2oiee6s6t0p05678vjtvgmkutu Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241018@080318.3178 2oiee6s6t0p05678vjtvgmkutu 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.1317.00.1'
20241018@080318.3702 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.3926 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080318.4770 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.5102 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080318.5177 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@080318.5249 2oiee6s6t0p05678vjtvgmkutu Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20241018@080318.5294 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.5323 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080318.5344 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67120618596712083681','aut6712052988671208357f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@080318.5668 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.5714 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080318.5761 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67120618596712083681',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712052988671208357f' ,0,0 ,2,23.00,10000,?,?,?,?)
20241018@080318.7169 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080318.7199 2oiee6s6t0p05678vjtvgmkutu Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241018@080318.7280 2oiee6s6t0p05678vjtvgmkutu 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.1317.00.1'
20241018@080318.7319 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.7472 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080318.7562 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.7585 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080318.7596 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@080318.7625 2oiee6s6t0p05678vjtvgmkutu Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20241018@080318.7642 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.7659 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080318.7673 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671200286867120836ba','aut6712052988671208357f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@080318.7694 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.7711 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080318.7847 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut671200286867120836ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',33.000 ,'aut6712052988671208357f' ,0,0 ,2,23.00,20000,?,?,?,?)
20241018@080318.8103 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080318.8107 2oiee6s6t0p05678vjtvgmkutu Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241018@080318.8222 2oiee6s6t0p05678vjtvgmkutu 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.1317.00.1'
20241018@080318.8256 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.8286 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080318.8316 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.8346 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080318.8362 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@080318.8385 2oiee6s6t0p05678vjtvgmkutu Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20241018@080318.8404 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.8425 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080318.8438 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671209878267120836cd','aut6712052988671208357f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@080318.8442 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.8460 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080318.8492 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut671209878267120836cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',33.000 ,'aut6712052988671208357f' ,0,0 ,2,23.00,30000,?,?,?,?)
20241018@080318.8710 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080318.8730 2oiee6s6t0p05678vjtvgmkutu Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241018@080318.8797 2oiee6s6t0p05678vjtvgmkutu 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.1317.00.1'
20241018@080318.8811 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.8830 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080318.8861 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.8877 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080318.8889 2oiee6s6t0p05678vjtvgmkutu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@080318.8911 2oiee6s6t0p05678vjtvgmkutu Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20241018@080318.8934 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.8976 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080318.9060 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671203838867120836da','aut6712052988671208357f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@080318.9070 2oiee6s6t0p05678vjtvgmkutu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080318.9087 2oiee6s6t0p05678vjtvgmkutu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080318.9185 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut671203838867120836da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',33.000 ,'aut6712052988671208357f' ,0,0 ,2,23.00,40000,?,?,?,?)
20241018@080318.9523 2oiee6s6t0p05678vjtvgmkutu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712052988671208357f','2406861','wait',39,'adm09112754980.682000002')
20241018@080318.9661 2oiee6s6t0p05678vjtvgmkutu Query : use flama_phc
20241018@080318.9671 2oiee6s6t0p05678vjtvgmkutu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@080318.9704 2oiee6s6t0p05678vjtvgmkutu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2756';
20241018@080318.9738 2oiee6s6t0p05678vjtvgmkutu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2756';
20241018@080318.9788 2oiee6s6t0p05678vjtvgmkutu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2756';
20241018@080318.9817 2oiee6s6t0p05678vjtvgmkutu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2756';
20241018@080319.2672 ohledi7fku75d4nlkgrks5ktss Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@080319.2689 ohledi7fku75d4nlkgrks5ktss Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@080319.2960 ohledi7fku75d4nlkgrks5ktss Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2757';
20241018@080319.3169 ohledi7fku75d4nlkgrks5ktss Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2757';
20241018@080319.3538 ohledi7fku75d4nlkgrks5ktss Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2757';
20241018@080319.3927 ohledi7fku75d4nlkgrks5ktss Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2757';
20241018@080319.4219 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.4260 ohledi7fku75d4nlkgrks5ktss Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@080319.4808 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.4812 ohledi7fku75d4nlkgrks5ktss Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241018@080319.4901 ohledi7fku75d4nlkgrks5ktss Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20241018@080319.5119 ohledi7fku75d4nlkgrks5ktss Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20241018@080319.5368 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.5409 ohledi7fku75d4nlkgrks5ktss Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@080319.5687 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.5741 ohledi7fku75d4nlkgrks5ktss Query : select top 1 1 valor from td where td.ndoc = 39
20241018@080319.6213 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.6225 ohledi7fku75d4nlkgrks5ktss 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')
20241018@080319.6280 ohledi7fku75d4nlkgrks5ktss 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
20241018@080319.6666 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.6757 ohledi7fku75d4nlkgrks5ktss Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241018@080319.7113 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.7157 ohledi7fku75d4nlkgrks5ktss Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@080319.7532 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.7578 ohledi7fku75d4nlkgrks5ktss Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@080319.7972 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.8008 ohledi7fku75d4nlkgrks5ktss Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241018@080319.8403 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080319.8446 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from td where ndoc = 39
20241018@080319.9288 ohledi7fku75d4nlkgrks5ktss Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@080319.9993 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.7400 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@080320.5170 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.7970 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@080320.1160 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.1293 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@080320.1563 ohledi7fku75d4nlkgrks5ktss Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@080320.1842 ohledi7fku75d4nlkgrks5ktss Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@080320.1925 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.2140 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@080320.2263 ohledi7fku75d4nlkgrks5ktss Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67120128216712083826' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@080320.2607 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.2864 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@080320.3224 ohledi7fku75d4nlkgrks5ktss Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@080320.3341 ohledi7fku75d4nlkgrks5ktss Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@080320.3530 ohledi7fku75d4nlkgrks5ktss Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@080320.3737 ohledi7fku75d4nlkgrks5ktss Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@080320.3829 ohledi7fku75d4nlkgrks5ktss Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@080320.3882 ohledi7fku75d4nlkgrks5ktss Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@080320.4101 ohledi7fku75d4nlkgrks5ktss Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67120128216712083826',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@080320.4533 ohledi7fku75d4nlkgrks5ktss Query : select top 1 fno valor from wsftdata order by fno desc
20241018@080320.4806 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.4894 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@080320.5247 ohledi7fku75d4nlkgrks5ktss Query : select 'normal' from dummy
20241018@080320.5426 ohledi7fku75d4nlkgrks5ktss Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67120128216712083826',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1353,102943,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@080320.5942 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080320.5987 ohledi7fku75d4nlkgrks5ktss Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241018@080320.6240 ohledi7fku75d4nlkgrks5ktss 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.1317.00.1'
20241018@080320.6491 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.6667 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080320.6805 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.7024 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080320.7048 ohledi7fku75d4nlkgrks5ktss Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@080320.7258 ohledi7fku75d4nlkgrks5ktss Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20241018@080320.7418 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.7570 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080320.7592 ohledi7fku75d4nlkgrks5ktss Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671203723967120838b5','aut67120128216712083826' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@080320.7597 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.7912 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080320.8320 ohledi7fku75d4nlkgrks5ktss Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut671203723967120838b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',33.000 ,'aut67120128216712083826' ,0,0 ,2,23.00,10000,?,?,?,?)
20241018@080320.8762 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080320.8805 ohledi7fku75d4nlkgrks5ktss Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20241018@080320.8956 ohledi7fku75d4nlkgrks5ktss 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.1317.00.1'
20241018@080320.9204 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.9441 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080320.9820 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080320.9993 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080321.6000 ohledi7fku75d4nlkgrks5ktss Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@080321.4500 ohledi7fku75d4nlkgrks5ktss Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20241018@080321.1780 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080321.4280 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@080321.5450 ohledi7fku75d4nlkgrks5ktss Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67120203106712083904','aut67120128216712083826' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@080321.5500 ohledi7fku75d4nlkgrks5ktss Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@080321.7650 ohledi7fku75d4nlkgrks5ktss Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@080321.1038 ohledi7fku75d4nlkgrks5ktss Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67120203106712083904',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',33.000 ,'aut67120128216712083826' ,0,0 ,2,23.00,20000,?,?,?,?)
20241018@080321.1534 ohledi7fku75d4nlkgrks5ktss Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67120128216712083826','24011239','wait',39,'adm09112754980.682000002')
20241018@080321.2099 ohledi7fku75d4nlkgrks5ktss Query : use flama_phc
20241018@080321.2102 ohledi7fku75d4nlkgrks5ktss Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@080321.2352 ohledi7fku75d4nlkgrks5ktss Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2757';
20241018@080321.2659 ohledi7fku75d4nlkgrks5ktss Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2757';
20241018@080321.2922 ohledi7fku75d4nlkgrks5ktss Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2757';
20241018@080321.3035 ohledi7fku75d4nlkgrks5ktss Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2757';

20241018@163621.7567 hqm1hekjbarocqnlt518metg6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2758';
20241018@163621.7638 hqm1hekjbarocqnlt518metg6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2758';
20241018@163621.7671 hqm1hekjbarocqnlt518metg6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2758';
20241018@163621.9224 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@163621.9237 32k6uc5quh5pi0bu8jqbvsasl0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@163621.9299 32k6uc5quh5pi0bu8jqbvsasl0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2759';
20241018@163621.9353 32k6uc5quh5pi0bu8jqbvsasl0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2759';
20241018@163621.9407 32k6uc5quh5pi0bu8jqbvsasl0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2759';
20241018@163621.9438 32k6uc5quh5pi0bu8jqbvsasl0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2759';
20241018@163621.9478 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163621.9482 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@163621.9587 32k6uc5quh5pi0bu8jqbvsasl0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=23
20241018@163621.9677 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2028.00.2'
20241018@163621.9780 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='324.2028.00.2' and bi.lordem =10000
20241018@163622.1130 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843510,498000001 ' 
20241018@163622.3990 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '322.227.20.01'
20241018@163622.4900 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='322.227.20.01' and bi.lordem =20000
20241018@163622.8750 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843553,060000002 ' 
20241018@163622.1153 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '322.227.24.01'
20241018@163622.1261 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='322.227.24.01' and bi.lordem =30000
20241018@163622.1565 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843580,900000003 ' 
20241018@163622.1845 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '322.227.28.01'
20241018@163622.1933 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='322.227.28.01' and bi.lordem =40000
20241018@163622.2227 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843597,987000004 ' 
20241018@163622.2526 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '322.227.28.02'
20241018@163622.2622 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='322.227.28.02' and bi.lordem =50000
20241018@163622.2921 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843614,604000005 ' 
20241018@163622.3280 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '322.227.26.01'
20241018@163622.3369 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='322.227.26.01' and bi.lordem =60000
20241018@163622.3665 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843639,032000006 ' 
20241018@163622.4977 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2357.00.1'
20241018@163622.5073 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='324.2357.00.1' and bi.lordem =70000
20241018@163622.5376 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843657,253000007 ' 
20241018@163622.5643 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2335.00.1'
20241018@163622.5732 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='324.2335.00.1' and bi.lordem =80000
20241018@163622.6028 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843703,394000008 ' 
20241018@163622.6336 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2335.00.1'
20241018@163622.6356 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='324.2335.00.1' and bi.lordem =80000
20241018@163622.6380 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843703,394000008 ' 
20241018@163622.6416 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2340.00.1'
20241018@163622.6507 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='324.2340.00.1' and bi.lordem =90000
20241018@163622.6814 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843727,063000009 ' 
20241018@163622.7088 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5501.00.1'
20241018@163622.7182 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='324.5501.00.1' and bi.lordem =100000
20241018@163622.7495 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843743,903000010 ' 
20241018@163622.7776 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1405.00.1'
20241018@163622.7867 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='324.1405.00.1' and bi.lordem =105000
20241018@163622.8161 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843805,619000012 ' 
20241018@163622.8442 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '325.7002.00.1'
20241018@163622.9629 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='325.7002.00.1' and bi.lordem =110000
20241018@163622.9962 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843780,792000011 ' 
20241018@163623.2530 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.678.00.01'
20241018@163623.3600 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000040 and bi.ref ='324.678.00.01' and bi.lordem =120000
20241018@163623.6660 32k6uc5quh5pi0bu8jqbvsasl0 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'pll24101843834,213000013 ' 
20241018@163623.9440 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.9480 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 1 valor from ts where ts.ndos = 5
20241018@163623.1018 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.1021 32k6uc5quh5pi0bu8jqbvsasl0 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')
20241018@163623.1088 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20241018@163623.1209 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.1213 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 ~inactivo valor from fl where no = '100999' and estab = 0 order by inactivo desc
20241018@163623.1306 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.1309 32k6uc5quh5pi0bu8jqbvsasl0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@163623.1396 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.1401 32k6uc5quh5pi0bu8jqbvsasl0 Query : select szadrsstamp valor from szadrs where szadrsdesc='flama-fab.louÇas e electrodomesticos,sa'
20241018@163623.1455 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.1458 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from ts where ndos = 5
20241018@163623.1513 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.1816 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20241018@163623.1884 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.1900 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20241018@163623.1910 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.1926 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20241018@163623.1961 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20241018@163623.2087 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20241018@163623.2708 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20241018@163623.3393 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.3399 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100999' and estab=0
20241018@163623.3471 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.3490 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20241018@163623.3525 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67128909246712807752',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241018@163623.3615 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.3632 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20241018@163623.3650 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut67128909246712807752','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20241018','17:06',?,?)
20241018@163623.4222 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.4241 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20241018@163623.4259 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbodata (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut67128909246712807752','trf entre armazéns a','2024-10-18',5,525,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20241018@163623.4983 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.4987 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '324.2028.00.2'
20241018@163623.5077 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.5080 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2028.00.2'
20241018@163623.5157 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.5160 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2028.00.2' and sa.armazem = 133 
20241018@163623.5223 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.5226 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2028.00.2'
20241018@163623.5248 32k6uc5quh5pi0bu8jqbvsasl0 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.2028.00.2'
20241018@163623.5365 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.5382 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163623.5396 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.5411 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163623.5420 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='324.2028.00.2' and lote = 'r2100875100a'
20241018@163623.7426 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163623.7467 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.7508 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163623.7521 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut671281526967128077b6','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163623.7929 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.7948 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163623.7968 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut671281526967128077b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,34.99,34.99*200.48,34.99,34.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,34.99*8.000,34.99*8.000*200.48 ,8.580000,8.580000*200.48 ,8.580000,8.580000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,34.99,34.99*200.48,34.99*8.000,34.99*8.000*200.48,'pll24101843510,498000001 ',34.99,34.99*8.000,34.99,34.99*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163623.8340 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.8344 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '322.227.20.01'
20241018@163623.8359 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.8362 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.20.01'
20241018@163623.8379 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.8382 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '322.227.20.01' and sa.armazem = 133 
20241018@163623.8497 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.8500 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.20.01'
20241018@163623.8522 32k6uc5quh5pi0bu8jqbvsasl0 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 = '322.227.20.01'
20241018@163623.8639 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.8658 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163623.8673 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.8691 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163623.8702 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='322.227.20.01' and lote = 'r2200095100a'
20241018@163623.8724 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163623.8739 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.8757 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163623.8774 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut671282808067128077d5','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163623.8987 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.9008 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163623.9028 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut671282808067128077d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,22.99,22.99*200.48,22.99,22.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,22.99*6.000,22.99*6.000*200.48 ,5.327000,5.327000*200.48 ,5.327000,5.327000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,22.99,22.99*200.48,22.99*6.000,22.99*6.000*200.48,'pll24101843553,060000002 ',22.99,22.99*6.000,22.99,22.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163623.9277 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.9282 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '322.227.24.01'
20241018@163623.9300 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.9304 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.24.01'
20241018@163623.9322 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.9326 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '322.227.24.01' and sa.armazem = 133 
20241018@163623.9407 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163623.9410 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.24.01'
20241018@163623.9431 32k6uc5quh5pi0bu8jqbvsasl0 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 = '322.227.24.01'
20241018@163623.9635 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.9656 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163623.9670 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.9688 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163623.9698 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='322.227.24.01' and lote = 'r2200095100a'
20241018@163623.9713 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163623.9728 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.9745 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163623.9759 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut671280147667128077ed','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163623.9956 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163623.9973 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.4000 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut671280147667128077ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,26.99,26.99*200.48,26.99,26.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,26.99*6.000,26.99*6.000*200.48 ,6.874000,6.874000*200.48 ,6.874000,6.874000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,26.99,26.99*200.48,26.99*6.000,26.99*6.000*200.48,'pll24101843580,900000003 ',26.99,26.99*6.000,26.99,26.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.2620 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.2660 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '322.227.28.01'
20241018@163624.2800 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.2840 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.28.01'
20241018@163624.3000 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.3030 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '322.227.28.01' and sa.armazem = 133 
20241018@163624.3680 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.3700 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.28.01'
20241018@163624.3890 32k6uc5quh5pi0bu8jqbvsasl0 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 = '322.227.28.01'
20241018@163624.5060 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5240 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.5370 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5520 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.5600 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='322.227.28.01' and lote = 'r2200095100a'
20241018@163624.5800 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.5920 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.6060 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.6180 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6712813185671280780e','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.7630 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.7800 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.7960 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6712813185671280780e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,29.99,29.99*200.48,29.99,29.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,29.99*6.000,29.99*6.000*200.48 ,8.787000,8.787000*200.48 ,8.787000,8.787000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,29.99,29.99*200.48,29.99*6.000,29.99*6.000*200.48,'pll24101843597,987000004 ',29.99,29.99*6.000,29.99,29.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.1068 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.1072 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '322.227.28.02'
20241018@163624.1087 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.1090 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.28.02'
20241018@163624.1107 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.1109 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '322.227.28.02' and sa.armazem = 133 
20241018@163624.1179 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.1182 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.28.02'
20241018@163624.1200 32k6uc5quh5pi0bu8jqbvsasl0 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 = '322.227.28.02'
20241018@163624.1316 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.1333 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.1346 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.1362 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.1372 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='322.227.28.02' and lote = 'r2200095100a'
20241018@163624.1387 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.1401 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.1416 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.1489 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67128942986712807822','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.1767 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.2681 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.2696 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67128942986712807822',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,32.99,32.99*200.48,32.99,32.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,32.99*6.000,32.99*6.000*200.48 ,8.900000,8.900000*200.48 ,8.900000,8.900000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32.99,32.99*200.48,32.99*6.000,32.99*6.000*200.48,'pll24101843614,604000005 ',32.99,32.99*6.000,32.99,32.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.2959 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.2963 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '322.227.26.01'
20241018@163624.2978 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.2981 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.26.01'
20241018@163624.2999 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.3002 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '322.227.26.01' and sa.armazem = 133 
20241018@163624.3067 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.3070 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '322.227.26.01'
20241018@163624.3090 32k6uc5quh5pi0bu8jqbvsasl0 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 = '322.227.26.01'
20241018@163624.3209 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.3229 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.3242 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.3258 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.3268 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='322.227.26.01' and lote = 'r2200095100a'
20241018@163624.3282 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.3300 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.3315 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.3327 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67128383286712807850','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.3472 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.3492 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.3510 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67128383286712807850',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,34.99,34.99*200.48,34.99,34.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,34.99*6.000,34.99*6.000*200.48 ,9.138000,9.138000*200.48 ,9.138000,9.138000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,34.99,34.99*200.48,34.99*6.000,34.99*6.000*200.48,'pll24101843639,032000006 ',34.99,34.99*6.000,34.99,34.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.3950 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.3954 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '324.2357.00.1'
20241018@163624.3971 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.3975 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2357.00.1'
20241018@163624.3992 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.3995 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2357.00.1' and sa.armazem = 133 
20241018@163624.4064 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.4067 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2357.00.1'
20241018@163624.4087 32k6uc5quh5pi0bu8jqbvsasl0 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.2357.00.1'
20241018@163624.4204 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.4222 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.4235 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.4252 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.4262 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='324.2357.00.1' and lote = 'r2200239100a'
20241018@163624.4285 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.4299 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.4316 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.4329 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67128090446712807868','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.4483 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.4503 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.4521 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67128090446712807868',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,70000 ,86.99,86.99*200.48,86.99,86.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,86.99*4.000,86.99*4.000*200.48 ,19.179000,19.179000*200.48 ,19.179000,19.179000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,86.99,86.99*200.48,86.99*4.000,86.99*4.000*200.48,'pll24101843657,253000007 ',86.99,86.99*4.000,86.99,86.99*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.4814 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.4819 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241018@163624.4834 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.4838 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2335.00.1'
20241018@163624.4856 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.4859 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2335.00.1' and sa.armazem = 133 
20241018@163624.4931 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.4934 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2335.00.1'
20241018@163624.4952 32k6uc5quh5pi0bu8jqbvsasl0 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'
20241018@163624.5199 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5216 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.5228 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5244 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.5253 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2100585500a'
20241018@163624.5274 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.5286 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5301 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.5313 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67128488256712807881','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.5452 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5469 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.5487 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67128488256712807881',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1.000, 1.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,80000 ,129.99,129.99*200.48,129.99,129.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,129.99*1.000,129.99*1.000*200.48 ,34.058000,34.058000*200.48 ,34.058000,34.058000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,129.99,129.99*200.48,129.99*1.000,129.99*1.000*200.48,'pll24101843703,394000008 ',129.99,129.99*1.000,129.99,129.99*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.5738 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.5741 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241018@163624.5755 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.5758 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2335.00.1'
20241018@163624.5774 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.5776 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2335.00.1' and sa.armazem = 133 
20241018@163624.5800 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.5803 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2335.00.1'
20241018@163624.5822 32k6uc5quh5pi0bu8jqbvsasl0 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'
20241018@163624.5837 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5854 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.5866 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5882 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.5891 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2300509100a'
20241018@163624.5911 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.5924 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.5953 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.5966 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67128105396712807890','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.6105 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.6128 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.6144 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67128105396712807890',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 3.000, 3.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,90000 ,129.99,129.99*200.48,129.99,129.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,129.99*3.000,129.99*3.000*200.48 ,34.058000,34.058000*200.48 ,34.058000,34.058000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,129.99,129.99*200.48,129.99*3.000,129.99*3.000*200.48,'pll24101843703,394000008 ',129.99,129.99*3.000,129.99,129.99*3.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.6417 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.6421 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '324.2340.00.1'
20241018@163624.6437 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.6440 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2340.00.1'
20241018@163624.6458 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.6462 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2340.00.1' and sa.armazem = 133 
20241018@163624.6591 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.6594 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.2340.00.1'
20241018@163624.6629 32k6uc5quh5pi0bu8jqbvsasl0 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.2340.00.1'
20241018@163624.6750 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.6770 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.6784 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.6805 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.6815 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='324.2340.00.1' and lote = 'r2100584120a'
20241018@163624.6831 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.6845 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.6860 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.6875 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut671282832567128078a7','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.7020 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.7042 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.7060 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut671282832567128078a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,100000 ,149.99,149.99*200.48,149.99,149.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,149.99*4.000,149.99*4.000*200.48 ,50.364000,50.364000*200.48 ,50.364000,50.364000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,149.99,149.99*200.48,149.99*4.000,149.99*4.000*200.48,'pll24101843727,063000009 ',149.99,149.99*4.000,149.99,149.99*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.7313 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.7317 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20241018@163624.7333 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.7336 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.5501.00.1'
20241018@163624.7352 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.7354 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.5501.00.1' and sa.armazem = 133 
20241018@163624.7421 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.7424 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.5501.00.1'
20241018@163624.7443 32k6uc5quh5pi0bu8jqbvsasl0 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'
20241018@163624.7560 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.7578 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.7591 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.7607 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.7616 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20241018@163624.7631 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.7645 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.7659 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.7671 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut671289382567128078ba','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.7817 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.7835 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.7853 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut671289382567128078ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,110000 ,99.99,99.99*200.48,99.99,99.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,99.99*10.000,99.99*10.000*200.48 ,18.137000,18.137000*200.48 ,18.137000,18.137000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,99.99,99.99*200.48,99.99*10.000,99.99*10.000*200.48,'pll24101843743,903000010 ',99.99,99.99*10.000,99.99,99.99*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.8120 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.8124 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '324.1405.00.1'
20241018@163624.8140 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.8142 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.1405.00.1'
20241018@163624.8158 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.8161 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1405.00.1' and sa.armazem = 133 
20241018@163624.8227 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163624.8229 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.1405.00.1'
20241018@163624.8249 32k6uc5quh5pi0bu8jqbvsasl0 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.1405.00.1'
20241018@163624.8433 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.8453 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.8470 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.9657 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.9667 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='324.1405.00.1' and lote = 'r2100212200a'
20241018@163624.9689 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163624.9702 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.9719 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163624.9731 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut671287343167128078ec','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163624.9874 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163624.9891 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163624.9909 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut671287343167128078ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,120000 ,29.99,29.99*200.48,29.99,29.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,29.99*6.000,29.99*6.000*200.48 ,9.746000,9.746000*200.48 ,9.746000,9.746000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,29.99,29.99*200.48,29.99*6.000,29.99*6.000*200.48,'pll24101843805,619000012 ',29.99,29.99*6.000,29.99,29.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163625.1550 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.1580 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '325.7002.00.1'
20241018@163625.1730 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.1760 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '325.7002.00.1'
20241018@163625.2100 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.2130 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '325.7002.00.1' and sa.armazem = 133 
20241018@163625.2770 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.2810 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '325.7002.00.1'
20241018@163625.2990 32k6uc5quh5pi0bu8jqbvsasl0 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 = '325.7002.00.1'
20241018@163625.4160 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163625.4330 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163625.4470 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163625.4620 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163625.4700 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='325.7002.00.1' and lote = '25/11'
20241018@163625.4920 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163625.5040 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163625.5210 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163625.5330 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6712819939671280790c','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163625.6740 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163625.6900 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163625.7060 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6712819939671280790c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,130000 ,19.99,19.99*200.48,19.99,19.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,19.99*8.000,19.99*8.000*200.48 ,4.814000,4.814000*200.48 ,4.814000,4.814000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,19.99,19.99*200.48,19.99*8.000,19.99*8.000*200.48,'pll24101843780,792000011 ',19.99,19.99*8.000,19.99,19.99*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163625.9560 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.9590 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.usalote valor from st where st.ref = '324.678.00.01'
20241018@163625.9740 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.9770 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.678.00.01'
20241018@163625.9930 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.9960 32k6uc5quh5pi0bu8jqbvsasl0 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.678.00.01' and sa.armazem = 133 
20241018@163625.1059 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.1076 32k6uc5quh5pi0bu8jqbvsasl0 Query : select st.stns valor from st where st.ref = '324.678.00.01'
20241018@163625.1093 32k6uc5quh5pi0bu8jqbvsasl0 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.678.00.01'
20241018@163625.1207 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163625.1224 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163625.1236 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163625.1255 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163625.1263 32k6uc5quh5pi0bu8jqbvsasl0 Query : select sestamp valor from se where ref ='324.678.00.01' and lote = 'r2400745200a'
20241018@163625.1277 32k6uc5quh5pi0bu8jqbvsasl0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@163625.1289 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163625.1303 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241018@163625.1315 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6712884234671280791f','aut67128909246712807752',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163625.1455 32k6uc5quh5pi0bu8jqbvsasl0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@163625.1470 32k6uc5quh5pi0bu8jqbvsasl0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241018@163625.1486 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6712884234671280791f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,140000 ,199.99,199.99*200.48,199.99,199.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,199.99*10.000,199.99*10.000*200.48 ,43.200000,43.200000*200.48 ,43.200000,43.200000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,199.99,199.99*200.48,199.99*10.000,199.99*10.000*200.48,'pll24101843834,213000013 ',199.99,199.99*10.000,199.99,199.99*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67128909246712807752'
20241018@163625.1780 32k6uc5quh5pi0bu8jqbvsasl0 Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp,transactionid) values ('aut67128909246712807752','','wait',5,'adm12071144683,938000003','')
20241018@163625.1892 32k6uc5quh5pi0bu8jqbvsasl0 Query : use flama_phc
20241018@163625.1895 32k6uc5quh5pi0bu8jqbvsasl0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@163625.1949 32k6uc5quh5pi0bu8jqbvsasl0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2759';
20241018@163625.1983 32k6uc5quh5pi0bu8jqbvsasl0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2759';

20241018@185122.6760 q05cm0k7no1rvvgc0mcii6ep0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2760';
20241018@185122.6815 q05cm0k7no1rvvgc0mcii6ep0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2760';
20241018@185122.6842 q05cm0k7no1rvvgc0mcii6ep0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2760';
20241018@185122.6893 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.6896 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185122.6962 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.6965 q05cm0k7no1rvvgc0mcii6ep0p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185122.7044 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241018@185122.7168 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406797 and bi.ref ='324.657.00.01' and bi.lordem =1
20241018@185122.7473 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241018@185122.7493 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406797 and bi.ref ='324.657.00.01' and bi.lordem =1
20241018@185122.7511 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241018@185122.7534 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406797 and bi.ref ='324.657.00.01' and bi.lordem =1
20241018@185122.7550 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241018@185122.7570 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406797 and bi.ref ='324.657.00.01' and bi.lordem =1
20241018@185122.7587 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241018@185122.7608 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406797 and bi.ref ='324.657.00.01' and bi.lordem =1
20241018@185122.7626 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.7629 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185122.7832 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.7836 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185122.7908 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.7912 q05cm0k7no1rvvgc0mcii6ep0p 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')
20241018@185122.7942 q05cm0k7no1rvvgc0mcii6ep0p 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
20241018@185122.8054 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.8057 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185122.8149 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.8153 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185122.8220 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.8223 q05cm0k7no1rvvgc0mcii6ep0p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185122.8263 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.8266 q05cm0k7no1rvvgc0mcii6ep0p Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185122.8313 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185122.8316 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from td where ndoc = 39
20241018@185122.8372 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185122.9582 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185122.9606 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185122.9654 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185122.9671 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185122.9704 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185122.9720 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185122.9735 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185122.9910 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185123.1000 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.2000 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185123.3800 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185123.4120 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.4340 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185123.4790 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185123.5540 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185123.6220 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185123.6900 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185123.7530 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185123.8140 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185123.8840 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a969906712a01aed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185123.1517 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185123.1592 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.1610 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185123.1641 q05cm0k7no1rvvgc0mcii6ep0p Query : select 'normal' from dummy
20241018@185123.1693 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a969906712a01aed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1354,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185123.2293 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185123.2296 q05cm0k7no1rvvgc0mcii6ep0p Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241018@185123.2320 q05cm0k7no1rvvgc0mcii6ep0p 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.657.00.01'
20241018@185123.2443 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.2463 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.2491 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.2506 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.2516 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.2529 q05cm0k7no1rvvgc0mcii6ep0p Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241018@185123.2542 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.2557 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.2570 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a935466712a01b3e','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.2639 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.2654 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.2685 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a935466712a01b3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185123.3040 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3056 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.3083 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3101 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.3110 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.3122 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3138 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.3149 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a917706712a01b4c','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.3154 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3173 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.3202 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a917706712a01b4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185123.3487 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185123.3491 q05cm0k7no1rvvgc0mcii6ep0p Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241018@185123.3511 q05cm0k7no1rvvgc0mcii6ep0p 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.657.00.01'
20241018@185123.3525 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3542 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.3572 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3587 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.3596 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.3608 q05cm0k7no1rvvgc0mcii6ep0p Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241018@185123.3621 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3636 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.3649 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a652616712a01b58','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.3653 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3668 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.3700 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a652616712a01b58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185123.3949 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.3968 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.3995 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.4010 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.4018 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.4030 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.4045 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.4057 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a123886712a01b62','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.4061 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.4076 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.4106 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a123886712a01b62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,50000,?,?,?)
20241018@185123.4770 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185123.4813 q05cm0k7no1rvvgc0mcii6ep0p Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241018@185123.5159 q05cm0k7no1rvvgc0mcii6ep0p 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.657.00.01'
20241018@185123.5177 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.5198 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.5227 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.5250 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.5261 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.5277 q05cm0k7no1rvvgc0mcii6ep0p Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241018@185123.5294 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.5311 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.5323 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a132006712a01b81','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.5328 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.5344 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.5375 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a132006712a01b81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241018@185123.5614 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.5631 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.5667 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.5685 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.5697 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.5711 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.5725 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.5762 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a218626712a01b8b','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.5766 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.5781 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.5811 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a218626712a01b8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,80000,?,?,?)
20241018@185123.6053 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185123.6058 q05cm0k7no1rvvgc0mcii6ep0p Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241018@185123.6083 q05cm0k7no1rvvgc0mcii6ep0p 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.657.00.01'
20241018@185123.6101 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.6120 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.6150 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.6168 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.6177 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.6191 q05cm0k7no1rvvgc0mcii6ep0p Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241018@185123.6205 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.6220 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.6233 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a901166712a01b97','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.6238 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.6254 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.6286 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a901166712a01b97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241018@185123.6517 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.6536 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.6563 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.6579 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.6588 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.6605 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.6620 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.6631 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a909506712a01ba1','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.6635 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.6653 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.6681 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a909506712a01ba1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,110000,?,?,?)
20241018@185123.6909 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185123.6912 q05cm0k7no1rvvgc0mcii6ep0p Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241018@185123.6930 q05cm0k7no1rvvgc0mcii6ep0p 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.657.00.01'
20241018@185123.6944 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.7350 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.7376 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.7393 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.7402 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.7414 q05cm0k7no1rvvgc0mcii6ep0p Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241018@185123.7426 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.7440 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.7453 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a458796712a01bb5','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.7457 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.7476 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.7503 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a458796712a01bb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241018@185123.7736 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.7752 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.7777 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.7791 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.7799 q05cm0k7no1rvvgc0mcii6ep0p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185123.7811 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.7826 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185123.7853 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a746476712a01bbe','aut6712a969906712a01aed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185123.7857 q05cm0k7no1rvvgc0mcii6ep0p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185123.7871 q05cm0k7no1rvvgc0mcii6ep0p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185123.7897 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a746476712a01bbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a969906712a01aed' ,0,0 ,2,23.00,140000,?,?,?)
20241018@185123.8122 q05cm0k7no1rvvgc0mcii6ep0p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a969906712a01aed','2406797','wait',39,'adm09112754980.682000002')
20241018@185123.8333 q05cm0k7no1rvvgc0mcii6ep0p Query : use flama_phc
20241018@185123.8336 q05cm0k7no1rvvgc0mcii6ep0p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185123.8378 q05cm0k7no1rvvgc0mcii6ep0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2760';
20241018@185123.8410 q05cm0k7no1rvvgc0mcii6ep0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2760';
20241018@185123.8453 q05cm0k7no1rvvgc0mcii6ep0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2760';
20241018@185123.8506 q05cm0k7no1rvvgc0mcii6ep0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2760';
20241018@185123.9028 etgpsf5a7tndjlevnd7j2o2htv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185123.9040 etgpsf5a7tndjlevnd7j2o2htv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185123.9098 etgpsf5a7tndjlevnd7j2o2htv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2761';
20241018@185123.9157 etgpsf5a7tndjlevnd7j2o2htv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2761';
20241018@185123.9235 etgpsf5a7tndjlevnd7j2o2htv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2761';
20241018@185123.9270 etgpsf5a7tndjlevnd7j2o2htv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2761';
20241018@185123.9334 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185123.9337 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185123.9415 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185123.9419 etgpsf5a7tndjlevnd7j2o2htv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185123.9527 etgpsf5a7tndjlevnd7j2o2htv 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'
20241018@185123.9669 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406798 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241018@185123.9967 etgpsf5a7tndjlevnd7j2o2htv 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'
20241018@185123.9990 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406798 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241018@185124.8000 etgpsf5a7tndjlevnd7j2o2htv 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'
20241018@185124.2800 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406798 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241018@185124.4600 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.4900 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185124.8100 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.8400 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185124.1240 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.1280 etgpsf5a7tndjlevnd7j2o2htv 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')
20241018@185124.1570 etgpsf5a7tndjlevnd7j2o2htv 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
20241018@185124.2020 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.2050 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185124.1641 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.1648 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185124.1682 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.1685 etgpsf5a7tndjlevnd7j2o2htv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185124.1725 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.1727 etgpsf5a7tndjlevnd7j2o2htv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185124.1773 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.1776 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from td where ndoc = 39
20241018@185124.1790 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185124.1805 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.1824 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185124.1843 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.1859 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185124.1887 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.1903 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185124.1915 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185124.1982 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185124.1995 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.2011 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185124.2028 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a405916712a01c2e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185124.2200 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.2219 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185124.2254 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185124.2266 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185124.2278 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185124.2418 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185124.2431 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185124.2444 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185124.2456 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a405916712a01c2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185124.2685 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185124.2708 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.2724 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185124.2836 etgpsf5a7tndjlevnd7j2o2htv Query : select 'normal' from dummy
20241018@185124.2851 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a405916712a01c2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1355,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185124.3228 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.3231 etgpsf5a7tndjlevnd7j2o2htv Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241018@185124.3254 etgpsf5a7tndjlevnd7j2o2htv 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'
20241018@185124.3380 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.3397 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185124.3424 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.3440 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185124.3449 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185124.3462 etgpsf5a7tndjlevnd7j2o2htv Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241018@185124.3495 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.3512 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185124.3524 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a824706712a01c55','aut6712a405916712a01c2e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185124.3540 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.3557 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185124.3586 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a824706712a01c55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a405916712a01c2e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185124.3824 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.3827 etgpsf5a7tndjlevnd7j2o2htv Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241018@185124.3847 etgpsf5a7tndjlevnd7j2o2htv 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'
20241018@185124.3861 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.3876 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185124.3902 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.3916 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185124.3925 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185124.3939 etgpsf5a7tndjlevnd7j2o2htv Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241018@185124.3953 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.3967 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185124.3981 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a715686712a01c60','aut6712a405916712a01c2e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185124.3985 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.4000 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185124.4031 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a715686712a01c60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6712a405916712a01c2e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185124.4250 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.4253 etgpsf5a7tndjlevnd7j2o2htv Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241018@185124.4274 etgpsf5a7tndjlevnd7j2o2htv 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'
20241018@185124.4289 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.4305 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185124.4333 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.4349 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185124.4358 etgpsf5a7tndjlevnd7j2o2htv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185124.4371 etgpsf5a7tndjlevnd7j2o2htv Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241018@185124.4385 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.6330 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185124.6344 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a904686712a01c6b','aut6712a405916712a01c2e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185124.6348 etgpsf5a7tndjlevnd7j2o2htv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185124.6367 etgpsf5a7tndjlevnd7j2o2htv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185124.6398 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a904686712a01c6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut6712a405916712a01c2e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241018@185124.6642 etgpsf5a7tndjlevnd7j2o2htv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a405916712a01c2e','2406798','wait',39,'adm09112754980.682000002')
20241018@185124.6748 etgpsf5a7tndjlevnd7j2o2htv Query : use flama_phc
20241018@185124.6751 etgpsf5a7tndjlevnd7j2o2htv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185124.6795 etgpsf5a7tndjlevnd7j2o2htv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2761';
20241018@185124.6832 etgpsf5a7tndjlevnd7j2o2htv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2761';
20241018@185124.6888 etgpsf5a7tndjlevnd7j2o2htv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2761';
20241018@185124.6942 etgpsf5a7tndjlevnd7j2o2htv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2761';
20241018@185124.7463 9vi5p2loqop9psofvl7076jr2s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185124.7481 9vi5p2loqop9psofvl7076jr2s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185124.7548 9vi5p2loqop9psofvl7076jr2s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2762';
20241018@185124.7603 9vi5p2loqop9psofvl7076jr2s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2762';
20241018@185124.7668 9vi5p2loqop9psofvl7076jr2s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2762';
20241018@185124.7696 9vi5p2loqop9psofvl7076jr2s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2762';
20241018@185124.7747 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185124.7751 9vi5p2loqop9psofvl7076jr2s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185124.7819 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185124.7822 9vi5p2loqop9psofvl7076jr2s Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185124.7866 9vi5p2loqop9psofvl7076jr2s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20241018@185124.7990 9vi5p2loqop9psofvl7076jr2s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406799 and bi.ref ='324.4902.00.1' and bi.lordem =1
20241018@185124.8300 9vi5p2loqop9psofvl7076jr2s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20241018@185124.8322 9vi5p2loqop9psofvl7076jr2s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406799 and bi.ref ='324.4902.00.1' and bi.lordem =1
20241018@185124.8342 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185124.8345 9vi5p2loqop9psofvl7076jr2s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185124.8385 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185124.8388 9vi5p2loqop9psofvl7076jr2s Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185124.8484 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185124.8488 9vi5p2loqop9psofvl7076jr2s 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')
20241018@185124.8520 9vi5p2loqop9psofvl7076jr2s 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
20241018@185124.9902 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185124.9908 9vi5p2loqop9psofvl7076jr2s Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185124.9951 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185124.9955 9vi5p2loqop9psofvl7076jr2s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185124.9989 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185124.9992 9vi5p2loqop9psofvl7076jr2s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185125.4300 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185125.4600 9vi5p2loqop9psofvl7076jr2s Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185125.9100 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185125.9300 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from td where ndoc = 39
20241018@185125.1080 9vi5p2loqop9psofvl7076jr2s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185125.1210 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.1380 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185125.1590 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.1740 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185125.2010 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.2150 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185125.2270 9vi5p2loqop9psofvl7076jr2s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185125.2890 9vi5p2loqop9psofvl7076jr2s Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185125.3010 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3160 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185125.3330 9vi5p2loqop9psofvl7076jr2s Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a035116712a01d05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185125.4880 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.5280 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185125.5810 9vi5p2loqop9psofvl7076jr2s Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185125.5930 9vi5p2loqop9psofvl7076jr2s Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185125.6050 9vi5p2loqop9psofvl7076jr2s Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185125.6160 9vi5p2loqop9psofvl7076jr2s Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185125.6280 9vi5p2loqop9psofvl7076jr2s Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185125.6400 9vi5p2loqop9psofvl7076jr2s Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185125.6510 9vi5p2loqop9psofvl7076jr2s Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a035116712a01d05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185125.8690 9vi5p2loqop9psofvl7076jr2s Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185125.8930 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.9100 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185125.9320 9vi5p2loqop9psofvl7076jr2s Query : select 'normal' from dummy
20241018@185125.9520 9vi5p2loqop9psofvl7076jr2s Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a035116712a01d05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1356,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185125.1202 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185125.1205 9vi5p2loqop9psofvl7076jr2s Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20241018@185125.1228 9vi5p2loqop9psofvl7076jr2s 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.4902.00.1'
20241018@185125.1350 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.1367 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.2198 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.2215 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.2224 9vi5p2loqop9psofvl7076jr2s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185125.2238 9vi5p2loqop9psofvl7076jr2s Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20241018@185125.2252 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.2271 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.2283 9vi5p2loqop9psofvl7076jr2s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a564826712a01d36','aut6712a035116712a01d05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185125.2288 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.2306 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.2342 9vi5p2loqop9psofvl7076jr2s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a564826712a01d36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut6712a035116712a01d05' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185125.2704 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.2721 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.2746 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.2760 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.2770 9vi5p2loqop9psofvl7076jr2s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185125.2782 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.2796 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.2807 9vi5p2loqop9psofvl7076jr2s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a759576712a01d43','aut6712a035116712a01d05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185125.2812 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.2831 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.2859 9vi5p2loqop9psofvl7076jr2s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a759576712a01d43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a035116712a01d05' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185125.3090 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185125.3093 9vi5p2loqop9psofvl7076jr2s Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20241018@185125.3113 9vi5p2loqop9psofvl7076jr2s 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.4902.00.1'
20241018@185125.3127 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3142 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.3173 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3188 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.3196 9vi5p2loqop9psofvl7076jr2s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185125.3209 9vi5p2loqop9psofvl7076jr2s Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20241018@185125.3224 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3239 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.3250 9vi5p2loqop9psofvl7076jr2s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a770456712a01d4e','aut6712a035116712a01d05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185125.3255 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3270 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.3297 9vi5p2loqop9psofvl7076jr2s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a770456712a01d4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6712a035116712a01d05' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185125.3533 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3548 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.3576 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3591 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.3601 9vi5p2loqop9psofvl7076jr2s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185125.3613 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3627 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.3638 9vi5p2loqop9psofvl7076jr2s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a760836712a01d58','aut6712a035116712a01d05' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185125.3642 9vi5p2loqop9psofvl7076jr2s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.3657 9vi5p2loqop9psofvl7076jr2s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.3688 9vi5p2loqop9psofvl7076jr2s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a760836712a01d58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a035116712a01d05' ,0,0 ,2,23.00,50000,?,?,?)
20241018@185125.3912 9vi5p2loqop9psofvl7076jr2s Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a035116712a01d05','2406799','wait',39,'adm09112754980.682000002')
20241018@185125.4012 9vi5p2loqop9psofvl7076jr2s Query : use flama_phc
20241018@185125.4015 9vi5p2loqop9psofvl7076jr2s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185125.4063 9vi5p2loqop9psofvl7076jr2s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2762';
20241018@185125.4102 9vi5p2loqop9psofvl7076jr2s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2762';
20241018@185125.4181 9vi5p2loqop9psofvl7076jr2s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2762';
20241018@185125.4214 9vi5p2loqop9psofvl7076jr2s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2762';
20241018@185125.4772 c09cr08t4978u02i7avebsvv5a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185125.4795 c09cr08t4978u02i7avebsvv5a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185125.4861 c09cr08t4978u02i7avebsvv5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2763';
20241018@185125.4919 c09cr08t4978u02i7avebsvv5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2763';
20241018@185125.4986 c09cr08t4978u02i7avebsvv5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2763';
20241018@185125.5018 c09cr08t4978u02i7avebsvv5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2763';
20241018@185125.5072 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.5076 c09cr08t4978u02i7avebsvv5a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185125.5145 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.5149 c09cr08t4978u02i7avebsvv5a Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185125.5193 c09cr08t4978u02i7avebsvv5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20241018@185125.5314 c09cr08t4978u02i7avebsvv5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406800 and bi.ref ='324.4906.00.1' and bi.lordem =1
20241018@185125.5626 c09cr08t4978u02i7avebsvv5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20241018@185125.5658 c09cr08t4978u02i7avebsvv5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406800 and bi.ref ='324.4906.00.1' and bi.lordem =1
20241018@185125.5686 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.5690 c09cr08t4978u02i7avebsvv5a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185125.5736 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.5740 c09cr08t4978u02i7avebsvv5a Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185125.5797 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.5801 c09cr08t4978u02i7avebsvv5a 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')
20241018@185125.5837 c09cr08t4978u02i7avebsvv5a 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
20241018@185125.5908 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.5911 c09cr08t4978u02i7avebsvv5a Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185125.5959 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.5962 c09cr08t4978u02i7avebsvv5a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185125.6016 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.6020 c09cr08t4978u02i7avebsvv5a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185125.6086 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.6089 c09cr08t4978u02i7avebsvv5a Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185125.6172 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.6176 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from td where ndoc = 39
20241018@185125.6190 c09cr08t4978u02i7avebsvv5a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185125.6208 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.6226 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185125.6247 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.6264 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185125.6296 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.6313 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185125.6326 c09cr08t4978u02i7avebsvv5a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185125.6417 c09cr08t4978u02i7avebsvv5a Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185125.6432 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.6449 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185125.6467 c09cr08t4978u02i7avebsvv5a Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a417536712a01d9a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185125.8016 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.8036 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185125.8075 c09cr08t4978u02i7avebsvv5a Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185125.8089 c09cr08t4978u02i7avebsvv5a Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185125.8106 c09cr08t4978u02i7avebsvv5a Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185125.8120 c09cr08t4978u02i7avebsvv5a Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185125.8135 c09cr08t4978u02i7avebsvv5a Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185125.8148 c09cr08t4978u02i7avebsvv5a Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185125.8160 c09cr08t4978u02i7avebsvv5a Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a417536712a01d9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185125.8380 c09cr08t4978u02i7avebsvv5a Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185125.8407 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.8424 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185125.8448 c09cr08t4978u02i7avebsvv5a Query : select 'normal' from dummy
20241018@185125.8469 c09cr08t4978u02i7avebsvv5a Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a417536712a01d9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1357,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185125.9461 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185125.9465 c09cr08t4978u02i7avebsvv5a Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20241018@185125.9490 c09cr08t4978u02i7avebsvv5a 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.4906.00.1'
20241018@185125.9617 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.9636 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.9665 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.9681 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.9690 c09cr08t4978u02i7avebsvv5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185125.9703 c09cr08t4978u02i7avebsvv5a Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20241018@185125.9730 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.9745 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185125.9757 c09cr08t4978u02i7avebsvv5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a185676712a01ded','aut6712a417536712a01d9a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185125.9763 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185125.9778 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185125.9809 c09cr08t4978u02i7avebsvv5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a185676712a01ded',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut6712a417536712a01d9a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185126.7900 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.9700 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185126.1240 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.1400 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185126.1520 c09cr08t4978u02i7avebsvv5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185126.1640 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.1790 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185126.1920 c09cr08t4978u02i7avebsvv5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a018996712a01e04','aut6712a417536712a01d9a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185126.1960 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.2110 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185126.2400 c09cr08t4978u02i7avebsvv5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a018996712a01e04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a417536712a01d9a' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185126.4600 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185126.4630 c09cr08t4978u02i7avebsvv5a Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20241018@185126.4820 c09cr08t4978u02i7avebsvv5a 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.4906.00.1'
20241018@185126.4970 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.5120 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185126.5390 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.5540 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185126.5620 c09cr08t4978u02i7avebsvv5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185126.5750 c09cr08t4978u02i7avebsvv5a Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20241018@185126.5870 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.6010 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185126.6120 c09cr08t4978u02i7avebsvv5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a351706712a01e0e','aut6712a417536712a01d9a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185126.6180 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.6310 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185126.6590 c09cr08t4978u02i7avebsvv5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a351706712a01e0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6712a417536712a01d9a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185126.9020 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.9180 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185126.9450 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.9600 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185126.9680 c09cr08t4978u02i7avebsvv5a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185126.9810 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.9960 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185126.1008 c09cr08t4978u02i7avebsvv5a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a203256712a01e17','aut6712a417536712a01d9a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185126.1012 c09cr08t4978u02i7avebsvv5a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.1026 c09cr08t4978u02i7avebsvv5a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185126.1054 c09cr08t4978u02i7avebsvv5a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a203256712a01e17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a417536712a01d9a' ,0,0 ,2,23.00,50000,?,?,?)
20241018@185126.1282 c09cr08t4978u02i7avebsvv5a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a417536712a01d9a','2406800','wait',39,'adm09112754980.682000002')
20241018@185126.1439 c09cr08t4978u02i7avebsvv5a Query : use flama_phc
20241018@185126.1442 c09cr08t4978u02i7avebsvv5a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185126.1473 c09cr08t4978u02i7avebsvv5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2763';
20241018@185126.1505 c09cr08t4978u02i7avebsvv5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2763';
20241018@185126.1549 c09cr08t4978u02i7avebsvv5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2763';
20241018@185126.1576 c09cr08t4978u02i7avebsvv5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2763';
20241018@185126.2095 gn46gio2lhaal0rv7iqmelauln Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185126.2107 gn46gio2lhaal0rv7iqmelauln Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185126.2165 gn46gio2lhaal0rv7iqmelauln Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2764';
20241018@185126.2229 gn46gio2lhaal0rv7iqmelauln Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2764';
20241018@185126.2293 gn46gio2lhaal0rv7iqmelauln Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2764';
20241018@185126.2323 gn46gio2lhaal0rv7iqmelauln Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2764';
20241018@185126.2384 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.2387 gn46gio2lhaal0rv7iqmelauln Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185126.2460 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.2465 gn46gio2lhaal0rv7iqmelauln Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185126.2511 gn46gio2lhaal0rv7iqmelauln Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20241018@185126.2647 gn46gio2lhaal0rv7iqmelauln Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406802 and bi.ref ='304.422.00.07' and bi.lordem =1
20241018@185126.3074 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.3077 gn46gio2lhaal0rv7iqmelauln Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185126.3110 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.3113 gn46gio2lhaal0rv7iqmelauln Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185126.3157 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.3160 gn46gio2lhaal0rv7iqmelauln 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')
20241018@185126.3190 gn46gio2lhaal0rv7iqmelauln 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
20241018@185126.3227 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.3230 gn46gio2lhaal0rv7iqmelauln Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185126.3268 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.3271 gn46gio2lhaal0rv7iqmelauln Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185126.3301 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.3304 gn46gio2lhaal0rv7iqmelauln Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185126.3345 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.3348 gn46gio2lhaal0rv7iqmelauln Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185126.3394 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.3396 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from td where ndoc = 39
20241018@185126.3409 gn46gio2lhaal0rv7iqmelauln Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185126.3424 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.3441 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185126.3465 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.3480 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185126.3506 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.3520 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185126.3532 gn46gio2lhaal0rv7iqmelauln Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185126.3595 gn46gio2lhaal0rv7iqmelauln Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185126.3610 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.3625 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185126.3641 gn46gio2lhaal0rv7iqmelauln Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a714196712a01e56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185126.3802 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.3818 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185126.3849 gn46gio2lhaal0rv7iqmelauln Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185126.3861 gn46gio2lhaal0rv7iqmelauln Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185126.3872 gn46gio2lhaal0rv7iqmelauln Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185126.3889 gn46gio2lhaal0rv7iqmelauln Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185126.3901 gn46gio2lhaal0rv7iqmelauln Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185126.3912 gn46gio2lhaal0rv7iqmelauln Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185126.3924 gn46gio2lhaal0rv7iqmelauln Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a714196712a01e56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185126.4143 gn46gio2lhaal0rv7iqmelauln Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185126.4166 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.4182 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185126.4210 gn46gio2lhaal0rv7iqmelauln Query : select 'normal' from dummy
20241018@185126.4226 gn46gio2lhaal0rv7iqmelauln Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a714196712a01e56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1358,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185126.5583 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.5587 gn46gio2lhaal0rv7iqmelauln Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241018@185126.5610 gn46gio2lhaal0rv7iqmelauln 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.422.00.07'
20241018@185126.5734 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.5750 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185126.5775 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.5790 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185126.5798 gn46gio2lhaal0rv7iqmelauln Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185126.5809 gn46gio2lhaal0rv7iqmelauln Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241004'
20241018@185126.5832 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.5848 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185126.5860 gn46gio2lhaal0rv7iqmelauln Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a823546712a01e8e','aut6712a714196712a01e56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185126.5864 gn46gio2lhaal0rv7iqmelauln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.5879 gn46gio2lhaal0rv7iqmelauln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185126.5906 gn46gio2lhaal0rv7iqmelauln Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a823546712a01e8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6712a714196712a01e56' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185126.6133 gn46gio2lhaal0rv7iqmelauln Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a714196712a01e56','2406802','wait',39,'adm09112754980.682000002')
20241018@185126.6210 gn46gio2lhaal0rv7iqmelauln Query : use flama_phc
20241018@185126.6213 gn46gio2lhaal0rv7iqmelauln Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185126.6256 gn46gio2lhaal0rv7iqmelauln Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2764';
20241018@185126.6877 gn46gio2lhaal0rv7iqmelauln Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2764';
20241018@185126.6934 gn46gio2lhaal0rv7iqmelauln Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2764';
20241018@185126.6963 gn46gio2lhaal0rv7iqmelauln Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2764';
20241018@185126.7493 cm44i5ot5bic2b816cr6o5b26t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185126.7506 cm44i5ot5bic2b816cr6o5b26t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185126.7565 cm44i5ot5bic2b816cr6o5b26t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2765';
20241018@185126.7620 cm44i5ot5bic2b816cr6o5b26t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2765';
20241018@185126.7693 cm44i5ot5bic2b816cr6o5b26t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2765';
20241018@185126.7722 cm44i5ot5bic2b816cr6o5b26t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2765';
20241018@185126.7773 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.7776 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185126.7849 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.7852 cm44i5ot5bic2b816cr6o5b26t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185126.7892 cm44i5ot5bic2b816cr6o5b26t 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'
20241018@185126.8017 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406814 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241018@185126.8308 cm44i5ot5bic2b816cr6o5b26t 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'
20241018@185126.8331 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406814 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241018@185126.8358 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.8361 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185126.8394 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.8397 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185126.8427 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.8430 cm44i5ot5bic2b816cr6o5b26t 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')
20241018@185126.8463 cm44i5ot5bic2b816cr6o5b26t 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
20241018@185126.8575 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.8579 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185126.8611 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.8614 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185126.8645 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.8648 cm44i5ot5bic2b816cr6o5b26t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185126.8688 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.8691 cm44i5ot5bic2b816cr6o5b26t Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185126.8747 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.8750 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from td where ndoc = 39
20241018@185126.8762 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185126.8777 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.8793 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185126.8817 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.8832 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185126.8866 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.8881 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185126.8893 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185126.8960 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185126.8973 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.8988 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185126.9005 cm44i5ot5bic2b816cr6o5b26t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a348856712a01ed9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185126.9156 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.9174 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185126.9212 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185126.9224 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185126.9236 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185126.9248 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185126.9261 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185126.9273 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185126.9284 cm44i5ot5bic2b816cr6o5b26t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a348856712a01ed9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185126.9504 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185126.9544 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185126.9561 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185126.9591 cm44i5ot5bic2b816cr6o5b26t Query : select 'normal' from dummy
20241018@185126.9608 cm44i5ot5bic2b816cr6o5b26t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a348856712a01ed9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1359,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185126.9877 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185126.9880 cm44i5ot5bic2b816cr6o5b26t Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185126.9904 cm44i5ot5bic2b816cr6o5b26t 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'
20241018@185127.3100 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.4800 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185127.7400 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.8900 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185127.9800 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185127.1120 cm44i5ot5bic2b816cr6o5b26t Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185127.1350 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.1490 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185127.1640 cm44i5ot5bic2b816cr6o5b26t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a043826712a01f03','aut6712a348856712a01ed9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185127.1690 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.1860 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185127.2190 cm44i5ot5bic2b816cr6o5b26t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a043826712a01f03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6712a348856712a01ed9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185127.4450 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185127.4480 cm44i5ot5bic2b816cr6o5b26t Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185127.4680 cm44i5ot5bic2b816cr6o5b26t 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'
20241018@185127.4820 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.4980 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185127.5240 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.5380 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185127.5470 cm44i5ot5bic2b816cr6o5b26t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185127.5600 cm44i5ot5bic2b816cr6o5b26t Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185127.5720 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.5870 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185127.5980 cm44i5ot5bic2b816cr6o5b26t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a667896712a01f0d','aut6712a348856712a01ed9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185127.6020 cm44i5ot5bic2b816cr6o5b26t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.6170 cm44i5ot5bic2b816cr6o5b26t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185127.6450 cm44i5ot5bic2b816cr6o5b26t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a667896712a01f0d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',27.000 ,'aut6712a348856712a01ed9' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185127.1383 cm44i5ot5bic2b816cr6o5b26t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a348856712a01ed9','2406814','wait',39,'adm09112754980.682000002')
20241018@185127.2007 cm44i5ot5bic2b816cr6o5b26t Query : use flama_phc
20241018@185127.2010 cm44i5ot5bic2b816cr6o5b26t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185127.2053 cm44i5ot5bic2b816cr6o5b26t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2765';
20241018@185127.2091 cm44i5ot5bic2b816cr6o5b26t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2765';
20241018@185127.2142 cm44i5ot5bic2b816cr6o5b26t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2765';
20241018@185127.2171 cm44i5ot5bic2b816cr6o5b26t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2765';
20241018@185127.4027 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185127.4038 8gq4jbd3ss6j57go8toqigjtq0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185127.4103 8gq4jbd3ss6j57go8toqigjtq0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2766';
20241018@185127.4161 8gq4jbd3ss6j57go8toqigjtq0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2766';
20241018@185127.4223 8gq4jbd3ss6j57go8toqigjtq0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2766';
20241018@185127.4250 8gq4jbd3ss6j57go8toqigjtq0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2766';
20241018@185127.4323 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.4326 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185127.4397 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.4400 8gq4jbd3ss6j57go8toqigjtq0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185127.4444 8gq4jbd3ss6j57go8toqigjtq0 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'
20241018@185127.4464 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406815 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241018@185127.5337 8gq4jbd3ss6j57go8toqigjtq0 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'
20241018@185127.5369 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406815 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241018@185127.5387 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.5390 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185127.5435 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.5438 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185127.5471 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.5474 8gq4jbd3ss6j57go8toqigjtq0 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')
20241018@185127.5504 8gq4jbd3ss6j57go8toqigjtq0 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
20241018@185127.5544 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.5548 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185127.5581 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.5585 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185127.5620 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.5623 8gq4jbd3ss6j57go8toqigjtq0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185127.5672 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.5675 8gq4jbd3ss6j57go8toqigjtq0 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185127.5722 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.5725 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from td where ndoc = 39
20241018@185127.5737 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185127.5751 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.5772 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185127.5790 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.5805 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185127.5831 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.5848 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185127.5860 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185127.5927 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185127.5940 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.5955 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185127.5971 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a226716712a01f8f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185127.6122 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.6137 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185127.6168 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185127.6180 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185127.6192 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185127.6204 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185127.6216 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185127.6228 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185127.6243 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a226716712a01f8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185127.6530 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185127.6567 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.6582 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185127.6605 8gq4jbd3ss6j57go8toqigjtq0 Query : select 'normal' from dummy
20241018@185127.6623 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a226716712a01f8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1360,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185127.6881 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.6884 8gq4jbd3ss6j57go8toqigjtq0 Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185127.6906 8gq4jbd3ss6j57go8toqigjtq0 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'
20241018@185127.6920 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.6934 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185127.6961 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.6976 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185127.6984 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185127.6996 8gq4jbd3ss6j57go8toqigjtq0 Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185127.7007 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.7022 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185127.7033 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a913796712a01fab','aut6712a226716712a01f8f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185127.7037 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.7050 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185127.7085 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a913796712a01fab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6712a226716712a01f8f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185127.7343 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.7346 8gq4jbd3ss6j57go8toqigjtq0 Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185127.7366 8gq4jbd3ss6j57go8toqigjtq0 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'
20241018@185127.7379 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.7394 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185127.7420 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.7434 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185127.7442 8gq4jbd3ss6j57go8toqigjtq0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185127.7453 8gq4jbd3ss6j57go8toqigjtq0 Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185127.7465 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.7479 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185127.7490 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a982586712a01fb6','aut6712a226716712a01f8f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185127.7494 8gq4jbd3ss6j57go8toqigjtq0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185127.7529 8gq4jbd3ss6j57go8toqigjtq0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185127.7558 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a982586712a01fb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6712a226716712a01f8f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185127.7785 8gq4jbd3ss6j57go8toqigjtq0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a226716712a01f8f','2406815','wait',39,'adm09112754980.682000002')
20241018@185127.7867 8gq4jbd3ss6j57go8toqigjtq0 Query : use flama_phc
20241018@185127.7869 8gq4jbd3ss6j57go8toqigjtq0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185127.7900 8gq4jbd3ss6j57go8toqigjtq0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2766';
20241018@185127.7933 8gq4jbd3ss6j57go8toqigjtq0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2766';
20241018@185127.7985 8gq4jbd3ss6j57go8toqigjtq0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2766';
20241018@185127.8014 8gq4jbd3ss6j57go8toqigjtq0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2766';
20241018@185127.8679 sdutu7358a9t08v7hlq5a5bv07 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185127.8690 sdutu7358a9t08v7hlq5a5bv07 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185127.8749 sdutu7358a9t08v7hlq5a5bv07 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2767';
20241018@185127.8805 sdutu7358a9t08v7hlq5a5bv07 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2767';
20241018@185127.8861 sdutu7358a9t08v7hlq5a5bv07 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2767';
20241018@185127.8889 sdutu7358a9t08v7hlq5a5bv07 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2767';
20241018@185127.8947 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185127.8950 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185127.9030 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185127.9033 sdutu7358a9t08v7hlq5a5bv07 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185127.9074 sdutu7358a9t08v7hlq5a5bv07 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'
20241018@185127.9203 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406816 and bi.ref ='324.1332.00.1' and bi.lordem =1
20241018@185128.1255 sdutu7358a9t08v7hlq5a5bv07 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'
20241018@185128.1791 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406816 and bi.ref ='324.1332.00.1' and bi.lordem =1
20241018@185128.1812 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.1816 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185128.1853 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.1856 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185128.1899 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.1903 sdutu7358a9t08v7hlq5a5bv07 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')
20241018@185128.1936 sdutu7358a9t08v7hlq5a5bv07 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
20241018@185128.1975 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.1978 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185128.2007 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.2010 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185128.2040 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.2043 sdutu7358a9t08v7hlq5a5bv07 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185128.2085 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.2088 sdutu7358a9t08v7hlq5a5bv07 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185128.2140 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.2142 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from td where ndoc = 39
20241018@185128.2155 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185128.2171 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.2190 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185128.2210 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.2229 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185128.2299 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.2338 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185128.2353 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185128.2418 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185128.2431 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.2446 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185128.2462 sdutu7358a9t08v7hlq5a5bv07 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a642846712a02039' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185128.2648 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.3805 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185128.3849 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185128.3862 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185128.3875 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185128.3887 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185128.3900 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185128.3912 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185128.3924 sdutu7358a9t08v7hlq5a5bv07 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a642846712a02039',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185128.4154 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185128.4180 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.4197 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185128.4221 sdutu7358a9t08v7hlq5a5bv07 Query : select 'normal' from dummy
20241018@185128.4242 sdutu7358a9t08v7hlq5a5bv07 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a642846712a02039',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1361,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185128.4512 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.4515 sdutu7358a9t08v7hlq5a5bv07 Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241018@185128.4539 sdutu7358a9t08v7hlq5a5bv07 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'
20241018@185128.4667 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.4685 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185128.4716 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.4733 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185128.4741 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185128.4753 sdutu7358a9t08v7hlq5a5bv07 Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241018@185128.4766 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.4781 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185128.4792 sdutu7358a9t08v7hlq5a5bv07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a682266712a02074','aut6712a642846712a02039' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185128.4796 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.4810 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185128.4840 sdutu7358a9t08v7hlq5a5bv07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a682266712a02074',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712a642846712a02039' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185128.5067 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.5070 sdutu7358a9t08v7hlq5a5bv07 Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241018@185128.5090 sdutu7358a9t08v7hlq5a5bv07 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'
20241018@185128.5109 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.5128 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185128.5156 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.5173 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185128.5182 sdutu7358a9t08v7hlq5a5bv07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185128.5195 sdutu7358a9t08v7hlq5a5bv07 Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241018@185128.5207 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.5223 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185128.5235 sdutu7358a9t08v7hlq5a5bv07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a143016712a0207f','aut6712a642846712a02039' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185128.5239 sdutu7358a9t08v7hlq5a5bv07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185128.5255 sdutu7358a9t08v7hlq5a5bv07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185128.5287 sdutu7358a9t08v7hlq5a5bv07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a143016712a0207f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a642846712a02039' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185128.5515 sdutu7358a9t08v7hlq5a5bv07 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a642846712a02039','2406816','wait',39,'adm09112754980.682000002')
20241018@185128.5605 sdutu7358a9t08v7hlq5a5bv07 Query : use flama_phc
20241018@185128.5608 sdutu7358a9t08v7hlq5a5bv07 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185128.5680 sdutu7358a9t08v7hlq5a5bv07 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2767';
20241018@185128.6490 sdutu7358a9t08v7hlq5a5bv07 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2767';
20241018@185128.6535 sdutu7358a9t08v7hlq5a5bv07 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2767';
20241018@185128.6568 sdutu7358a9t08v7hlq5a5bv07 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2767';
20241018@185128.7065 7a8mdim2ud6hpq1duj5bamj985 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185128.7076 7a8mdim2ud6hpq1duj5bamj985 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185128.7138 7a8mdim2ud6hpq1duj5bamj985 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2768';
20241018@185128.7199 7a8mdim2ud6hpq1duj5bamj985 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2768';
20241018@185128.7267 7a8mdim2ud6hpq1duj5bamj985 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2768';
20241018@185128.7298 7a8mdim2ud6hpq1duj5bamj985 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2768';
20241018@185128.7358 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.7362 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185128.7426 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.7429 7a8mdim2ud6hpq1duj5bamj985 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20241018@185128.7506 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20241018@185128.7630 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406817 and bi.ref ='324.600.94.01' and bi.lordem =1
20241018@185128.7932 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20241018@185128.8052 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406817 and bi.ref ='324.2000.94.1' and bi.lordem =2
20241018@185128.8352 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20241018@185128.8472 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406817 and bi.ref ='324.900.94.01' and bi.lordem =3
20241018@185128.8770 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20241018@185128.8888 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406817 and bi.ref ='324.700.94.01' and bi.lordem =4
20241018@185128.9261 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20241018@185128.9380 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406817 and bi.ref ='324.2200.94.1' and bi.lordem =5
20241018@185128.9677 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.9680 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185128.9713 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.9716 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185128.9746 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.9749 7a8mdim2ud6hpq1duj5bamj985 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')
20241018@185128.9777 7a8mdim2ud6hpq1duj5bamj985 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
20241018@185128.9810 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.9813 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20241018@185128.9908 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.9910 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185128.9940 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.9943 7a8mdim2ud6hpq1duj5bamj985 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185128.9981 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185128.9984 7a8mdim2ud6hpq1duj5bamj985 Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20241018@185129.2900 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185129.3200 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from td where ndoc = 39
20241018@185129.4400 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185129.6100 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.7700 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185129.9600 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1120 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185129.1410 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1570 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185129.1700 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185129.2330 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185129.2470 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2630 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185129.2820 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a807966712a02104' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185129.4380 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.4540 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185129.4850 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185129.4970 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185129.5090 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185129.5210 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185129.5320 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185129.5430 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185129.5540 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a807966712a02104',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185129.7650 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185129.7880 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.8050 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185129.8270 7a8mdim2ud6hpq1duj5bamj985 Query : select 'normal' from dummy
20241018@185129.8450 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a807966712a02104',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1362,199800,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185129.1097 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185129.1101 7a8mdim2ud6hpq1duj5bamj985 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20241018@185129.1123 7a8mdim2ud6hpq1duj5bamj985 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.600.94.01'
20241018@185129.1256 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1274 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.1299 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1314 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.1322 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185129.1334 7a8mdim2ud6hpq1duj5bamj985 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20241018@185129.1354 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1371 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.1383 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a434296712a02121','aut6712a807966712a02104' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185129.1387 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1402 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.1430 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a434296712a02121',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6712a807966712a02104' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185129.1655 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1671 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.1696 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1711 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.1720 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185129.1732 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1746 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.1760 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a378766712a0212a','aut6712a807966712a02104' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185129.1764 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.1779 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.1809 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a378766712a0212a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a807966712a02104' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185129.2027 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185129.2030 7a8mdim2ud6hpq1duj5bamj985 Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20241018@185129.2051 7a8mdim2ud6hpq1duj5bamj985 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.2000.94.1'
20241018@185129.2172 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2188 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.2215 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2230 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.2238 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185129.2254 7a8mdim2ud6hpq1duj5bamj985 Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20241018@185129.2280 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2295 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.2307 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a981136712a02137','aut6712a807966712a02104' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185129.2311 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2330 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.2357 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a981136712a02137',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6712a807966712a02104' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185129.2570 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185129.2574 7a8mdim2ud6hpq1duj5bamj985 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20241018@185129.2594 7a8mdim2ud6hpq1duj5bamj985 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.900.94.01'
20241018@185129.2712 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2728 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.2754 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2770 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.2779 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185129.2792 7a8mdim2ud6hpq1duj5bamj985 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20241018@185129.2813 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2828 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.2840 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a891386712a02144','aut6712a807966712a02104' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185129.2844 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.2860 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.2890 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a891386712a02144',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6712a807966712a02104' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241018@185129.3118 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185129.3121 7a8mdim2ud6hpq1duj5bamj985 Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20241018@185129.3143 7a8mdim2ud6hpq1duj5bamj985 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.700.94.01'
20241018@185129.3264 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.3282 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.3312 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.3330 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.3341 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185129.3354 7a8mdim2ud6hpq1duj5bamj985 Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20241018@185129.3369 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.3385 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.3397 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a171886712a02152','aut6712a807966712a02104' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185129.3401 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.3417 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.3450 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a171886712a02152',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6712a807966712a02104' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241018@185129.3720 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185129.3761 7a8mdim2ud6hpq1duj5bamj985 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20241018@185129.3825 7a8mdim2ud6hpq1duj5bamj985 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.2200.94.1'
20241018@185129.3949 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.3965 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.3991 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.4007 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.4016 7a8mdim2ud6hpq1duj5bamj985 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185129.4029 7a8mdim2ud6hpq1duj5bamj985 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20241018@185129.4043 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.4060 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.4072 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a110336712a02162','aut6712a807966712a02104' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185129.4078 7a8mdim2ud6hpq1duj5bamj985 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.4092 7a8mdim2ud6hpq1duj5bamj985 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.4122 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a110336712a02162',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6712a807966712a02104' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241018@185129.4344 7a8mdim2ud6hpq1duj5bamj985 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a807966712a02104','2406817','wait',39,'adm09112754980.682000002')
20241018@185129.4416 7a8mdim2ud6hpq1duj5bamj985 Query : use flama_phc
20241018@185129.4420 7a8mdim2ud6hpq1duj5bamj985 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185129.4449 7a8mdim2ud6hpq1duj5bamj985 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2768';
20241018@185129.4481 7a8mdim2ud6hpq1duj5bamj985 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2768';
20241018@185129.4526 7a8mdim2ud6hpq1duj5bamj985 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2768';
20241018@185129.4555 7a8mdim2ud6hpq1duj5bamj985 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2768';
20241018@185129.5446 aicke1e3ufblrhdsgv6ltapt9t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185129.5457 aicke1e3ufblrhdsgv6ltapt9t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185129.5517 aicke1e3ufblrhdsgv6ltapt9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2769';
20241018@185129.5573 aicke1e3ufblrhdsgv6ltapt9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2769';
20241018@185129.5631 aicke1e3ufblrhdsgv6ltapt9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2769';
20241018@185129.5659 aicke1e3ufblrhdsgv6ltapt9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2769';
20241018@185129.5709 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.5713 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185129.5773 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.5776 aicke1e3ufblrhdsgv6ltapt9t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185129.5821 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241018@185129.6745 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406829 and bi.ref ='324.2340.00.1' and bi.lordem =1
20241018@185129.7043 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20241018@185129.7063 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406829 and bi.ref ='324.2340.00.1' and bi.lordem =1
20241018@185129.7080 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.7083 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185129.7117 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.7122 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185129.7151 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.7154 aicke1e3ufblrhdsgv6ltapt9t 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')
20241018@185129.7184 aicke1e3ufblrhdsgv6ltapt9t 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
20241018@185129.7229 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.7232 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185129.7265 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.7268 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185129.7300 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.7303 aicke1e3ufblrhdsgv6ltapt9t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185129.7401 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.7444 aicke1e3ufblrhdsgv6ltapt9t Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185129.7677 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.7681 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from td where ndoc = 39
20241018@185129.7694 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185129.7709 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.7726 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185129.7746 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.7762 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185129.7792 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.7810 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185129.7823 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185129.7890 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185129.7903 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.7918 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185129.7936 aicke1e3ufblrhdsgv6ltapt9t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a794256712a021bf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185129.8088 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.8108 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185129.8143 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185129.8155 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185129.8167 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185129.8180 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185129.8192 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185129.8205 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185129.8217 aicke1e3ufblrhdsgv6ltapt9t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a794256712a021bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185129.8439 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185129.8465 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.8483 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185129.8507 aicke1e3ufblrhdsgv6ltapt9t Query : select 'normal' from dummy
20241018@185129.8523 aicke1e3ufblrhdsgv6ltapt9t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a794256712a021bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1363,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185129.8789 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.8792 aicke1e3ufblrhdsgv6ltapt9t Query : select st.usalote valor from st where st.ref = '324.2340.00.1'
20241018@185129.8817 aicke1e3ufblrhdsgv6ltapt9t 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.2340.00.1'
20241018@185129.8832 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.8849 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.8877 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.8893 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.8902 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185129.8914 aicke1e3ufblrhdsgv6ltapt9t Query : select sestamp valor from se where ref ='324.2340.00.1' and lote = 'r2100584120a'
20241018@185129.8935 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.8950 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.8963 aicke1e3ufblrhdsgv6ltapt9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a349746712a021da','aut6712a794256712a021bf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185129.8968 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.8983 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.9010 aicke1e3ufblrhdsgv6ltapt9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a349746712a021da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6712a794256712a021bf' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185129.9249 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.9253 aicke1e3ufblrhdsgv6ltapt9t Query : select st.usalote valor from st where st.ref = '324.2340.00.1'
20241018@185129.9272 aicke1e3ufblrhdsgv6ltapt9t 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.2340.00.1'
20241018@185129.9287 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.9303 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.9327 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.9342 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.9350 aicke1e3ufblrhdsgv6ltapt9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185129.9362 aicke1e3ufblrhdsgv6ltapt9t Query : select sestamp valor from se where ref ='324.2340.00.1' and lote = 'r2100584120a'
20241018@185129.9374 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.9388 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185129.9399 aicke1e3ufblrhdsgv6ltapt9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a891116712a021e4','aut6712a794256712a021bf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185129.9404 aicke1e3ufblrhdsgv6ltapt9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185129.9418 aicke1e3ufblrhdsgv6ltapt9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185129.9447 aicke1e3ufblrhdsgv6ltapt9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a891116712a021e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6712a794256712a021bf' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185129.9682 aicke1e3ufblrhdsgv6ltapt9t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a794256712a021bf','2406829','wait',39,'adm09112754980.682000002')
20241018@185129.9811 aicke1e3ufblrhdsgv6ltapt9t Query : use flama_phc
20241018@185129.9814 aicke1e3ufblrhdsgv6ltapt9t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185129.9843 aicke1e3ufblrhdsgv6ltapt9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2769';
20241018@185129.9875 aicke1e3ufblrhdsgv6ltapt9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2769';
20241018@185129.9916 aicke1e3ufblrhdsgv6ltapt9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2769';
20241018@185129.9944 aicke1e3ufblrhdsgv6ltapt9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2769';
20241018@185130.1720 bf6m8t31bu8jhgd874fnldusfc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185130.1731 bf6m8t31bu8jhgd874fnldusfc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185130.1798 bf6m8t31bu8jhgd874fnldusfc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2770';
20241018@185130.1851 bf6m8t31bu8jhgd874fnldusfc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2770';
20241018@185130.1914 bf6m8t31bu8jhgd874fnldusfc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2770';
20241018@185130.1944 bf6m8t31bu8jhgd874fnldusfc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2770';
20241018@185130.2004 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.2007 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185130.2079 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.2082 bf6m8t31bu8jhgd874fnldusfc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20241018@185130.2168 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20241018@185130.2190 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406847 and bi.ref ='304.422.00.07' and bi.lordem =1
20241018@185130.2493 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241018@185130.2672 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406847 and bi.ref ='304.421.00.04' and bi.lordem =2
20241018@185130.2978 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20241018@185130.3099 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406847 and bi.ref ='324.4960.00.1' and bi.lordem =3
20241018@185130.3401 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20241018@185130.3422 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406847 and bi.ref ='324.4960.00.1' and bi.lordem =3
20241018@185130.3448 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.3465 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185130.3497 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.3500 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185130.3530 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.3533 bf6m8t31bu8jhgd874fnldusfc 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')
20241018@185130.3562 bf6m8t31bu8jhgd874fnldusfc 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
20241018@185130.3605 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.3608 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20241018@185130.3703 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.3706 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185130.3737 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.3740 bf6m8t31bu8jhgd874fnldusfc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185130.3781 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.3784 bf6m8t31bu8jhgd874fnldusfc Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20241018@185130.3946 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.3949 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from td where ndoc = 39
20241018@185130.3962 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185130.3977 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.3994 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185130.4013 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.4028 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185130.4059 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.4073 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185130.4087 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185130.4150 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185130.4164 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.4179 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185130.4196 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a676076712a02263' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185130.4354 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.4374 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185130.4409 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185130.4422 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185130.4435 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185130.4447 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185130.4460 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185130.4471 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185130.4482 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a676076712a02263',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185130.4703 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185130.4728 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.4744 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185130.4767 bf6m8t31bu8jhgd874fnldusfc Query : select 'normal' from dummy
20241018@185130.4783 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a676076712a02263',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1364,101900,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185130.5261 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.5264 bf6m8t31bu8jhgd874fnldusfc Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241018@185130.5285 bf6m8t31bu8jhgd874fnldusfc 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.422.00.07'
20241018@185130.5304 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.5320 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.5347 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.5362 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.5371 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185130.5383 bf6m8t31bu8jhgd874fnldusfc Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241004'
20241018@185130.5399 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.5414 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.5428 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a697826712a02283','aut6712a676076712a02263' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185130.5433 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.5448 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.5479 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a697826712a02283',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6712a676076712a02263' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185130.5710 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.5714 bf6m8t31bu8jhgd874fnldusfc Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241018@185130.5735 bf6m8t31bu8jhgd874fnldusfc 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.421.00.04'
20241018@185130.5854 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.5871 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.5896 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.5911 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.5919 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185130.5932 bf6m8t31bu8jhgd874fnldusfc Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241002'
20241018@185130.5958 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.5973 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.5984 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a701976712a02291','aut6712a676076712a02263' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185130.5988 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6003 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.6032 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a701976712a02291',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut6712a676076712a02263' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185130.6275 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6293 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.6325 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6340 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.6349 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185130.6363 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6378 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.6392 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a104636712a0229b','aut6712a676076712a02263' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185130.6396 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6411 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.6443 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a104636712a0229b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a676076712a02263' ,0,0 ,2,23.00,30000,?,?,?)
20241018@185130.6677 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.6680 bf6m8t31bu8jhgd874fnldusfc Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241018@185130.6701 bf6m8t31bu8jhgd874fnldusfc 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.4960.00.1'
20241018@185130.6825 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6845 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.6870 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6885 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.6893 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185130.6905 bf6m8t31bu8jhgd874fnldusfc Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241018@185130.6924 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6941 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.6954 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a006966712a022a9','aut6712a676076712a02263' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185130.6958 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.6972 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.7022 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a006966712a022a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6712a676076712a02263' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241018@185130.7260 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.7263 bf6m8t31bu8jhgd874fnldusfc Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241018@185130.7288 bf6m8t31bu8jhgd874fnldusfc 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.4960.00.1'
20241018@185130.7301 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.7317 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.7343 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.7357 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.7365 bf6m8t31bu8jhgd874fnldusfc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185130.7383 bf6m8t31bu8jhgd874fnldusfc Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241018@185130.7395 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.7411 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185130.7423 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a079076712a022b4','aut6712a676076712a02263' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185130.7427 bf6m8t31bu8jhgd874fnldusfc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185130.7442 bf6m8t31bu8jhgd874fnldusfc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185130.7474 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a079076712a022b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6712a676076712a02263' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241018@185130.7699 bf6m8t31bu8jhgd874fnldusfc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a676076712a02263','2406847','wait',39,'adm09112754980.682000002')
20241018@185130.7768 bf6m8t31bu8jhgd874fnldusfc Query : use flama_phc
20241018@185130.7771 bf6m8t31bu8jhgd874fnldusfc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185130.7801 bf6m8t31bu8jhgd874fnldusfc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2770';
20241018@185130.7832 bf6m8t31bu8jhgd874fnldusfc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2770';
20241018@185130.7873 bf6m8t31bu8jhgd874fnldusfc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2770';
20241018@185130.7902 bf6m8t31bu8jhgd874fnldusfc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2770';
20241018@185130.8577 vi5ja30fmdlhcdtcf2eqm8d5hp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185130.9351 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185130.9414 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2771';
20241018@185130.9468 vi5ja30fmdlhcdtcf2eqm8d5hp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2771';
20241018@185130.9519 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2771';
20241018@185130.9548 vi5ja30fmdlhcdtcf2eqm8d5hp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2771';
20241018@185130.9595 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185130.9598 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185130.9657 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185130.9660 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185130.9903 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241018@185131.2900 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406849 and bi.ref ='324.1329.00.1' and bi.lordem =1
20241018@185131.3270 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.3300 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185131.3640 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.3670 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185131.3980 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.4000 vi5ja30fmdlhcdtcf2eqm8d5hp 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')
20241018@185131.4280 vi5ja30fmdlhcdtcf2eqm8d5hp 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
20241018@185131.4610 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.4640 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185131.4920 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.4950 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185131.5230 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.5250 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185131.5630 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.5660 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185131.6080 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.6110 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from td where ndoc = 39
20241018@185131.6240 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185131.6380 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6540 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185131.6730 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6880 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185131.7180 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7330 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185131.7440 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185131.8070 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185131.8200 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.8420 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185131.8580 vi5ja30fmdlhcdtcf2eqm8d5hp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a011186712a02312' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185131.1017 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.1038 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185131.1071 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185131.1083 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185131.1096 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185131.1109 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185131.1133 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185131.1154 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185131.1165 vi5ja30fmdlhcdtcf2eqm8d5hp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a011186712a02312',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185131.1392 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185131.1416 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.1433 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185131.1456 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 'normal' from dummy
20241018@185131.1471 vi5ja30fmdlhcdtcf2eqm8d5hp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a011186712a02312',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1365,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185131.1739 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.1742 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241018@185131.1764 vi5ja30fmdlhcdtcf2eqm8d5hp 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.1329.00.1'
20241018@185131.1883 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.1901 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.1928 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.1943 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.1952 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185131.1966 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20241018@185131.1979 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.1994 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.2005 vi5ja30fmdlhcdtcf2eqm8d5hp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a539806712a02330','aut6712a011186712a02312' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185131.2009 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.2023 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.2056 vi5ja30fmdlhcdtcf2eqm8d5hp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a539806712a02330',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6712a011186712a02312' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185131.2352 vi5ja30fmdlhcdtcf2eqm8d5hp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a011186712a02312','2406849','wait',39,'adm09112754980.682000002')
20241018@185131.2463 vi5ja30fmdlhcdtcf2eqm8d5hp Query : use flama_phc
20241018@185131.2466 vi5ja30fmdlhcdtcf2eqm8d5hp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185131.2511 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2771';
20241018@185131.2553 vi5ja30fmdlhcdtcf2eqm8d5hp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2771';
20241018@185131.2615 vi5ja30fmdlhcdtcf2eqm8d5hp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2771';
20241018@185131.2645 vi5ja30fmdlhcdtcf2eqm8d5hp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2771';
20241018@185131.3179 30ot17dkftt2a8sba5m8mp0f07 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185131.3196 30ot17dkftt2a8sba5m8mp0f07 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185131.3276 30ot17dkftt2a8sba5m8mp0f07 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2772';
20241018@185131.3342 30ot17dkftt2a8sba5m8mp0f07 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2772';
20241018@185131.3423 30ot17dkftt2a8sba5m8mp0f07 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2772';
20241018@185131.3458 30ot17dkftt2a8sba5m8mp0f07 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2772';
20241018@185131.3526 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.3529 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185131.3611 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.3614 30ot17dkftt2a8sba5m8mp0f07 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185131.3657 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241018@185131.3788 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406859 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241018@185131.4220 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241018@185131.4242 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406859 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241018@185131.4263 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241018@185131.4285 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406859 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241018@185131.4309 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241018@185131.4398 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406859 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241018@185131.4418 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241018@185131.4442 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406859 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241018@185131.4460 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20241018@185131.4480 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406859 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241018@185131.4499 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.4502 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185131.4542 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.4545 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185131.4581 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.4583 30ot17dkftt2a8sba5m8mp0f07 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')
20241018@185131.4619 30ot17dkftt2a8sba5m8mp0f07 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
20241018@185131.4660 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.4663 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185131.4700 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.4703 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185131.4741 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.4746 30ot17dkftt2a8sba5m8mp0f07 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185131.4797 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.4800 30ot17dkftt2a8sba5m8mp0f07 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185131.4850 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.4853 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from td where ndoc = 39
20241018@185131.4865 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185131.4879 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.4895 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185131.4914 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.4931 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185131.4959 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.4974 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185131.4986 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185131.5051 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185131.5064 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.5078 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185131.5253 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185131.5453 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.5470 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185131.5505 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185131.5518 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185131.5532 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185131.5545 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185131.5557 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185131.5570 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185131.5582 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a234306712a02379',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185131.5798 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185131.5824 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.5842 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185131.5867 30ot17dkftt2a8sba5m8mp0f07 Query : select 'normal' from dummy
20241018@185131.5884 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a234306712a02379',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1366,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185131.6129 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.6132 30ot17dkftt2a8sba5m8mp0f07 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241018@185131.6156 30ot17dkftt2a8sba5m8mp0f07 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.1416.00.1'
20241018@185131.6291 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6307 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.6333 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6354 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.6366 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185131.6379 30ot17dkftt2a8sba5m8mp0f07 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241018@185131.6404 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6420 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.6432 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a045456712a0239c','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185131.6436 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6451 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.6480 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a045456712a0239c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185131.6721 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6738 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.6768 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6784 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.6792 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185131.6808 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6822 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.6834 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a077416712a023a6','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185131.6838 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.6855 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.6883 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a077416712a023a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185131.7106 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.7109 30ot17dkftt2a8sba5m8mp0f07 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241018@185131.7129 30ot17dkftt2a8sba5m8mp0f07 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.1416.00.1'
20241018@185131.7143 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7158 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.7185 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7202 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.7211 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185131.7223 30ot17dkftt2a8sba5m8mp0f07 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241018@185131.7236 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7251 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.7262 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a975946712a023b0','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185131.7266 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7281 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.7311 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a975946712a023b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185131.7539 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7555 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.7581 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7598 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.7607 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185131.7619 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7634 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.7645 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a814746712a023ba','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185131.7649 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7663 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.7691 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a814746712a023ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,50000,?,?,?)
20241018@185131.7917 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.7920 30ot17dkftt2a8sba5m8mp0f07 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241018@185131.7944 30ot17dkftt2a8sba5m8mp0f07 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.1416.00.1'
20241018@185131.7958 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.7997 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.8024 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.8041 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.8049 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185131.8062 30ot17dkftt2a8sba5m8mp0f07 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241018@185131.8074 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.8089 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.8101 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a011216712a023c5','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185131.8105 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.8120 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.8149 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a011216712a023c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241018@185131.8388 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.8404 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.9577 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.9596 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.9605 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185131.9617 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.9636 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185131.9648 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a867706712a023ea','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185131.9652 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.9667 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185131.9697 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a867706712a023ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,80000,?,?,?)
20241018@185131.9926 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185131.9930 30ot17dkftt2a8sba5m8mp0f07 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241018@185131.9950 30ot17dkftt2a8sba5m8mp0f07 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.1416.00.1'
20241018@185131.9964 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185131.9981 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.9000 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2400 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.3300 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185132.4500 30ot17dkftt2a8sba5m8mp0f07 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241018@185132.5900 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.7400 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.9000 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a003826712a02401','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185132.9500 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.1100 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.1410 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a003826712a02401',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241018@185132.3890 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.4060 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.4350 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.4510 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.4590 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185132.4710 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.4860 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.4990 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a511576712a0240b','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185132.5030 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.5180 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.5500 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a511576712a0240b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,110000,?,?,?)
20241018@185132.7710 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185132.7740 30ot17dkftt2a8sba5m8mp0f07 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241018@185132.7930 30ot17dkftt2a8sba5m8mp0f07 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.1416.00.1'
20241018@185132.8070 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.8220 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.1672 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.1690 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.1701 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185132.1714 30ot17dkftt2a8sba5m8mp0f07 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241018@185132.1727 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.1742 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.1754 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a051796712a0242a','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185132.1758 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.1772 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.1802 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a051796712a0242a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241018@185132.2033 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2053 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.2079 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2096 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.2104 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185132.2116 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2130 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.2141 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a554116712a02433','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185132.2145 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2159 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.2186 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a554116712a02433',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,140000,?,?,?)
