20240724@183610.4290 ntbetsq9kfd0iomcsp09o9330v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@191909.3867 6puseqlp75fccbrlk247rr2he9 Query : use flama_phc
20240724@191909.3874 6puseqlp75fccbrlk247rr2he9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240724@191909.3982 6puseqlp75fccbrlk247rr2he9 Query : use flama_phc
20240724@191909.3986 6puseqlp75fccbrlk247rr2he9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@193609.2561 a7uftce07ij7128530udom3bbh Query : use flama_phc
20240724@193609.2566 a7uftce07ij7128530udom3bbh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240724@193609.2663 a7uftce07ij7128530udom3bbh Query : use flama_phc
20240724@193609.2667 a7uftce07ij7128530udom3bbh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195644.6000 0qgeifc4bf92qvi93ps1avfpdj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195644.2000 0qgeifc4bf92qvi93ps1avfpdj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195644.8400 0qgeifc4bf92qvi93ps1avfpdj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1148';
20240724@195644.2650 0qgeifc4bf92qvi93ps1avfpdj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1148';
20240724@195644.1505 0qgeifc4bf92qvi93ps1avfpdj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1148';
20240724@195644.1535 0qgeifc4bf92qvi93ps1avfpdj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1148';
20240724@195644.1598 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.1602 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195644.1674 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.1678 0qgeifc4bf92qvi93ps1avfpdj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240724@195644.1767 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20240724@195644.1897 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404902 and bi.ref ='324.969.00.01' and bi.lordem =1
20240724@195644.2215 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.2218 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195644.3126 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.3130 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195644.3242 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.3246 0qgeifc4bf92qvi93ps1avfpdj 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')
20240724@195644.3288 0qgeifc4bf92qvi93ps1avfpdj 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
20240724@195644.3531 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.3536 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240724@195644.3653 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.3656 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195644.3727 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.3730 0qgeifc4bf92qvi93ps1avfpdj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195644.3815 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.3819 0qgeifc4bf92qvi93ps1avfpdj Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240724@195644.3870 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.3874 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from td where ndoc = 39
20240724@195644.3928 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195644.3979 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.4085 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195644.4110 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.4127 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195644.4162 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.4180 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195644.4198 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195644.4387 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195644.4456 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.4473 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195644.4490 0qgeifc4bf92qvi93ps1avfpdj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a148570566a14e6c66' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195644.4767 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.4798 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195644.4838 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195644.4957 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195644.5029 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195644.5096 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195644.5165 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195644.5228 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195644.5308 0qgeifc4bf92qvi93ps1avfpdj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a148570566a14e6c66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195644.6105 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195644.6162 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.6178 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195644.6206 0qgeifc4bf92qvi93ps1avfpdj Query : select 'normal' from dummy
20240724@195644.6253 0qgeifc4bf92qvi93ps1avfpdj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a148570566a14e6c66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6,101597,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195644.6628 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.6632 0qgeifc4bf92qvi93ps1avfpdj Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20240724@195644.6727 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20240724@195644.6871 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.6901 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195644.6933 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.6952 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195644.6965 0qgeifc4bf92qvi93ps1avfpdj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195644.6979 0qgeifc4bf92qvi93ps1avfpdj Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20240724@195644.7020 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.7037 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195644.7050 0qgeifc4bf92qvi93ps1avfpdj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143382966a14e6cab','aut66a148570566a14e6c66' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195644.7098 0qgeifc4bf92qvi93ps1avfpdj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195644.7115 0qgeifc4bf92qvi93ps1avfpdj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195644.7149 0qgeifc4bf92qvi93ps1avfpdj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a143382966a14e6cab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a148570566a14e6c66' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195644.7568 0qgeifc4bf92qvi93ps1avfpdj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a148570566a14e6c66','2404902','wait',39,'adm09112754980.682000002')
20240724@195644.7656 0qgeifc4bf92qvi93ps1avfpdj Query : use flama_phc
20240724@195644.7660 0qgeifc4bf92qvi93ps1avfpdj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195644.7692 0qgeifc4bf92qvi93ps1avfpdj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1148';
20240724@195644.7722 0qgeifc4bf92qvi93ps1avfpdj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1148';
20240724@195644.8971 0qgeifc4bf92qvi93ps1avfpdj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1148';
20240724@195644.9004 0qgeifc4bf92qvi93ps1avfpdj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1148';
20240724@195644.9563 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195644.9574 8ndhrv7u333ecd2hrn2c9blg5h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195644.9638 8ndhrv7u333ecd2hrn2c9blg5h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1149';
20240724@195644.9713 8ndhrv7u333ecd2hrn2c9blg5h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1149';
20240724@195644.9767 8ndhrv7u333ecd2hrn2c9blg5h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1149';
20240724@195644.9801 8ndhrv7u333ecd2hrn2c9blg5h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1149';
20240724@195644.9872 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195644.9876 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195644.9947 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195644.9950 8ndhrv7u333ecd2hrn2c9blg5h Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20240724@195645.4900 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240724@195645.1760 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404913 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240724@195645.4720 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240724@195645.5900 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404913 and bi.ref ='324.4751.00.1' and bi.lordem =2
20240724@195645.9730 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240724@195645.1090 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404913 and bi.ref ='324.4421.00.1' and bi.lordem =3
20240724@195645.1384 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240724@195645.1498 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404913 and bi.ref ='324.691.00.01' and bi.lordem =4
20240724@195645.1780 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.1783 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195645.1827 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.1830 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195645.1862 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.1866 8ndhrv7u333ecd2hrn2c9blg5h 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')
20240724@195645.1894 8ndhrv7u333ecd2hrn2c9blg5h 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
20240724@195645.1931 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.1935 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20240724@195645.2040 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.2043 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195645.2074 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.2077 8ndhrv7u333ecd2hrn2c9blg5h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195645.2115 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.2119 8ndhrv7u333ecd2hrn2c9blg5h Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20240724@195645.2164 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.2167 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from td where ndoc = 39
20240724@195645.2179 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195645.2193 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.2210 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195645.2229 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.2244 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195645.2274 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.2288 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195645.2301 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195645.2383 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195645.2396 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.2413 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195645.2429 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a145710766a14e6d38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195645.2581 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.2602 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195645.2657 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195645.2670 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195645.2682 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195645.2694 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195645.2706 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195645.2718 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195645.2729 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a145710766a14e6d38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195645.2939 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195645.2956 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.2972 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195645.2995 8ndhrv7u333ecd2hrn2c9blg5h Query : select 'normal' from dummy
20240724@195645.3011 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a145710766a14e6d38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7,102253,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195645.3285 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.3288 8ndhrv7u333ecd2hrn2c9blg5h Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240724@195645.3311 8ndhrv7u333ecd2hrn2c9blg5h 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.4320.00.1'
20240724@195645.3429 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.3448 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.3478 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.3496 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.3505 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195645.3519 8ndhrv7u333ecd2hrn2c9blg5h Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240897'
20240724@195645.3541 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.3559 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.3573 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145175666a14e6d56','aut66a145710766a14e6d38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195645.3578 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.3595 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.3630 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a145175666a14e6d56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66a145710766a14e6d38' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195645.3949 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.3953 8ndhrv7u333ecd2hrn2c9blg5h Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240724@195645.3978 8ndhrv7u333ecd2hrn2c9blg5h 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.4751.00.1'
20240724@195645.4103 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.4122 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.4151 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.4168 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.4178 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195645.4190 8ndhrv7u333ecd2hrn2c9blg5h Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240724@195645.4212 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.4240 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.4252 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144322666a14e6d66','aut66a145710766a14e6d38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195645.4257 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.4273 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.4305 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a144322666a14e6d66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145710766a14e6d38' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240724@195645.4527 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.4531 8ndhrv7u333ecd2hrn2c9blg5h Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240724@195645.4556 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20240724@195645.4695 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.4714 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.4740 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.4756 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.4765 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195645.4780 8ndhrv7u333ecd2hrn2c9blg5h Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2100324100a'
20240724@195645.4812 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.4841 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.4853 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140543066a14e6d75','aut66a145710766a14e6d38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195645.4857 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.4874 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.4906 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a140543066a14e6d75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66a145710766a14e6d38' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240724@195645.5151 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.5176 8ndhrv7u333ecd2hrn2c9blg5h Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240724@195645.5202 8ndhrv7u333ecd2hrn2c9blg5h 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.691.00.01'
20240724@195645.5341 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.5361 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.5397 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.5416 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.5426 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195645.5444 8ndhrv7u333ecd2hrn2c9blg5h Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240724@195645.5468 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.5487 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.5502 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147938266a14e6d85','aut66a145710766a14e6d38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195645.5509 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.5540 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.5590 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a147938266a14e6d85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a145710766a14e6d38' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240724@195645.5860 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.5907 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.5939 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.5959 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.5969 8ndhrv7u333ecd2hrn2c9blg5h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195645.5984 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.6001 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195645.6016 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141704566a14e6d92','aut66a145710766a14e6d38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195645.6024 8ndhrv7u333ecd2hrn2c9blg5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.6042 8ndhrv7u333ecd2hrn2c9blg5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195645.6076 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a141704566a14e6d92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145710766a14e6d38' ,0,0 ,2,23.00,50000,?,?,?)
20240724@195645.6509 8ndhrv7u333ecd2hrn2c9blg5h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a145710766a14e6d38','2404913','wait',39,'adm09112754980.682000002')
20240724@195645.6588 8ndhrv7u333ecd2hrn2c9blg5h Query : use flama_phc
20240724@195645.6592 8ndhrv7u333ecd2hrn2c9blg5h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195645.6627 8ndhrv7u333ecd2hrn2c9blg5h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1149';
20240724@195645.6660 8ndhrv7u333ecd2hrn2c9blg5h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1149';
20240724@195645.6703 8ndhrv7u333ecd2hrn2c9blg5h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1149';
20240724@195645.6733 8ndhrv7u333ecd2hrn2c9blg5h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1149';
20240724@195645.8553 0195kh79p71smiq95768blu9c1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195645.8564 0195kh79p71smiq95768blu9c1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195645.8624 0195kh79p71smiq95768blu9c1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1150';
20240724@195645.8683 0195kh79p71smiq95768blu9c1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1150';
20240724@195645.8734 0195kh79p71smiq95768blu9c1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1150';
20240724@195645.8763 0195kh79p71smiq95768blu9c1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1150';
20240724@195645.8810 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.8815 0195kh79p71smiq95768blu9c1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195645.8882 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.8885 0195kh79p71smiq95768blu9c1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20240724@195645.8929 0195kh79p71smiq95768blu9c1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240724@195645.9112 0195kh79p71smiq95768blu9c1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404914 and bi.ref ='324.1608.00.1' and bi.lordem =1
20240724@195645.9440 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.9443 0195kh79p71smiq95768blu9c1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195645.9482 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.9487 0195kh79p71smiq95768blu9c1 Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195645.9520 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.9524 0195kh79p71smiq95768blu9c1 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')
20240724@195645.9557 0195kh79p71smiq95768blu9c1 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
20240724@195645.9601 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.9606 0195kh79p71smiq95768blu9c1 Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20240724@195645.9659 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.9664 0195kh79p71smiq95768blu9c1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195645.9697 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.9700 0195kh79p71smiq95768blu9c1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195645.9743 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.9747 0195kh79p71smiq95768blu9c1 Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20240724@195645.9797 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195645.9800 0195kh79p71smiq95768blu9c1 Query : select 1 valor from td where ndoc = 39
20240724@195645.9814 0195kh79p71smiq95768blu9c1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195645.9856 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.9876 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195645.9898 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.9915 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195645.9946 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195645.9962 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195645.9977 0195kh79p71smiq95768blu9c1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195646.5400 0195kh79p71smiq95768blu9c1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195646.6800 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.8400 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195646.1010 0195kh79p71smiq95768blu9c1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a143796466a14e6df3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195646.2650 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.2830 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195646.3170 0195kh79p71smiq95768blu9c1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195646.3290 0195kh79p71smiq95768blu9c1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195646.3410 0195kh79p71smiq95768blu9c1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195646.3530 0195kh79p71smiq95768blu9c1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195646.3660 0195kh79p71smiq95768blu9c1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195646.3780 0195kh79p71smiq95768blu9c1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195646.3900 0195kh79p71smiq95768blu9c1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a143796466a14e6df3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195646.6270 0195kh79p71smiq95768blu9c1 Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195646.6420 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.6580 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195646.6800 0195kh79p71smiq95768blu9c1 Query : select 'normal' from dummy
20240724@195646.7110 0195kh79p71smiq95768blu9c1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a143796466a14e6df3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8,102253,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195646.1023 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195646.1026 0195kh79p71smiq95768blu9c1 Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240724@195646.1050 0195kh79p71smiq95768blu9c1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20240724@195646.1176 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.1193 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195646.1220 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.1236 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195646.1245 0195kh79p71smiq95768blu9c1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195646.1257 0195kh79p71smiq95768blu9c1 Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2200658200a'
20240724@195646.1277 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.1293 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195646.1305 0195kh79p71smiq95768blu9c1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145961166a14e6e1f','aut66a143796466a14e6df3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195646.1309 0195kh79p71smiq95768blu9c1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.1324 0195kh79p71smiq95768blu9c1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195646.1363 0195kh79p71smiq95768blu9c1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a145961166a14e6e1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66a143796466a14e6df3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195646.1610 0195kh79p71smiq95768blu9c1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a143796466a14e6df3','2404914','wait',39,'adm09112754980.682000002')
20240724@195646.1681 0195kh79p71smiq95768blu9c1 Query : use flama_phc
20240724@195646.1684 0195kh79p71smiq95768blu9c1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195646.1715 0195kh79p71smiq95768blu9c1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1150';
20240724@195646.1742 0195kh79p71smiq95768blu9c1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1150';
20240724@195646.1795 0195kh79p71smiq95768blu9c1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1150';
20240724@195646.1821 0195kh79p71smiq95768blu9c1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1150';
20240724@195646.2549 034tqma3kretj643j1m111em12 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195646.2562 034tqma3kretj643j1m111em12 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195646.2614 034tqma3kretj643j1m111em12 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1151';
20240724@195646.2687 034tqma3kretj643j1m111em12 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1151';
20240724@195646.2732 034tqma3kretj643j1m111em12 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1151';
20240724@195646.2766 034tqma3kretj643j1m111em12 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1151';
20240724@195646.2810 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.2814 034tqma3kretj643j1m111em12 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195646.2882 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.2885 034tqma3kretj643j1m111em12 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240724@195646.3142 034tqma3kretj643j1m111em12 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240724@195646.3261 034tqma3kretj643j1m111em12 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404915 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240724@195646.3563 034tqma3kretj643j1m111em12 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240724@195646.3599 034tqma3kretj643j1m111em12 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404915 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240724@195646.3619 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.3624 034tqma3kretj643j1m111em12 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195646.3672 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.3676 034tqma3kretj643j1m111em12 Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195646.3719 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.3724 034tqma3kretj643j1m111em12 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')
20240724@195646.3753 034tqma3kretj643j1m111em12 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
20240724@195646.3791 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.3794 034tqma3kretj643j1m111em12 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240724@195646.3937 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.3949 034tqma3kretj643j1m111em12 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195646.3982 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.3985 034tqma3kretj643j1m111em12 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195646.4030 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.4033 034tqma3kretj643j1m111em12 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240724@195646.4102 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.4105 034tqma3kretj643j1m111em12 Query : select 1 valor from td where ndoc = 39
20240724@195646.4119 034tqma3kretj643j1m111em12 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195646.4136 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.4154 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195646.4175 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.4195 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195646.4268 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.5533 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195646.5548 034tqma3kretj643j1m111em12 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195646.5625 034tqma3kretj643j1m111em12 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195646.5640 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.5658 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195646.5677 034tqma3kretj643j1m111em12 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a149097966a14e6e87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195646.5848 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.5868 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195646.5908 034tqma3kretj643j1m111em12 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195646.5924 034tqma3kretj643j1m111em12 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195646.5936 034tqma3kretj643j1m111em12 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195646.5949 034tqma3kretj643j1m111em12 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195646.5963 034tqma3kretj643j1m111em12 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195646.5988 034tqma3kretj643j1m111em12 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195646.6000 034tqma3kretj643j1m111em12 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a149097966a14e6e87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195646.6219 034tqma3kretj643j1m111em12 Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195646.6238 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.6289 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195646.6315 034tqma3kretj643j1m111em12 Query : select 'normal' from dummy
20240724@195646.6333 034tqma3kretj643j1m111em12 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a149097966a14e6e87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9,100810,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195646.6614 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.6619 034tqma3kretj643j1m111em12 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240724@195646.6642 034tqma3kretj643j1m111em12 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240724@195646.6762 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.6782 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195646.6813 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.6832 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195646.6843 034tqma3kretj643j1m111em12 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195646.6858 034tqma3kretj643j1m111em12 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240724@195646.6882 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.6898 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195646.6912 034tqma3kretj643j1m111em12 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144274566a14e6ea8','aut66a149097966a14e6e87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195646.6919 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.6956 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195646.6989 034tqma3kretj643j1m111em12 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a144274566a14e6ea8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',78.000 ,'aut66a149097966a14e6e87' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195646.7247 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.7251 034tqma3kretj643j1m111em12 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240724@195646.7276 034tqma3kretj643j1m111em12 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240724@195646.7294 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.7323 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195646.7358 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.7378 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195646.7391 034tqma3kretj643j1m111em12 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195646.7407 034tqma3kretj643j1m111em12 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240724@195646.7423 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.7444 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195646.7481 034tqma3kretj643j1m111em12 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148540866a14e6eb5','aut66a149097966a14e6e87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195646.7488 034tqma3kretj643j1m111em12 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195646.7521 034tqma3kretj643j1m111em12 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195646.7559 034tqma3kretj643j1m111em12 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a148540866a14e6eb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66a149097966a14e6e87' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240724@195646.7881 034tqma3kretj643j1m111em12 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a149097966a14e6e87','2404915','wait',39,'adm09112754980.682000002')
20240724@195646.8675 034tqma3kretj643j1m111em12 Query : use flama_phc
20240724@195646.8680 034tqma3kretj643j1m111em12 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195646.8714 034tqma3kretj643j1m111em12 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1151';
20240724@195646.8763 034tqma3kretj643j1m111em12 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1151';
20240724@195646.9281 034tqma3kretj643j1m111em12 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1151';
20240724@195646.9393 034tqma3kretj643j1m111em12 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1151';
20240724@195647.1410 v62n18qkdji020tj9ulf51nnr3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195647.1560 v62n18qkdji020tj9ulf51nnr3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195647.2130 v62n18qkdji020tj9ulf51nnr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1152';
20240724@195647.2740 v62n18qkdji020tj9ulf51nnr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1152';
20240724@195647.3230 v62n18qkdji020tj9ulf51nnr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1152';
20240724@195647.3490 v62n18qkdji020tj9ulf51nnr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1152';
20240724@195647.3960 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.4110 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195647.4890 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.4940 v62n18qkdji020tj9ulf51nnr3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240724@195647.5390 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240724@195647.6670 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404916 and bi.ref ='324.682.00.01' and bi.lordem =1
20240724@195647.9900 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240724@195647.1011 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404916 and bi.ref ='324.682.00.01' and bi.lordem =1
20240724@195647.1028 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240724@195647.1048 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404916 and bi.ref ='324.682.00.01' and bi.lordem =1
20240724@195647.1065 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.1069 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195647.1102 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.1105 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195647.1134 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.1136 v62n18qkdji020tj9ulf51nnr3 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')
20240724@195647.1165 v62n18qkdji020tj9ulf51nnr3 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
20240724@195647.1273 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.1277 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240724@195647.1377 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.1444 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195647.1854 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.1858 v62n18qkdji020tj9ulf51nnr3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195647.1899 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.1902 v62n18qkdji020tj9ulf51nnr3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240724@195647.1956 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.1959 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from td where ndoc = 39
20240724@195647.1974 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195647.1988 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.2005 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195647.2029 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.2045 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195647.2081 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.2284 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195647.2561 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195647.2937 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195647.3071 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.3087 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195647.3107 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a144586566a14e6f3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195647.3325 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.3344 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195647.3388 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195647.3400 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195647.3415 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195647.3428 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195647.3439 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195647.3451 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195647.3465 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a144586566a14e6f3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195647.3674 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195647.3697 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.3726 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195647.3757 v62n18qkdji020tj9ulf51nnr3 Query : select 'normal' from dummy
20240724@195647.3783 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a144586566a14e6f3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10,100810,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195647.4065 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.4069 v62n18qkdji020tj9ulf51nnr3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240724@195647.4091 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240724@195647.4206 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.4223 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.4249 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.4264 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.4273 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195647.4286 v62n18qkdji020tj9ulf51nnr3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2301244100a'
20240724@195647.4313 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.4328 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.4340 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141451166a14e6f69','aut66a144586566a14e6f3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195647.4345 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.4362 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.4394 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a141451166a14e6f69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a144586566a14e6f3e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195647.4637 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.4658 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.4690 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.4708 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.4718 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195647.4731 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.4747 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.4759 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147193966a14e6f73','aut66a144586566a14e6f3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195647.4764 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.4781 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.4811 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a147193966a14e6f73',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a144586566a14e6f3e' ,0,0 ,2,23.00,20000,?,?,?)
20240724@195647.5049 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.5053 v62n18qkdji020tj9ulf51nnr3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240724@195647.5073 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240724@195647.5088 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.5105 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.5134 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.5149 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.5159 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195647.5173 v62n18qkdji020tj9ulf51nnr3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2301244100a'
20240724@195647.5186 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.5201 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.5213 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145522866a14e6f7e','aut66a144586566a14e6f3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195647.5218 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.5232 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.5284 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a145522866a14e6f7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66a144586566a14e6f3e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240724@195647.5705 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.5788 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.5822 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.5842 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.5851 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195647.5866 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.5885 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.5897 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146130166a14e6f8f','aut66a144586566a14e6f3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195647.5902 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.5921 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.5955 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a146130166a14e6f8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a144586566a14e6f3e' ,0,0 ,2,23.00,50000,?,?,?)
20240724@195647.6175 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.6178 v62n18qkdji020tj9ulf51nnr3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240724@195647.6198 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240724@195647.6212 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.6228 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.6256 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.6275 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.6284 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195647.6296 v62n18qkdji020tj9ulf51nnr3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2301244100a'
20240724@195647.6308 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.6324 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.6335 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140721166a14e6f9a','aut66a144586566a14e6f3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195647.6340 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.6354 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.6383 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a140721166a14e6f9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66a144586566a14e6f3e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240724@195647.6609 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.6626 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.6651 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.6666 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.6675 v62n18qkdji020tj9ulf51nnr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195647.6688 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.6703 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195647.7404 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144827866a14e6fa3','aut66a144586566a14e6f3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195647.7916 v62n18qkdji020tj9ulf51nnr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195647.7938 v62n18qkdji020tj9ulf51nnr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195647.8011 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a144827866a14e6fa3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a144586566a14e6f3e' ,0,0 ,2,23.00,80000,?,?,?)
20240724@195647.8391 v62n18qkdji020tj9ulf51nnr3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a144586566a14e6f3e','2404916','wait',39,'adm09112754980.682000002')
20240724@195647.8642 v62n18qkdji020tj9ulf51nnr3 Query : use flama_phc
20240724@195647.8645 v62n18qkdji020tj9ulf51nnr3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195647.8684 v62n18qkdji020tj9ulf51nnr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1152';
20240724@195647.8712 v62n18qkdji020tj9ulf51nnr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1152';
20240724@195647.8747 v62n18qkdji020tj9ulf51nnr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1152';
20240724@195647.8769 v62n18qkdji020tj9ulf51nnr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1152';
20240724@195647.9315 d06g4c0b6q749bghcpp7620iag Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195647.9326 d06g4c0b6q749bghcpp7620iag Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195647.9378 d06g4c0b6q749bghcpp7620iag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1153';
20240724@195647.9432 d06g4c0b6q749bghcpp7620iag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1153';
20240724@195647.9477 d06g4c0b6q749bghcpp7620iag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1153';
20240724@195647.9501 d06g4c0b6q749bghcpp7620iag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1153';
20240724@195647.9546 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195647.9549 d06g4c0b6q749bghcpp7620iag Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195647.9613 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195647.9617 d06g4c0b6q749bghcpp7620iag Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240724@195647.9662 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195647.9781 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.6200 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.8300 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.1020 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.1230 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.1390 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.1590 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.1760 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.1960 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.2140 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.2330 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.2490 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.2760 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.2930 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.3130 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.3300 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.3490 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.3650 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.3850 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.4010 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.4210 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.4380 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.4560 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.4730 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.4920 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.5110 d06g4c0b6q749bghcpp7620iag Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240724@195648.5350 d06g4c0b6q749bghcpp7620iag Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404917 and bi.ref ='324.675.00.01' and bi.lordem =1
20240724@195648.5520 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.5550 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195648.5870 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.5900 d06g4c0b6q749bghcpp7620iag Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195648.6290 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.6320 d06g4c0b6q749bghcpp7620iag 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')
20240724@195648.6630 d06g4c0b6q749bghcpp7620iag 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
20240724@195648.8490 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.8530 d06g4c0b6q749bghcpp7620iag Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240724@195648.8830 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.8860 d06g4c0b6q749bghcpp7620iag Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195648.9170 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.9200 d06g4c0b6q749bghcpp7620iag Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195648.9750 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.9780 d06g4c0b6q749bghcpp7620iag Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240724@195648.1026 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.1029 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from td where ndoc = 39
20240724@195648.1042 d06g4c0b6q749bghcpp7620iag Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195648.1061 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.1079 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195648.1099 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.1115 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195648.1146 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.1162 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195648.1176 d06g4c0b6q749bghcpp7620iag Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195648.1249 d06g4c0b6q749bghcpp7620iag Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195648.1265 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.1282 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195648.1299 d06g4c0b6q749bghcpp7620iag Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195648.1446 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.1466 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195648.1502 d06g4c0b6q749bghcpp7620iag Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195648.1519 d06g4c0b6q749bghcpp7620iag Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195648.1532 d06g4c0b6q749bghcpp7620iag Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195648.1545 d06g4c0b6q749bghcpp7620iag Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195648.1557 d06g4c0b6q749bghcpp7620iag Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195648.1570 d06g4c0b6q749bghcpp7620iag Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195648.1582 d06g4c0b6q749bghcpp7620iag Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a145688366a14e701c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195648.1828 d06g4c0b6q749bghcpp7620iag Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195648.1844 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.1862 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195648.1888 d06g4c0b6q749bghcpp7620iag Query : select 'normal' from dummy
20240724@195648.1904 d06g4c0b6q749bghcpp7620iag Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a145688366a14e701c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11,100810,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195648.2152 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.2156 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195648.2181 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195648.2298 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.2316 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.2349 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.2366 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.2376 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.2390 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400127100a'
20240724@195648.2413 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.2430 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.2442 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143913966a14e703a','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.2446 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.2462 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.2501 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a143913966a14e703a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195648.2725 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.2741 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.2771 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.2786 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.2794 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.2809 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.2824 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.2837 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149789266a14e7044','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.2841 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.2856 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.4427 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a149789266a14e7044',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,20000,?,?,?)
20240724@195648.4649 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.4653 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195648.4673 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195648.4687 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.4703 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.4730 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.4745 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.4754 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.4766 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195648.4786 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.4801 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.4813 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144751566a14e7074','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.4818 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.4833 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.4863 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a144751566a14e7074',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240724@195648.5097 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.5114 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.5141 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.5157 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.5166 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.5179 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.5194 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.5207 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142757666a14e707e','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.5211 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.5231 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.5264 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a142757666a14e707e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,50000,?,?,?)
20240724@195648.5532 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.5536 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195648.5557 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195648.5572 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.5595 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.5623 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.5638 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.5648 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.5660 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195648.5674 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.5691 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.5703 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148679166a14e708a','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.5707 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.5724 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.5756 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a148679166a14e708a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240724@195648.5984 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6001 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.6048 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6064 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.6073 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.6092 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6107 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.6119 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141274466a14e7094','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.6123 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6137 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.6167 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a141274466a14e7094',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,80000,?,?,?)
20240724@195648.6392 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.6395 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195648.6419 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195648.6432 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6448 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.6474 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6500 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.6510 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.6525 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195648.6537 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6551 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.6569 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141980666a14e709f','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.6573 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6588 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.6617 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a141980666a14e709f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240724@195648.6851 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6870 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.6898 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6912 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.6921 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.6934 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6948 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.6965 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147699366a14e70a9','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.6973 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.6987 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.7017 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a147699366a14e70a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,110000,?,?,?)
20240724@195648.7237 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.7240 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195648.7260 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195648.7275 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.7290 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.7360 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.7376 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.7386 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.7399 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195648.7413 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.7430 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.7445 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142847966a14e70b4','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.7450 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.7466 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.7496 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a142847966a14e70b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240724@195648.7726 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.7744 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.7776 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.7833 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.9059 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.9077 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.9098 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.9114 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142422166a14e70dd','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.9120 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.9140 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.9178 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a142422166a14e70dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,140000,?,?,?)
20240724@195648.9453 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195648.9457 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195648.9482 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195648.9499 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.9517 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.9547 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.9567 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.9579 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195648.9594 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195648.9608 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.9625 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195648.9639 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140301966a14e70ea','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195648.9645 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195648.9662 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195648.9694 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a140301966a14e70ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240724@195649.1860 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2060 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.2330 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2490 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.2580 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.2740 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2880 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.3010 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147092266a14e7106','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.3090 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.3250 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.3540 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a147092266a14e7106',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,170000,?,?,?)
20240724@195649.5990 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195649.6020 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195649.6230 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195649.6380 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.1005 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.1051 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.1067 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.1076 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.1088 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195649.1101 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.1116 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.1128 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146861566a14e711a','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.1133 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.1149 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.1182 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a146861566a14e711a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240724@195649.1455 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.1476 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.1509 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.1527 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.1538 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.1552 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.1570 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.1582 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147781266a14e7125','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.1586 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.1600 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.1631 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a147781266a14e7125',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,200000,?,?,?)
20240724@195649.1856 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195649.1859 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195649.1881 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195649.1896 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2039 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.2112 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2335 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.2347 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.2360 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195649.2374 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2392 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.2405 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147258866a14e7139','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.2410 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2425 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.2457 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a147258866a14e7139',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240724@195649.2685 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2702 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.2735 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2753 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.2766 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.2782 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2799 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.2814 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146963366a14e7143','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.2818 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.2834 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.2864 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a146963366a14e7143',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,230000,?,?,?)
20240724@195649.3227 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195649.3256 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195649.3334 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195649.3351 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.3371 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.3404 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.3421 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.3431 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.3446 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195649.3463 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.3481 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.3496 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149514966a14e7154','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.3502 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.3521 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.3847 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a149514966a14e7154',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240724@195649.4085 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4102 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.4130 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4145 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.4155 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.4168 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4183 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.4195 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143750366a14e7165','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.4199 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4215 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.4243 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a143750366a14e7165',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,260000,?,?,?)
20240724@195649.4498 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195649.4501 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195649.4525 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195649.4539 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4555 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.4582 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4595 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.4604 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.4617 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195649.4630 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4644 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.4656 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143154566a14e7171','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.4660 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4674 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.4721 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a143154566a14e7171',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20240724@195649.4961 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.4979 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.5006 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.5023 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.5032 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.5045 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.5062 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.5075 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147308966a14e717b','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.5079 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.5094 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.5123 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a147308966a14e717b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,290000,?,?,?)
20240724@195649.5355 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195649.5358 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195649.5380 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195649.5393 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.5411 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.5437 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.5453 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.5463 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.5544 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195649.5635 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.5709 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.5726 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140337966a14e7189','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.5731 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.5746 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.5776 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a140337966a14e7189',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20240724@195649.6003 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.6018 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.6044 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.6059 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.6067 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.6080 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.6094 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.6105 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142307466a14e7194','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.6110 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.6125 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.6161 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a142307466a14e7194',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,320000,?,?,?)
20240724@195649.6385 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195649.6388 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195649.6411 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195649.6425 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.6442 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.6483 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.6708 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.6717 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.6729 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195649.6743 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.6759 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.6785 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145473866a14e71a4','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.6830 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.6989 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.7068 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a145473866a14e71a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20240724@195649.7293 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.7309 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.7334 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.7349 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.7357 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.7370 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.7384 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.7395 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142711466a14e71b3','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.7400 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.7414 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.8584 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a142711466a14e71b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,350000,?,?,?)
20240724@195649.8813 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195649.8816 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195649.8836 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195649.8849 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.8866 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.8892 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.8907 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.8916 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.8928 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195649.8944 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.8959 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.8972 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149614766a14e71da','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.8976 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.8990 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.9021 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a149614766a14e71da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20240724@195649.9253 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.9270 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.9296 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.9311 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.9320 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.9332 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.9348 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.9361 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148995266a14e71e3','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.9365 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.9380 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.9410 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148995266a14e71e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,380000,?,?,?)
20240724@195649.9639 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195649.9643 d06g4c0b6q749bghcpp7620iag Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240724@195649.9663 d06g4c0b6q749bghcpp7620iag 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.675.00.01'
20240724@195649.9679 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.9696 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.9724 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.9739 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.9748 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195649.9762 d06g4c0b6q749bghcpp7620iag Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240724@195649.9776 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.9790 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195649.9802 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140409866a14e71ee','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195649.9806 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195649.9821 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195649.9850 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a140409866a14e71ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20240724@195650.1040 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.1200 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.1470 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.1620 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.1710 d06g4c0b6q749bghcpp7620iag Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195650.1840 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.1990 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.2120 d06g4c0b6q749bghcpp7620iag Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144056666a14e7204','aut66a145688366a14e701c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195650.2160 d06g4c0b6q749bghcpp7620iag Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.2310 d06g4c0b6q749bghcpp7620iag Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.2990 d06g4c0b6q749bghcpp7620iag Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a144056666a14e7204',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a145688366a14e701c' ,0,0 ,2,23.00,410000,?,?,?)
20240724@195650.5270 d06g4c0b6q749bghcpp7620iag Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a145688366a14e701c','2404917','wait',39,'adm09112754980.682000002')
20240724@195650.6030 d06g4c0b6q749bghcpp7620iag Query : use flama_phc
20240724@195650.6070 d06g4c0b6q749bghcpp7620iag Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195650.6370 d06g4c0b6q749bghcpp7620iag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1153';
20240724@195650.6670 d06g4c0b6q749bghcpp7620iag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1153';
20240724@195650.7020 d06g4c0b6q749bghcpp7620iag Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1153';
20240724@195650.7250 d06g4c0b6q749bghcpp7620iag Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1153';
20240724@195650.1265 uue78mqptooupd63g5426jbttv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195650.1276 uue78mqptooupd63g5426jbttv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195650.1325 uue78mqptooupd63g5426jbttv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1154';
20240724@195650.1382 uue78mqptooupd63g5426jbttv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1154';
20240724@195650.1431 uue78mqptooupd63g5426jbttv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1154';
20240724@195650.1457 uue78mqptooupd63g5426jbttv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1154';
20240724@195650.1531 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.1535 uue78mqptooupd63g5426jbttv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195650.1605 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.1609 uue78mqptooupd63g5426jbttv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240724@195650.1651 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.1766 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2102 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2126 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2144 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2165 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2256 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2280 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2297 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2317 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2334 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2355 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2371 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2391 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2408 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2430 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2448 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2482 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2500 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2523 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2543 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2564 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2582 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2602 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2618 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2640 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2658 uue78mqptooupd63g5426jbttv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240724@195650.2682 uue78mqptooupd63g5426jbttv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404918 and bi.ref ='324.679.00.01' and bi.lordem =1
20240724@195650.2701 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.2705 uue78mqptooupd63g5426jbttv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195650.2742 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.2746 uue78mqptooupd63g5426jbttv Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195650.2784 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.2788 uue78mqptooupd63g5426jbttv 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')
20240724@195650.2830 uue78mqptooupd63g5426jbttv 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
20240724@195650.2877 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.2881 uue78mqptooupd63g5426jbttv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240724@195650.2914 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.2918 uue78mqptooupd63g5426jbttv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195650.2953 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.2956 uue78mqptooupd63g5426jbttv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195650.2997 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.3000 uue78mqptooupd63g5426jbttv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240724@195650.3047 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.3050 uue78mqptooupd63g5426jbttv Query : select 1 valor from td where ndoc = 39
20240724@195650.3064 uue78mqptooupd63g5426jbttv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195650.3080 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.3118 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195650.3139 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.3158 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195650.3193 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.3211 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195650.3225 uue78mqptooupd63g5426jbttv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195650.3336 uue78mqptooupd63g5426jbttv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195650.3352 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.3371 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195650.3390 uue78mqptooupd63g5426jbttv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195650.3559 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.3578 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195650.3617 uue78mqptooupd63g5426jbttv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195650.3631 uue78mqptooupd63g5426jbttv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195650.3645 uue78mqptooupd63g5426jbttv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195650.3699 uue78mqptooupd63g5426jbttv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195650.5007 uue78mqptooupd63g5426jbttv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195650.5203 uue78mqptooupd63g5426jbttv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195650.5218 uue78mqptooupd63g5426jbttv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a146576166a14e724e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195650.5558 uue78mqptooupd63g5426jbttv Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195650.5576 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.5595 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195650.5635 uue78mqptooupd63g5426jbttv Query : select 'normal' from dummy
20240724@195650.5655 uue78mqptooupd63g5426jbttv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a146576166a14e724e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12,100810,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195650.5919 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.5923 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195650.5949 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195650.6115 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.6133 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.6165 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.6181 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.6192 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195650.6207 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195650.6223 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.6240 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.6253 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143868766a14e7297','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195650.6264 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.6281 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.6313 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a143868766a14e7297',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195650.6743 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.6761 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.6793 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.6810 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.6820 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195650.6846 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.6863 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.6876 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145674166a14e72a7','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195650.6881 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.6896 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.6926 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a145674166a14e72a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,20000,?,?,?)
20240724@195650.7148 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.7152 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195650.7172 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195650.7187 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.7203 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.7231 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.7246 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.7254 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195650.7268 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195650.7280 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.7295 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.7307 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149754166a14e72b1','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195650.7312 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.7329 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.7359 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a149754166a14e72b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240724@195650.7621 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.7640 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.7673 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.7690 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.7701 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195650.7717 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.7735 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.7765 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145817966a14e72bc','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195650.7771 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.7788 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.8000 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a145817966a14e72bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,50000,?,?,?)
20240724@195650.8373 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.8390 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195650.8593 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195650.8732 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.8788 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.8851 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.8890 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.8900 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195650.8913 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195650.8927 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.8943 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.8956 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147610966a14e72d9','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195650.8961 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.8977 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.9006 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a147610966a14e72d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240724@195650.9293 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.9313 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.9344 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.9361 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.9371 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195650.9386 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.9404 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.9423 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140654966a14e72e5','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195650.9428 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.9446 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.9481 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a140654966a14e72e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,80000,?,?,?)
20240724@195650.9732 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195650.9736 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195650.9757 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195650.9773 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.9790 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.9819 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.9836 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.9845 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195650.9858 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195650.9872 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.9888 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195650.9902 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148306066a14e72f1','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195650.9907 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195650.9923 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195650.9955 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a148306066a14e72f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240724@195651.1870 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2050 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.2340 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2500 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.2590 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.2770 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2930 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.3060 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144826666a14e7306','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.3140 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.3310 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.3640 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a144826666a14e7306',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,110000,?,?,?)
20240724@195651.9590 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195651.9640 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195651.9850 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195651.1001 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.1062 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.1403 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.1424 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.1435 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.1528 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195651.1840 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.1859 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.1875 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146831866a14e732c','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.1881 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.1899 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.1935 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a146831866a14e732c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240724@195651.2185 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2208 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.2242 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2259 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.2269 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.2283 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2297 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.2310 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148385366a14e7337','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.2314 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2329 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.2360 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148385366a14e7337',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,140000,?,?,?)
20240724@195651.2596 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195651.2600 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195651.2624 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195651.2641 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2661 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.2693 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2709 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.2719 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.2732 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195651.2749 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2768 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.2782 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141660366a14e7343','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.2787 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.2802 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.2862 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a141660366a14e7343',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240724@195651.4207 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.4226 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.4257 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.4274 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.4283 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.4296 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.4312 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.4325 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148130666a14e7368','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.4330 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.4347 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.4377 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148130666a14e7368',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,170000,?,?,?)
20240724@195651.4688 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195651.4703 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195651.4737 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195651.4758 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.4789 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.4839 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.4860 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.4870 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.4882 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195651.4896 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.4913 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.4925 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147358166a14e7377','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.4930 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.4947 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.4979 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a147358166a14e7377',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240724@195651.5231 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.5251 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.5284 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.5301 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.5318 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.5332 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.5349 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.5367 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148210466a14e7382','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.5372 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.5389 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.5423 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148210466a14e7382',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,200000,?,?,?)
20240724@195651.5672 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195651.5676 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195651.5700 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195651.5718 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.5737 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.5769 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.5787 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.5798 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.5816 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195651.5833 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.5875 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.5890 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142310266a14e738e','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.5896 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.5914 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.5993 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a142310266a14e738e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240724@195651.6446 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.6474 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.6509 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.6534 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.6546 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.6563 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.6585 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.6601 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143756166a14e73a0','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.6606 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.6627 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.6683 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a143756166a14e73a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,230000,?,?,?)
20240724@195651.7054 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195651.7057 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195651.7088 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195651.7107 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.7131 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.7168 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.7189 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.7201 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.7220 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195651.7238 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.7260 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.7278 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146860866a14e73b0','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.7284 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.7305 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.7337 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a146860866a14e73b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240724@195651.8498 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.8650 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.8677 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.8693 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.8702 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.8715 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.8730 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.8742 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149679266a14e73d4','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.8746 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.8761 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.8791 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a149679266a14e73d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,260000,?,?,?)
20240724@195651.9024 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195651.9028 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195651.9049 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195651.9064 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9080 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.9108 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9124 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.9133 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.9145 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195651.9158 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9172 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.9184 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143509966a14e73df','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.9189 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9204 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.9235 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a143509966a14e73df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20240724@195651.9465 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9482 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.9508 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9525 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.9533 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.9546 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9560 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.9572 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146214766a14e73e9','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195651.9577 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9592 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.9623 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a146214766a14e73e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,290000,?,?,?)
20240724@195651.9848 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195651.9851 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195651.9873 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195651.9888 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9905 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195651.9933 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9948 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195651.9956 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195651.9969 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195651.9982 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195651.9996 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.9000 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141791066a14e73f3','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195652.1300 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2800 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.5800 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a141791066a14e73f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20240724@195652.2940 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.3130 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.3420 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.3590 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.3700 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195652.3830 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.3980 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.4110 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148890666a14e7409','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195652.4160 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.4300 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.4590 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148890666a14e7409',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,320000,?,?,?)
20240724@195652.6850 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195652.6880 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195652.7130 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195652.7280 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.7430 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.7730 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.7880 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.7970 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195652.8100 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195652.8230 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.8370 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.8490 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145123266a14e7414','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195652.8540 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.8690 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.9030 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a145123266a14e7414',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20240724@195652.1177 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.1193 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.1221 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.1235 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.1244 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195652.1257 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.1273 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.1284 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148832766a14e741e','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195652.1288 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.1303 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.1333 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148832766a14e741e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,350000,?,?,?)
20240724@195652.1561 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195652.1565 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195652.1586 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195652.1601 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.1617 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.1642 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.1657 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.1666 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195652.1678 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400127100a'
20240724@195652.1700 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.1717 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.1730 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146075366a14e7429','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195652.1734 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.1749 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.1777 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a146075366a14e7429',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20240724@195652.1998 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2016 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.2042 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2057 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.2066 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195652.2080 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2096 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.2108 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148081766a14e7432','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195652.2112 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2127 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.2155 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148081766a14e7432',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,380000,?,?,?)
20240724@195652.2376 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195652.2379 uue78mqptooupd63g5426jbttv Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240724@195652.2398 uue78mqptooupd63g5426jbttv 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.679.00.01'
20240724@195652.2411 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2427 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.2453 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2469 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.2478 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195652.2490 uue78mqptooupd63g5426jbttv Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240724@195652.2503 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2518 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.2532 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148887966a14e743d','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195652.2536 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2552 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.2579 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a148887966a14e743d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20240724@195652.2806 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2822 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.2847 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2863 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.2872 uue78mqptooupd63g5426jbttv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195652.2883 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2898 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195652.2910 uue78mqptooupd63g5426jbttv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149309166a14e7446','aut66a146576166a14e724e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195652.2914 uue78mqptooupd63g5426jbttv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.2928 uue78mqptooupd63g5426jbttv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195652.2964 uue78mqptooupd63g5426jbttv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a149309166a14e7446',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146576166a14e724e' ,0,0 ,2,23.00,410000,?,?,?)
20240724@195652.3189 uue78mqptooupd63g5426jbttv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a146576166a14e724e','2404918','wait',39,'adm09112754980.682000002')
20240724@195652.3276 uue78mqptooupd63g5426jbttv Query : use flama_phc
20240724@195652.3279 uue78mqptooupd63g5426jbttv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195652.3314 uue78mqptooupd63g5426jbttv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1154';
20240724@195652.4489 uue78mqptooupd63g5426jbttv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1154';
20240724@195652.4525 uue78mqptooupd63g5426jbttv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1154';
20240724@195652.4553 uue78mqptooupd63g5426jbttv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1154';
20240724@195652.5177 25vtvv9j4elecatlg1934l6a6o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195652.5235 25vtvv9j4elecatlg1934l6a6o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195652.5283 25vtvv9j4elecatlg1934l6a6o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1155';
20240724@195652.5389 25vtvv9j4elecatlg1934l6a6o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1155';
20240724@195652.5457 25vtvv9j4elecatlg1934l6a6o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1155';
20240724@195652.5485 25vtvv9j4elecatlg1934l6a6o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1155';
20240724@195652.5555 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.5559 25vtvv9j4elecatlg1934l6a6o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195652.5643 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.5646 25vtvv9j4elecatlg1934l6a6o Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240724@195652.5936 25vtvv9j4elecatlg1934l6a6o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240724@195652.6125 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404919 and bi.ref ='324.692.00.01' and bi.lordem =1
20240724@195652.6429 25vtvv9j4elecatlg1934l6a6o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240724@195652.6749 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404919 and bi.ref ='324.692.00.01' and bi.lordem =1
20240724@195652.6810 25vtvv9j4elecatlg1934l6a6o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240724@195652.6897 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404919 and bi.ref ='324.692.00.01' and bi.lordem =1
20240724@195652.7084 25vtvv9j4elecatlg1934l6a6o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240724@195652.7183 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404919 and bi.ref ='324.692.00.01' and bi.lordem =1
20240724@195652.7277 25vtvv9j4elecatlg1934l6a6o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240724@195652.7347 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404919 and bi.ref ='324.692.00.01' and bi.lordem =1
20240724@195652.7459 25vtvv9j4elecatlg1934l6a6o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240724@195652.7609 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404919 and bi.ref ='324.692.00.01' and bi.lordem =1
20240724@195652.7681 25vtvv9j4elecatlg1934l6a6o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240724@195652.7750 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404919 and bi.ref ='324.692.00.01' and bi.lordem =1
20240724@195652.7815 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.7820 25vtvv9j4elecatlg1934l6a6o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195652.7909 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.7913 25vtvv9j4elecatlg1934l6a6o Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195652.8065 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.8070 25vtvv9j4elecatlg1934l6a6o 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')
20240724@195652.8159 25vtvv9j4elecatlg1934l6a6o 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
20240724@195652.8385 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.8391 25vtvv9j4elecatlg1934l6a6o Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240724@195652.8522 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.8529 25vtvv9j4elecatlg1934l6a6o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195652.8671 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.8677 25vtvv9j4elecatlg1934l6a6o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195652.8796 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.8800 25vtvv9j4elecatlg1934l6a6o Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240724@195652.8924 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195652.8927 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from td where ndoc = 39
20240724@195652.8942 25vtvv9j4elecatlg1934l6a6o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195652.8957 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.8973 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195652.9006 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.9024 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195652.9050 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.9066 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195652.9079 25vtvv9j4elecatlg1934l6a6o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195652.9156 25vtvv9j4elecatlg1934l6a6o Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195652.9170 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.9186 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195652.9203 25vtvv9j4elecatlg1934l6a6o Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a145797866a14e74dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195652.9385 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.9404 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195652.9439 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195652.9462 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195652.9487 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195652.9499 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195652.9511 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195652.9523 25vtvv9j4elecatlg1934l6a6o Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195652.9535 25vtvv9j4elecatlg1934l6a6o Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a145797866a14e74dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195652.9769 25vtvv9j4elecatlg1934l6a6o Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195652.9786 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195652.9803 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195652.9828 25vtvv9j4elecatlg1934l6a6o Query : select 'normal' from dummy
20240724@195652.9844 25vtvv9j4elecatlg1934l6a6o Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a145797866a14e74dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,100810,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195653.1810 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195653.1850 25vtvv9j4elecatlg1934l6a6o Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240724@195653.2090 25vtvv9j4elecatlg1934l6a6o 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.692.00.01'
20240724@195653.3620 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.3850 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.4150 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.4310 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.4400 25vtvv9j4elecatlg1934l6a6o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195653.4530 25vtvv9j4elecatlg1934l6a6o Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400062200a'
20240724@195653.4800 25vtvv9j4elecatlg1934l6a6o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.4960 25vtvv9j4elecatlg1934l6a6o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.5090 25vtvv9j4elecatlg1934l6a6o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149780266a14e750b','aut66a145797866a14e74dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195653.5260 25vtvv9j4elecatlg1934l6a6o Query : use flama_phc
20240724@195653.5290 25vtvv9j4elecatlg1934l6a6o Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240724@195653.6280 25vtvv9j4elecatlg1934l6a6o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1155';
20240724@195653.6540 25vtvv9j4elecatlg1934l6a6o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1155';
20240724@195653.2173 flcba2iql2u91hoqjpba5s1iuc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195653.2185 flcba2iql2u91hoqjpba5s1iuc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195653.2239 flcba2iql2u91hoqjpba5s1iuc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1156';
20240724@195653.2295 flcba2iql2u91hoqjpba5s1iuc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1156';
20240724@195653.2344 flcba2iql2u91hoqjpba5s1iuc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1156';
20240724@195653.2367 flcba2iql2u91hoqjpba5s1iuc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1156';
20240724@195653.2411 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.2415 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195653.2476 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.2479 flcba2iql2u91hoqjpba5s1iuc Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20240724@195653.2519 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240724@195653.2638 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404921 and bi.ref ='324.727.00.01' and bi.lordem =1
20240724@195653.2919 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240724@195653.2946 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404921 and bi.ref ='324.727.00.01' and bi.lordem =1
20240724@195653.2966 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240724@195653.3112 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404921 and bi.ref ='324.4970.00.1' and bi.lordem =2
20240724@195653.3404 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.3407 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195653.3442 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.3446 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195653.3478 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.3481 flcba2iql2u91hoqjpba5s1iuc 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')
20240724@195653.3514 flcba2iql2u91hoqjpba5s1iuc 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
20240724@195653.3553 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.3557 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20240724@195653.3588 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.3591 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195653.3629 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.3632 flcba2iql2u91hoqjpba5s1iuc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195653.3672 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.3675 flcba2iql2u91hoqjpba5s1iuc Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20240724@195653.3724 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.3727 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from td where ndoc = 39
20240724@195653.3741 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195653.3757 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.3781 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195653.3804 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.3821 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195653.3854 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.3871 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195653.3889 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195653.3982 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195653.3999 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.4022 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195653.4041 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a141986666a14e755e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195653.4252 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.4276 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195653.4323 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195653.4342 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195653.4360 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195653.4373 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195653.4386 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195653.4399 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195653.4412 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a141986666a14e755e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195653.4633 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195653.4650 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.4668 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195653.4695 flcba2iql2u91hoqjpba5s1iuc Query : select 'normal' from dummy
20240724@195653.4714 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a141986666a14e755e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,102253,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195653.4985 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.4989 flcba2iql2u91hoqjpba5s1iuc Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240724@195653.5016 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240724@195653.5128 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.5143 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.5173 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.5189 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.5199 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195653.5217 flcba2iql2u91hoqjpba5s1iuc Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240724@195653.5247 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.5280 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.5295 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148836366a14e7580','aut66a141986666a14e755e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195653.5301 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.5320 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.5356 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a148836366a14e7580',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a141986666a14e755e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195653.5603 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.5623 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.5657 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.5677 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.5700 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195653.5717 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.5747 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.5762 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140490766a14e758b','aut66a141986666a14e755e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195653.5767 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.5781 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.5810 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a140490766a14e758b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a141986666a14e755e' ,0,0 ,2,23.00,20000,?,?,?)
20240724@195653.6091 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.6094 flcba2iql2u91hoqjpba5s1iuc Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240724@195653.6114 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240724@195653.6127 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.6145 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.6176 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.6194 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.6204 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195653.6220 flcba2iql2u91hoqjpba5s1iuc Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240724@195653.6236 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.6254 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.6269 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149529666a14e7598','aut66a141986666a14e755e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195653.6274 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.6293 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.6330 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a149529666a14e7598',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a141986666a14e755e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240724@195653.6972 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.7003 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.7034 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.7050 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.7061 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195653.7075 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.7092 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.7109 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144040666a14e75ac','aut66a141986666a14e755e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195653.7115 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.7131 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.7163 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a144040666a14e75ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a141986666a14e755e' ,0,0 ,2,23.00,50000,?,?,?)
20240724@195653.7400 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.7404 flcba2iql2u91hoqjpba5s1iuc Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240724@195653.7426 flcba2iql2u91hoqjpba5s1iuc 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.4970.00.1'
20240724@195653.7539 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.7556 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.7594 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.7622 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.7632 flcba2iql2u91hoqjpba5s1iuc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195653.7646 flcba2iql2u91hoqjpba5s1iuc Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240724@195653.7662 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.7681 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195653.7695 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146992766a14e75bb','aut66a141986666a14e755e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195653.7699 flcba2iql2u91hoqjpba5s1iuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195653.7728 flcba2iql2u91hoqjpba5s1iuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195653.7759 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a146992766a14e75bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a141986666a14e755e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240724@195653.7984 flcba2iql2u91hoqjpba5s1iuc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a141986666a14e755e','2404921','wait',39,'adm09112754980.682000002')
20240724@195653.8063 flcba2iql2u91hoqjpba5s1iuc Query : use flama_phc
20240724@195653.8066 flcba2iql2u91hoqjpba5s1iuc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195653.8098 flcba2iql2u91hoqjpba5s1iuc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1156';
20240724@195653.8125 flcba2iql2u91hoqjpba5s1iuc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1156';
20240724@195653.8160 flcba2iql2u91hoqjpba5s1iuc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1156';
20240724@195653.8183 flcba2iql2u91hoqjpba5s1iuc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1156';
20240724@195653.8733 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195653.8745 epqi9gtpcqlicgst3ht4ihv4g8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195653.8813 epqi9gtpcqlicgst3ht4ihv4g8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1157';
20240724@195653.9025 epqi9gtpcqlicgst3ht4ihv4g8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1157';
20240724@195653.9081 epqi9gtpcqlicgst3ht4ihv4g8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1157';
20240724@195653.9117 epqi9gtpcqlicgst3ht4ihv4g8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1157';
20240724@195653.9171 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195653.9175 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195653.9256 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195653.9260 epqi9gtpcqlicgst3ht4ihv4g8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240724@195653.9350 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240724@195653.9488 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404922 and bi.ref ='324.4723.00.2' and bi.lordem =1
20240724@195653.9825 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240724@195653.9848 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404922 and bi.ref ='324.4723.00.2' and bi.lordem =1
20240724@195653.9867 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195653.9872 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195653.9922 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195653.9926 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195653.9973 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195653.9977 epqi9gtpcqlicgst3ht4ihv4g8 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')
20240724@195654.1300 epqi9gtpcqlicgst3ht4ihv4g8 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
20240724@195654.6700 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195654.7000 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240724@195654.1820 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195654.1860 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195654.2240 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195654.2270 epqi9gtpcqlicgst3ht4ihv4g8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195654.2810 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195654.2850 epqi9gtpcqlicgst3ht4ihv4g8 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20240724@195654.3420 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195654.3450 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from td where ndoc = 39
20240724@195654.3630 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195654.3810 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.4030 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195654.4320 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.4530 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195654.4890 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.5060 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195654.5230 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195654.6360 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195654.6680 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.6890 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195654.7100 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a141616766a14e760c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195654.9040 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.9230 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195654.9600 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195654.9730 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195654.9860 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195654.1001 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195654.1014 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195654.1027 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195654.1040 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a141616766a14e760c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195654.1268 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195654.1285 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.1303 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195654.1329 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 'normal' from dummy
20240724@195654.1347 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a141616766a14e760c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14,101900,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195654.1616 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195654.1620 epqi9gtpcqlicgst3ht4ihv4g8 Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20240724@195654.1656 epqi9gtpcqlicgst3ht4ihv4g8 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.4723.00.2'
20240724@195654.1778 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.1800 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195654.1835 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.1853 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195654.1863 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195654.1878 epqi9gtpcqlicgst3ht4ihv4g8 Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2100192200a'
20240724@195654.1900 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.1916 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195654.1928 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140678266a14e762e','aut66a141616766a14e760c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195654.1932 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.1947 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195654.1976 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a140678266a14e762e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',21.000 ,'aut66a141616766a14e760c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195654.2213 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195654.2217 epqi9gtpcqlicgst3ht4ihv4g8 Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20240724@195654.2243 epqi9gtpcqlicgst3ht4ihv4g8 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.4723.00.2'
20240724@195654.2262 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.2283 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195654.2315 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.2873 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195654.2912 epqi9gtpcqlicgst3ht4ihv4g8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195654.2927 epqi9gtpcqlicgst3ht4ihv4g8 Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2100192200a'
20240724@195654.2943 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.2964 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195654.2979 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145047066a14e7647','aut66a141616766a14e760c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195654.2984 epqi9gtpcqlicgst3ht4ihv4g8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.2999 epqi9gtpcqlicgst3ht4ihv4g8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195654.3030 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a145047066a14e7647',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66a141616766a14e760c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240724@195654.3735 epqi9gtpcqlicgst3ht4ihv4g8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a141616766a14e760c','2404922','wait',39,'adm09112754980.682000002')
20240724@195654.3814 epqi9gtpcqlicgst3ht4ihv4g8 Query : use flama_phc
20240724@195654.3818 epqi9gtpcqlicgst3ht4ihv4g8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195654.3851 epqi9gtpcqlicgst3ht4ihv4g8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1157';
20240724@195654.3883 epqi9gtpcqlicgst3ht4ihv4g8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1157';
20240724@195654.3922 epqi9gtpcqlicgst3ht4ihv4g8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1157';
20240724@195654.3949 epqi9gtpcqlicgst3ht4ihv4g8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1157';
20240724@195654.4512 bo54nktrut2scfhaugevrtna6i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195654.4524 bo54nktrut2scfhaugevrtna6i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195654.4589 bo54nktrut2scfhaugevrtna6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1158';
20240724@195654.4729 bo54nktrut2scfhaugevrtna6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1158';
20240724@195654.4783 bo54nktrut2scfhaugevrtna6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1158';
20240724@195654.4810 bo54nktrut2scfhaugevrtna6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1158';
20240724@195654.4860 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.4864 bo54nktrut2scfhaugevrtna6i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195654.4932 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.4936 bo54nktrut2scfhaugevrtna6i Query : select no, estab,szadrsdesc from szadrs where u_coddest=2531
20240724@195654.5075 bo54nktrut2scfhaugevrtna6i 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'
20240724@195654.5237 bo54nktrut2scfhaugevrtna6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404926 and bi.ref ='324.1684.00.1' and bi.lordem =1
20240724@195654.5536 bo54nktrut2scfhaugevrtna6i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240724@195654.5826 bo54nktrut2scfhaugevrtna6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404926 and bi.ref ='324.1805.00.1' and bi.lordem =2
20240724@195654.6133 bo54nktrut2scfhaugevrtna6i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240724@195654.7811 bo54nktrut2scfhaugevrtna6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404926 and bi.ref ='324.1816.00.1' and bi.lordem =3
20240724@195654.8090 bo54nktrut2scfhaugevrtna6i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240724@195654.8199 bo54nktrut2scfhaugevrtna6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404926 and bi.ref ='324.1884.00.1' and bi.lordem =4
20240724@195654.8467 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.8471 bo54nktrut2scfhaugevrtna6i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195654.8505 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.8508 bo54nktrut2scfhaugevrtna6i Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195654.8537 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.8545 bo54nktrut2scfhaugevrtna6i 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')
20240724@195654.8573 bo54nktrut2scfhaugevrtna6i 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
20240724@195654.8609 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.8613 bo54nktrut2scfhaugevrtna6i Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240724@195654.8739 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.8743 bo54nktrut2scfhaugevrtna6i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195654.8778 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.8782 bo54nktrut2scfhaugevrtna6i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195654.8835 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.8839 bo54nktrut2scfhaugevrtna6i Query : select szadrsstamp valor from szadrs where szadrsdesc='electrodomesticos vidal galindo,s.l.'
20240724@195654.8892 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195654.8895 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from td where ndoc = 39
20240724@195654.8910 bo54nktrut2scfhaugevrtna6i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195654.8943 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.8961 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195654.8983 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.8998 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195654.9044 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.9059 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195654.9072 bo54nktrut2scfhaugevrtna6i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195654.9152 bo54nktrut2scfhaugevrtna6i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195654.9167 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.9184 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195654.9201 bo54nktrut2scfhaugevrtna6i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a146827666a14e76dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195654.9376 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.9394 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195654.9436 bo54nktrut2scfhaugevrtna6i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195654.9448 bo54nktrut2scfhaugevrtna6i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195654.9462 bo54nktrut2scfhaugevrtna6i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195654.9475 bo54nktrut2scfhaugevrtna6i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195654.9489 bo54nktrut2scfhaugevrtna6i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195654.9503 bo54nktrut2scfhaugevrtna6i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195654.9516 bo54nktrut2scfhaugevrtna6i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a146827666a14e76dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195654.9759 bo54nktrut2scfhaugevrtna6i Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195654.9782 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195654.9799 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195654.9832 bo54nktrut2scfhaugevrtna6i Query : select 'normal' from dummy
20240724@195654.9849 bo54nktrut2scfhaugevrtna6i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a146827666a14e76dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15,200500,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195655.1340 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195655.1370 bo54nktrut2scfhaugevrtna6i Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240724@195655.1640 bo54nktrut2scfhaugevrtna6i 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'
20240724@195655.2780 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.2960 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.3230 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.3390 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.3480 bo54nktrut2scfhaugevrtna6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195655.3640 bo54nktrut2scfhaugevrtna6i Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240724@195655.3890 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.4050 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.4190 bo54nktrut2scfhaugevrtna6i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148692466a14e7709','aut66a146827666a14e76dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195655.4240 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.4440 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.4780 bo54nktrut2scfhaugevrtna6i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a148692466a14e7709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66a146827666a14e76dd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195655.7290 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195655.7320 bo54nktrut2scfhaugevrtna6i Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240724@195655.7530 bo54nktrut2scfhaugevrtna6i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20240724@195655.8630 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.8890 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.9220 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.9390 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.9490 bo54nktrut2scfhaugevrtna6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195655.9620 bo54nktrut2scfhaugevrtna6i Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400290200a'
20240724@195655.9780 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.9930 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.1007 bo54nktrut2scfhaugevrtna6i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147567866a14e7717','aut66a146827666a14e76dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195655.1011 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.1027 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.1070 bo54nktrut2scfhaugevrtna6i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a147567866a14e7717',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66a146827666a14e76dd' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240724@195655.1334 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195655.1338 bo54nktrut2scfhaugevrtna6i Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240724@195655.1372 bo54nktrut2scfhaugevrtna6i 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.1816.00.1'
20240724@195655.1495 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.1515 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.1544 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.1560 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.1570 bo54nktrut2scfhaugevrtna6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195655.1589 bo54nktrut2scfhaugevrtna6i Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240724@195655.1606 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.1627 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.1641 bo54nktrut2scfhaugevrtna6i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149023966a14e7727','aut66a146827666a14e76dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195655.1647 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.1667 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.1697 bo54nktrut2scfhaugevrtna6i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a149023966a14e7727',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66a146827666a14e76dd' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240724@195655.1923 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.1939 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.1966 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.1981 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.1989 bo54nktrut2scfhaugevrtna6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195655.2002 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.2020 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.2033 bo54nktrut2scfhaugevrtna6i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141014066a14e7730','aut66a146827666a14e76dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195655.2037 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.2052 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.2081 bo54nktrut2scfhaugevrtna6i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a141014066a14e7730',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146827666a14e76dd' ,0,0 ,2,23.00,40000,?,?,?)
20240724@195655.2332 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195655.2336 bo54nktrut2scfhaugevrtna6i Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240724@195655.2357 bo54nktrut2scfhaugevrtna6i 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.1884.00.1'
20240724@195655.2504 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.2522 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.2550 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.2567 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.2580 bo54nktrut2scfhaugevrtna6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195655.2594 bo54nktrut2scfhaugevrtna6i Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240724@195655.2616 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.2631 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.2643 bo54nktrut2scfhaugevrtna6i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146838166a14e773f','aut66a146827666a14e76dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195655.2647 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.2664 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.2702 bo54nktrut2scfhaugevrtna6i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a146838166a14e773f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66a146827666a14e76dd' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240724@195655.2974 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.2993 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.3025 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.3040 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.3050 bo54nktrut2scfhaugevrtna6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195655.3065 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.3085 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.3099 bo54nktrut2scfhaugevrtna6i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143558866a14e774a','aut66a146827666a14e76dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195655.3104 bo54nktrut2scfhaugevrtna6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.3129 bo54nktrut2scfhaugevrtna6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.3171 bo54nktrut2scfhaugevrtna6i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a143558866a14e774a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146827666a14e76dd' ,0,0 ,2,23.00,70000,?,?,?)
20240724@195655.3405 bo54nktrut2scfhaugevrtna6i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a146827666a14e76dd','2404926','wait',39,'adm09112754980.682000002')
20240724@195655.3495 bo54nktrut2scfhaugevrtna6i Query : use flama_phc
20240724@195655.3498 bo54nktrut2scfhaugevrtna6i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195655.3529 bo54nktrut2scfhaugevrtna6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1158';
20240724@195655.3568 bo54nktrut2scfhaugevrtna6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1158';
20240724@195655.3604 bo54nktrut2scfhaugevrtna6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1158';
20240724@195655.3629 bo54nktrut2scfhaugevrtna6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1158';
20240724@195655.4277 ttdeunm626qm99gdftrjde03rl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195655.4288 ttdeunm626qm99gdftrjde03rl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195655.4339 ttdeunm626qm99gdftrjde03rl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1159';
20240724@195655.4392 ttdeunm626qm99gdftrjde03rl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1159';
20240724@195655.4444 ttdeunm626qm99gdftrjde03rl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1159';
20240724@195655.4469 ttdeunm626qm99gdftrjde03rl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1159';
20240724@195655.4519 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.4523 ttdeunm626qm99gdftrjde03rl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195655.4591 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.4594 ttdeunm626qm99gdftrjde03rl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4385
20240724@195655.4699 ttdeunm626qm99gdftrjde03rl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20240724@195655.4853 ttdeunm626qm99gdftrjde03rl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404932 and bi.ref ='324.1462.00.1' and bi.lordem =1
20240724@195655.5512 ttdeunm626qm99gdftrjde03rl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240724@195655.5622 ttdeunm626qm99gdftrjde03rl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404932 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240724@195655.6110 ttdeunm626qm99gdftrjde03rl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240724@195655.6132 ttdeunm626qm99gdftrjde03rl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404932 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240724@195655.6151 ttdeunm626qm99gdftrjde03rl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240724@195655.6172 ttdeunm626qm99gdftrjde03rl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404932 and bi.ref ='324.1816.00.1' and bi.lordem =3
20240724@195655.6555 ttdeunm626qm99gdftrjde03rl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20240724@195655.6681 ttdeunm626qm99gdftrjde03rl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404932 and bi.ref ='324.642.00.01' and bi.lordem =4
20240724@195655.6975 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.6978 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195655.7014 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.7017 ttdeunm626qm99gdftrjde03rl Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195655.7049 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.7052 ttdeunm626qm99gdftrjde03rl 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')
20240724@195655.7085 ttdeunm626qm99gdftrjde03rl 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
20240724@195655.7125 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.7128 ttdeunm626qm99gdftrjde03rl Query : select top 1 ~inactivo valor from cl where no = '102503' and estab = 0 order by inactivo desc
20240724@195655.7222 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.7225 ttdeunm626qm99gdftrjde03rl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195655.7257 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.7260 ttdeunm626qm99gdftrjde03rl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195655.7304 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.7307 ttdeunm626qm99gdftrjde03rl Query : select szadrsstamp valor from szadrs where szadrsdesc='bruno miguel dias branco, unipessoal lda.'
20240724@195655.7355 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.7357 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from td where ndoc = 39
20240724@195655.7373 ttdeunm626qm99gdftrjde03rl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195655.7387 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.7402 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195655.7422 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.7438 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195655.7471 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.7486 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195655.7498 ttdeunm626qm99gdftrjde03rl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195655.7570 ttdeunm626qm99gdftrjde03rl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195655.7583 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.7597 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195655.7612 ttdeunm626qm99gdftrjde03rl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195655.7755 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.7773 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195655.7805 ttdeunm626qm99gdftrjde03rl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195655.7818 ttdeunm626qm99gdftrjde03rl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195655.7830 ttdeunm626qm99gdftrjde03rl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195655.7841 ttdeunm626qm99gdftrjde03rl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195655.7858 ttdeunm626qm99gdftrjde03rl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195655.7870 ttdeunm626qm99gdftrjde03rl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195655.7882 ttdeunm626qm99gdftrjde03rl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a149600166a14e77b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195655.8080 ttdeunm626qm99gdftrjde03rl Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195655.8094 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.8110 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195655.8132 ttdeunm626qm99gdftrjde03rl Query : select 'normal' from dummy
20240724@195655.8148 ttdeunm626qm99gdftrjde03rl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a149600166a14e77b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16,102503,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195655.8376 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195655.8379 ttdeunm626qm99gdftrjde03rl Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20240724@195655.8399 ttdeunm626qm99gdftrjde03rl 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.1462.00.1'
20240724@195655.9625 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.9642 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.9668 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.9682 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.9690 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195655.9702 ttdeunm626qm99gdftrjde03rl Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20240724@195655.9730 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.9745 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195655.9756 ttdeunm626qm99gdftrjde03rl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142634766a14e77ed','aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195655.9760 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195655.9775 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195655.9802 ttdeunm626qm99gdftrjde03rl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a142634766a14e77ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a149600166a14e77b7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195656.7700 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195656.8000 ttdeunm626qm99gdftrjde03rl Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240724@195656.1000 ttdeunm626qm99gdftrjde03rl 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.1816.00.1'
20240724@195656.1130 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1290 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.1540 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1690 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.1780 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.1890 ttdeunm626qm99gdftrjde03rl Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240724@195656.2010 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2160 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.2270 ttdeunm626qm99gdftrjde03rl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143561866a14e7804','aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.2310 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2440 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.2740 ttdeunm626qm99gdftrjde03rl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a143561866a14e7804',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66a149600166a14e77b7' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240724@195656.4990 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.5150 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.5410 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.5550 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.5640 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.5770 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.5900 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.6010 ttdeunm626qm99gdftrjde03rl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143150966a14e780e','aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.6050 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.6200 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.6460 ttdeunm626qm99gdftrjde03rl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a143150966a14e780e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a149600166a14e77b7' ,0,0 ,2,23.00,30000,?,?,?)
20240724@195656.8480 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195656.8510 ttdeunm626qm99gdftrjde03rl Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240724@195656.8700 ttdeunm626qm99gdftrjde03rl 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.1816.00.1'
20240724@195656.8830 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.8980 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.9270 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.9420 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.9510 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.9640 ttdeunm626qm99gdftrjde03rl Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240724@195656.9770 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.9930 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.1005 ttdeunm626qm99gdftrjde03rl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141609466a14e7817','aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.1009 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1024 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.1052 ttdeunm626qm99gdftrjde03rl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a141609466a14e7817',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a149600166a14e77b7' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240724@195656.1273 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1289 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.1315 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1330 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.1339 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.1351 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1367 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.1379 ttdeunm626qm99gdftrjde03rl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145331166a14e7820','aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.1383 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1397 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.1426 ttdeunm626qm99gdftrjde03rl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a145331166a14e7820',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a149600166a14e77b7' ,0,0 ,2,23.00,60000,?,?,?)
20240724@195656.1636 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195656.1642 ttdeunm626qm99gdftrjde03rl Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240724@195656.1663 ttdeunm626qm99gdftrjde03rl 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.1816.00.1'
20240724@195656.1677 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1693 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.1720 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1735 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.1744 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.1755 ttdeunm626qm99gdftrjde03rl Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240724@195656.1769 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1784 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.1795 ttdeunm626qm99gdftrjde03rl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142215566a14e782b','aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.1799 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.1814 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.1844 ttdeunm626qm99gdftrjde03rl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a142215566a14e782b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66a149600166a14e77b7' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240724@195656.2057 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2073 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.2098 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2114 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.2123 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.2135 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2149 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.2161 ttdeunm626qm99gdftrjde03rl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145406366a14e7834','aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.2165 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2179 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.2207 ttdeunm626qm99gdftrjde03rl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a145406366a14e7834',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a149600166a14e77b7' ,0,0 ,2,23.00,90000,?,?,?)
20240724@195656.2478 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195656.2481 ttdeunm626qm99gdftrjde03rl Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20240724@195656.2501 ttdeunm626qm99gdftrjde03rl 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.642.00.01'
20240724@195656.2608 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2626 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.2658 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2675 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.2685 ttdeunm626qm99gdftrjde03rl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.2698 ttdeunm626qm99gdftrjde03rl Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20240724@195656.2737 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2752 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.2766 ttdeunm626qm99gdftrjde03rl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143838066a14e7842','aut66a149600166a14e77b7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.2771 ttdeunm626qm99gdftrjde03rl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.2785 ttdeunm626qm99gdftrjde03rl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.2817 ttdeunm626qm99gdftrjde03rl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a143838066a14e7842',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66a149600166a14e77b7' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240724@195656.3036 ttdeunm626qm99gdftrjde03rl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a149600166a14e77b7','2404932','wait',39,'adm09112754980.682000002')
20240724@195656.3114 ttdeunm626qm99gdftrjde03rl Query : use flama_phc
20240724@195656.3117 ttdeunm626qm99gdftrjde03rl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195656.3147 ttdeunm626qm99gdftrjde03rl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1159';
20240724@195656.3173 ttdeunm626qm99gdftrjde03rl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1159';
20240724@195656.3211 ttdeunm626qm99gdftrjde03rl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1159';
20240724@195656.3234 ttdeunm626qm99gdftrjde03rl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1159';
20240724@195656.4402 t0kjs5i32s407q1chsdb008j1p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195656.4415 t0kjs5i32s407q1chsdb008j1p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195656.4469 t0kjs5i32s407q1chsdb008j1p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1160';
20240724@195656.4520 t0kjs5i32s407q1chsdb008j1p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1160';
20240724@195656.4569 t0kjs5i32s407q1chsdb008j1p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1160';
20240724@195656.4591 t0kjs5i32s407q1chsdb008j1p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1160';
20240724@195656.4638 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.4641 t0kjs5i32s407q1chsdb008j1p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195656.4711 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.4714 t0kjs5i32s407q1chsdb008j1p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4385
20240724@195656.4755 t0kjs5i32s407q1chsdb008j1p 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'
20240724@195656.4871 t0kjs5i32s407q1chsdb008j1p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404935 and bi.ref ='324.1416.00.1' and bi.lordem =1
20240724@195656.5145 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.5149 t0kjs5i32s407q1chsdb008j1p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195656.5181 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.5183 t0kjs5i32s407q1chsdb008j1p Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195656.5215 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.5218 t0kjs5i32s407q1chsdb008j1p 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')
20240724@195656.5246 t0kjs5i32s407q1chsdb008j1p 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
20240724@195656.5289 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.5292 t0kjs5i32s407q1chsdb008j1p Query : select top 1 ~inactivo valor from cl where no = '102503' and estab = 0 order by inactivo desc
20240724@195656.5322 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.5330 t0kjs5i32s407q1chsdb008j1p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195656.5363 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.5370 t0kjs5i32s407q1chsdb008j1p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195656.5411 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.5414 t0kjs5i32s407q1chsdb008j1p Query : select szadrsstamp valor from szadrs where szadrsdesc='bruno miguel dias branco, unipessoal lda.'
20240724@195656.5463 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.5467 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from td where ndoc = 39
20240724@195656.5484 t0kjs5i32s407q1chsdb008j1p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195656.5499 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.5516 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195656.5539 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.5553 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195656.5584 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.5599 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195656.5611 t0kjs5i32s407q1chsdb008j1p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195656.5683 t0kjs5i32s407q1chsdb008j1p Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195656.5696 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.5710 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195656.5727 t0kjs5i32s407q1chsdb008j1p Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a144829166a14e7888' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195656.5872 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.5887 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195656.5920 t0kjs5i32s407q1chsdb008j1p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195656.5932 t0kjs5i32s407q1chsdb008j1p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195656.5944 t0kjs5i32s407q1chsdb008j1p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195656.5955 t0kjs5i32s407q1chsdb008j1p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195656.5968 t0kjs5i32s407q1chsdb008j1p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195656.5980 t0kjs5i32s407q1chsdb008j1p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195656.5991 t0kjs5i32s407q1chsdb008j1p Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a144829166a14e7888',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195656.6363 t0kjs5i32s407q1chsdb008j1p Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195656.7237 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.7253 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195656.7276 t0kjs5i32s407q1chsdb008j1p Query : select 'normal' from dummy
20240724@195656.7290 t0kjs5i32s407q1chsdb008j1p Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a144829166a14e7888',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',17,102503,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195656.7536 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.7539 t0kjs5i32s407q1chsdb008j1p Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20240724@195656.7563 t0kjs5i32s407q1chsdb008j1p 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'
20240724@195656.7672 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.7687 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.7715 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.7730 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.7740 t0kjs5i32s407q1chsdb008j1p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.7760 t0kjs5i32s407q1chsdb008j1p Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20240724@195656.7787 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.7803 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.7816 t0kjs5i32s407q1chsdb008j1p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143042766a14e78be','aut66a144829166a14e7888' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.7821 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.7836 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.7869 t0kjs5i32s407q1chsdb008j1p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a143042766a14e78be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a144829166a14e7888' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195656.8093 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.8111 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.8140 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.8156 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.8165 t0kjs5i32s407q1chsdb008j1p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195656.8179 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.8194 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195656.8207 t0kjs5i32s407q1chsdb008j1p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148431066a14e78c7','aut66a144829166a14e7888' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195656.8212 t0kjs5i32s407q1chsdb008j1p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195656.8228 t0kjs5i32s407q1chsdb008j1p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195656.8260 t0kjs5i32s407q1chsdb008j1p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148431066a14e78c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a144829166a14e7888' ,0,0 ,2,23.00,20000,?,?,?)
20240724@195656.8475 t0kjs5i32s407q1chsdb008j1p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a144829166a14e7888','2404935','wait',39,'adm09112754980.682000002')
20240724@195656.8553 t0kjs5i32s407q1chsdb008j1p Query : use flama_phc
20240724@195656.8556 t0kjs5i32s407q1chsdb008j1p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195656.8590 t0kjs5i32s407q1chsdb008j1p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1160';
20240724@195656.8617 t0kjs5i32s407q1chsdb008j1p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1160';
20240724@195656.8657 t0kjs5i32s407q1chsdb008j1p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1160';
20240724@195656.8680 t0kjs5i32s407q1chsdb008j1p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1160';
20240724@195656.9244 06ouobbim9nmqetd2vkoorafv5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195656.9256 06ouobbim9nmqetd2vkoorafv5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195656.9310 06ouobbim9nmqetd2vkoorafv5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1161';
20240724@195656.9368 06ouobbim9nmqetd2vkoorafv5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1161';
20240724@195656.9415 06ouobbim9nmqetd2vkoorafv5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1161';
20240724@195656.9463 06ouobbim9nmqetd2vkoorafv5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1161';
20240724@195656.9513 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195656.9516 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195656.9581 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195656.9585 06ouobbim9nmqetd2vkoorafv5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=410
20240724@195656.9664 06ouobbim9nmqetd2vkoorafv5 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'
20240724@195656.9780 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404936 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240724@195657.5000 06ouobbim9nmqetd2vkoorafv5 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'
20240724@195657.7100 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404936 and bi.ref ='324.1824.00.1' and bi.lordem =2
20240724@195657.3540 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20240724@195657.4650 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404936 and bi.ref ='324.681.00.01' and bi.lordem =3
20240724@195657.7330 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240724@195657.7550 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404936 and bi.ref ='324.682.00.01' and bi.lordem =4
20240724@195657.1091 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20240724@195657.1200 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404936 and bi.ref ='324.938.00.01' and bi.lordem =5
20240724@195657.1467 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.1470 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195657.1782 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.2226 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195657.2720 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.2724 06ouobbim9nmqetd2vkoorafv5 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')
20240724@195657.2754 06ouobbim9nmqetd2vkoorafv5 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
20240724@195657.2794 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.2797 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 ~inactivo valor from cl where no = '102212' and estab = 0 order by inactivo desc
20240724@195657.2913 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.2916 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195657.2947 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.2950 06ouobbim9nmqetd2vkoorafv5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195657.2991 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.2994 06ouobbim9nmqetd2vkoorafv5 Query : select szadrsstamp valor from szadrs where szadrsdesc='tomarel-soc.tecnica electricidade, lda.'
20240724@195657.3042 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.3046 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from td where ndoc = 39
20240724@195657.3062 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195657.3080 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.3100 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195657.3125 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.3142 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195657.3173 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.3189 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195657.3203 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195657.3278 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195657.3292 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.3310 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195657.3326 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195657.3476 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.3492 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195657.3525 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195657.3537 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195657.3549 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195657.3562 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195657.3575 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195657.3586 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195657.3598 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a146253766a14e794e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195657.3799 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195657.3814 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.3831 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195657.3855 06ouobbim9nmqetd2vkoorafv5 Query : select 'normal' from dummy
20240724@195657.3872 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a146253766a14e794e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18,102212,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195657.4123 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.4127 06ouobbim9nmqetd2vkoorafv5 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240724@195657.4150 06ouobbim9nmqetd2vkoorafv5 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'
20240724@195657.4262 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.4279 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.4307 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.4322 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.4330 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.4342 06ouobbim9nmqetd2vkoorafv5 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301210200a'
20240724@195657.4357 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.4371 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.4384 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a146031566a14e796a','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.4388 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.4403 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.4432 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a146031566a14e796a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195657.4663 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.4680 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.4707 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.4722 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.4731 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.4745 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.4761 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.4773 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148457566a14e7973','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.4778 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.4793 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.4823 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148457566a14e7973',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,20000,?,?,?)
20240724@195657.5044 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.5047 06ouobbim9nmqetd2vkoorafv5 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240724@195657.5067 06ouobbim9nmqetd2vkoorafv5 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'
20240724@195657.5081 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.5097 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.5124 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.5140 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.5148 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.5162 06ouobbim9nmqetd2vkoorafv5 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301210200a'
20240724@195657.5175 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.5190 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.5202 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a140849166a14e797e','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.5206 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.5220 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.5253 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a140849166a14e797e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240724@195657.5493 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.5512 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.5555 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.5589 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.5613 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.5766 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.5901 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.5915 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145357166a14e798c','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.5919 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.5937 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.5968 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a145357166a14e798c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,50000,?,?,?)
20240724@195657.6345 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.6349 06ouobbim9nmqetd2vkoorafv5 Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20240724@195657.6372 06ouobbim9nmqetd2vkoorafv5 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.681.00.01'
20240724@195657.6639 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.6657 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.6686 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.6701 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.6710 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.6722 06ouobbim9nmqetd2vkoorafv5 Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400058200a'
20240724@195657.6737 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.6752 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.6764 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a141782766a14e79a4','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.6768 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.6783 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.6811 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a141782766a14e79a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240724@195657.7048 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7067 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.7094 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7108 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.7117 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.7129 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7143 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.7154 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143018066a14e79ae','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.7158 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7172 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.7200 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a143018066a14e79ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,80000,?,?,?)
20240724@195657.7413 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.7417 06ouobbim9nmqetd2vkoorafv5 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240724@195657.7439 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240724@195657.7454 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7472 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.7500 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7516 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.7525 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.7537 06ouobbim9nmqetd2vkoorafv5 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2301244100a'
20240724@195657.7550 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7565 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.7577 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a142522366a14e79b8','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.7582 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7597 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.7632 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a142522366a14e79b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240724@195657.7868 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7885 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.7913 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7929 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.7938 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.7951 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7967 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.7980 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147999666a14e79c2','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.7984 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.7998 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.8030 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a147999666a14e79c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,110000,?,?,?)
20240724@195657.8245 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.8248 06ouobbim9nmqetd2vkoorafv5 Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20240724@195657.8269 06ouobbim9nmqetd2vkoorafv5 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.938.00.01'
20240724@195657.8377 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.8394 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.8420 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.8518 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.8526 06ouobbim9nmqetd2vkoorafv5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195657.8540 06ouobbim9nmqetd2vkoorafv5 Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20240724@195657.8555 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.8570 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195657.8581 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148612166a14e79d0','aut66a146253766a14e794e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195657.8585 06ouobbim9nmqetd2vkoorafv5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195657.8599 06ouobbim9nmqetd2vkoorafv5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195657.8627 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a148612166a14e79d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66a146253766a14e794e' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240724@195657.8850 06ouobbim9nmqetd2vkoorafv5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a146253766a14e794e','2404936','wait',39,'adm09112754980.682000002')
20240724@195657.8929 06ouobbim9nmqetd2vkoorafv5 Query : use flama_phc
20240724@195657.8932 06ouobbim9nmqetd2vkoorafv5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195657.8969 06ouobbim9nmqetd2vkoorafv5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1161';
20240724@195657.8999 06ouobbim9nmqetd2vkoorafv5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1161';
20240724@195657.9038 06ouobbim9nmqetd2vkoorafv5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1161';
20240724@195657.9061 06ouobbim9nmqetd2vkoorafv5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1161';
20240724@195657.9574 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195657.9586 kbvc7jd7l0c48cbi61l39g5k3q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195657.9634 kbvc7jd7l0c48cbi61l39g5k3q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1162';
20240724@195657.9693 kbvc7jd7l0c48cbi61l39g5k3q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1162';
20240724@195657.9751 kbvc7jd7l0c48cbi61l39g5k3q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1162';
20240724@195657.9775 kbvc7jd7l0c48cbi61l39g5k3q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1162';
20240724@195657.9825 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195657.9828 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195657.9896 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195657.9899 kbvc7jd7l0c48cbi61l39g5k3q Query : select no, estab,szadrsdesc from szadrs where u_coddest=737
20240724@195657.9974 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4020.00.1'
20240724@195658.7900 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404943 and bi.ref ='304.4020.00.1' and bi.lordem =1
20240724@195658.3500 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240724@195658.3720 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404943 and bi.ref ='324.1608.00.1' and bi.lordem =2
20240724@195658.6510 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240724@195658.7620 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404943 and bi.ref ='324.5342.00.1' and bi.lordem =3
20240724@195658.1025 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20240724@195658.1127 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404943 and bi.ref ='324.1685.00.1' and bi.lordem =5
20240724@195658.1382 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240724@195658.1481 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404943 and bi.ref ='324.1834.00.1' and bi.lordem =6
20240724@195658.1774 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240724@195658.1882 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404943 and bi.ref ='326.595.00.01' and bi.lordem =7
20240724@195658.2146 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.2149 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195658.2183 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.2187 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195658.2218 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.2221 kbvc7jd7l0c48cbi61l39g5k3q 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')
20240724@195658.2251 kbvc7jd7l0c48cbi61l39g5k3q 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
20240724@195658.2290 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.2293 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 ~inactivo valor from cl where no = '101249' and estab = 0 order by inactivo desc
20240724@195658.2391 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.2394 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195658.2424 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.2426 kbvc7jd7l0c48cbi61l39g5k3q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195658.2474 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.2477 kbvc7jd7l0c48cbi61l39g5k3q Query : select szadrsstamp valor from szadrs where szadrsdesc='somusica-comercio de som, lda.'
20240724@195658.2525 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.2528 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from td where ndoc = 39
20240724@195658.2541 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195658.2554 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.2574 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195658.2593 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.2608 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195658.3794 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.3811 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195658.3823 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195658.3895 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195658.3907 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.3921 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195658.3936 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195658.4086 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.4103 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195658.4134 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240724@195658.4146 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240724@195658.4157 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240724@195658.4168 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240724@195658.4179 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240724@195658.4190 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240724@195658.4200 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a140287566a14e7a5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240724@195658.4406 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 fno valor from wsftdata order by fno desc
20240724@195658.4423 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.4439 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195658.4461 kbvc7jd7l0c48cbi61l39g5k3q Query : select 'normal' from dummy
20240724@195658.4476 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a140287566a14e7a5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',19,101249,0,'2024-07-24',39,'euro',0,0,2024 ,?,?)
20240724@195658.4733 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.4736 kbvc7jd7l0c48cbi61l39g5k3q Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20240724@195658.4758 kbvc7jd7l0c48cbi61l39g5k3q 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.4020.00.1'
20240724@195658.4864 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.4879 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.4904 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.4918 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.4927 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195658.4939 kbvc7jd7l0c48cbi61l39g5k3q Query : select sestamp valor from se where ref ='304.4020.00.1' and lote = '240409'
20240724@195658.4972 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.4987 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.4998 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144074566a14e7a79','aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195658.5002 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.5016 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.5043 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a144074566a14e7a79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a140287566a14e7a5d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240724@195658.5318 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.5321 kbvc7jd7l0c48cbi61l39g5k3q Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240724@195658.5342 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20240724@195658.5355 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.5376 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.5402 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.5424 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.5433 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195658.5445 kbvc7jd7l0c48cbi61l39g5k3q Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2200658200a'
20240724@195658.5458 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.5481 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.5495 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145787666a14e7a85','aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195658.5500 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.5517 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.5546 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a145787666a14e7a85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66a140287566a14e7a5d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240724@195658.5763 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.5766 kbvc7jd7l0c48cbi61l39g5k3q Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20240724@195658.5787 kbvc7jd7l0c48cbi61l39g5k3q 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.5342.00.1'
20240724@195658.5895 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.5912 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.5940 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.5955 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.5964 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195658.5976 kbvc7jd7l0c48cbi61l39g5k3q Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20240724@195658.5997 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6013 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.6025 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148827666a14e7a92','aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195658.6030 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6044 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.6073 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a148827666a14e7a92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66a140287566a14e7a5d' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240724@195658.6321 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6341 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.6370 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6387 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.6397 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195658.6413 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6432 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.6445 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a144432666a14e7a9c','aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195658.6450 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6479 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.6516 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a144432666a14e7a9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a140287566a14e7a5d' ,0,0 ,2,23.00,40000,?,?,?)
20240724@195658.6750 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.6754 kbvc7jd7l0c48cbi61l39g5k3q Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20240724@195658.6775 kbvc7jd7l0c48cbi61l39g5k3q 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.1685.00.1'
20240724@195658.6884 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6900 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.6926 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6941 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.6950 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195658.6962 kbvc7jd7l0c48cbi61l39g5k3q Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2100529200a'
20240724@195658.6985 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.6999 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.7011 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a145376866a14e7aaa','aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195658.7015 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.7030 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.7064 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a145376866a14e7aaa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a140287566a14e7a5d' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240724@195658.7300 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.7303 kbvc7jd7l0c48cbi61l39g5k3q Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240724@195658.7324 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20240724@195658.7430 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.7447 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.7477 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.7492 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.7506 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195658.7520 kbvc7jd7l0c48cbi61l39g5k3q Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240724@195658.7535 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.7549 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.7560 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a147921866a14e7ab7','aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195658.7564 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.7580 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.7610 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a147921866a14e7ab7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a140287566a14e7a5d' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240724@195658.7831 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.7845 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.7871 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.7887 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.7895 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195658.7909 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.7923 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.8023 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a148115666a14e7ac1','aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195658.8117 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.8295 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.8324 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a148115666a14e7ac1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a140287566a14e7a5d' ,0,0 ,2,23.00,80000,?,?,?)
20240724@195658.8587 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.8590 kbvc7jd7l0c48cbi61l39g5k3q Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20240724@195658.8610 kbvc7jd7l0c48cbi61l39g5k3q 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 = '326.595.00.01'
20240724@195658.8726 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.8742 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.8767 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.8781 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.8791 kbvc7jd7l0c48cbi61l39g5k3q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195658.8802 kbvc7jd7l0c48cbi61l39g5k3q Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r2301243100a'
20240724@195658.8816 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.8830 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240724@195658.8841 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a149094666a14e7ad7','aut66a140287566a14e7a5d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240724@195658.8845 kbvc7jd7l0c48cbi61l39g5k3q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195658.8859 kbvc7jd7l0c48cbi61l39g5k3q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240724@195658.8886 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a149094666a14e7ad7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a140287566a14e7a5d' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240724@195658.9113 kbvc7jd7l0c48cbi61l39g5k3q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a140287566a14e7a5d','2404943','wait',39,'adm09112754980.682000002')
20240724@195658.9186 kbvc7jd7l0c48cbi61l39g5k3q Query : use flama_phc
20240724@195658.9189 kbvc7jd7l0c48cbi61l39g5k3q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195658.9223 kbvc7jd7l0c48cbi61l39g5k3q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1162';
20240724@195658.9251 kbvc7jd7l0c48cbi61l39g5k3q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1162';
20240724@195659.4600 kbvc7jd7l0c48cbi61l39g5k3q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1162';
20240724@195659.5020 kbvc7jd7l0c48cbi61l39g5k3q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1162';
20240724@195659.1035 1cgmoc36k63hsmtn6qai32ac9v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195659.1046 1cgmoc36k63hsmtn6qai32ac9v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195659.1100 1cgmoc36k63hsmtn6qai32ac9v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1163';
20240724@195659.1155 1cgmoc36k63hsmtn6qai32ac9v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1163';
20240724@195659.1202 1cgmoc36k63hsmtn6qai32ac9v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1163';
20240724@195659.1226 1cgmoc36k63hsmtn6qai32ac9v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1163';
20240724@195659.1271 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.1274 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195659.1337 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.1340 1cgmoc36k63hsmtn6qai32ac9v Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20240724@195659.1414 1cgmoc36k63hsmtn6qai32ac9v 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'
20240724@195659.1522 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404946 and bi.ref ='324.4960.00.1' and bi.lordem =1
20240724@195659.1782 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.1785 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240724@195659.1819 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.1822 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 1 valor from td where td.ndoc = 39
20240724@195659.1853 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.1855 1cgmoc36k63hsmtn6qai32ac9v 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')
20240724@195659.1886 1cgmoc36k63hsmtn6qai32ac9v 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
20240724@195659.1921 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.1924 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20240724@195659.2016 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.2019 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240724@195659.2083 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.2125 1cgmoc36k63hsmtn6qai32ac9v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195659.2202 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.2205 1cgmoc36k63hsmtn6qai32ac9v Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20240724@195659.2251 1cgmoc36k63hsmtn6qai32ac9v Query : use flama_phc
20240724@195659.2253 1cgmoc36k63hsmtn6qai32ac9v Query : select 1 valor from td where ndoc = 39
20240724@195659.2267 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240724@195659.2283 1cgmoc36k63hsmtn6qai32ac9v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195659.2303 1cgmoc36k63hsmtn6qai32ac9v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240724@195659.2325 1cgmoc36k63hsmtn6qai32ac9v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195659.2342 1cgmoc36k63hsmtn6qai32ac9v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195659.2376 1cgmoc36k63hsmtn6qai32ac9v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195659.2393 1cgmoc36k63hsmtn6qai32ac9v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195659.2409 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195659.2501 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240724@195659.2519 1cgmoc36k63hsmtn6qai32ac9v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195659.2536 1cgmoc36k63hsmtn6qai32ac9v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240724@195659.2562 1cgmoc36k63hsmtn6qai32ac9v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a141691766a14e7b3a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240724@195659.2715 1cgmoc36k63hsmtn6qai32ac9v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195659.2735 1cgmoc36k63hsmtn6qai32ac9v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240724@195659.2776 1cgmoc36k63hsmtn6qai32ac9v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
